Hi here is some tips again

* Linking blas/lapack or atlas
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS=     yes
.endif
.if defined(WITH_ATLAS)
LIB_DEPENDS+=   atlas.2:${PORTSDIR}/math/atlas
BLAS=           -lf77blas -latlas
LAPACK=         -lalapack
.else
LIB_DEPENDS+=   blas.2:${PORTSDIR}/math/blas
LIB_DEPENDS+=   lapack.4:${PORTSDIR}/math/lapack
BLAS_LIBS=      -lblas
LAPACK=         -lalapack
.endif

atlas build is very fragile and CPU/platform dependent. and
pointyhat doesn't build usually and I think atlas from packagecluster
can also be unusbale or low performance
for some cases (if you have 4 CPU and if package cluster have 2 CPU)  
using LAPACK/BLAS is good for package building for casual users.

thanks,
-- NAKATA, Maho ([EMAIL PROTECTED])

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to