[SciPy-user] blas/lapack issue on a freebsd box...

fred fredmfp at gmail.com
Wed Dec 6 13:39:34 CST 2006


Robert Kern wrote:

[snip]

> Says who? (It's possibly true, I don't know, but I'd like to know where you are
> getting this information from.)
>   
Who ? FreeBSD scipy port maintainer I guess.

 From scipy's Makefile:
PORTNAME=       scipy
PORTVERSION=    0.5.1
CATEGORIES=     science python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=     scipy
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER=     db at db.net
COMMENT=        Scientific tools for Python

BUILD_DEPENDS=  
${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \
                ${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft
LIB_DEPENDS=    fftw.2:${PORTSDIR}/math/fftw

LATEST_LINK=    py-${PORTNAME}
OPTIONSFILE=    ${PORT_DBDIR}/py-numpy/options

USE_PYTHON=     2.3+
USE_PYDISTUTILS=        yes
USE_WX=         2.4-2.6
WX_COMPS=       python:build python:run
OPTIONS=        ATLAS "Use optimized blas library" OFF

post-patch:
        @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
                -e "s at malloc\.h at stdlib.h@"

.include <bsd.port.pre.mk>

.if defined(WITH_ATLAS)
LIB_DEPENDS+=   atlas.1:${PORTSDIR}/math/atlas
.if !exists(${LOCALBASE}/lib/libalapack.a)
IGNORE=         Atlas needs to be built with WITH_STATICLIB for scipy to 
function properly
.endif
.else
LIB_DEPENDS+=   lapack.3:${PORTSDIR}/math/lapack \
                blas.1:${PORTSDIR}/math/blas
.endif

I don't know why...

Cheers,

-- 
http://scipy.org/FredericPetit



More information about the SciPy-user mailing list