mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
Some options for BLAS are available (though they are hidden by default).
This commit is contained in:
parent
94bcc3f41a
commit
f482f755d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113596
@ -24,9 +24,25 @@ COMMENT= Linear Algebra PACKage in C++, a wrapper for LAPACK
|
||||
LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas
|
||||
|
||||
WRKSRC= ${WRKDIR}/Lapackpp1.1a
|
||||
USE_REINPLACE= yes
|
||||
|
||||
#ATLAS_BLAS
|
||||
#BLAS_LIB= -lf77blas -latlas
|
||||
#LAPACK_LIB= -lalapack -lcblas
|
||||
|
||||
#Vanilla BLAS
|
||||
#BLAS_LIB= -lblas
|
||||
#LAPACK_LIB= -llapack
|
||||
|
||||
#SMP version (KSE required)
|
||||
#BLAS_LIB= -lptf77blas -latlas_r ${PTHREAD_LIBS}
|
||||
#LAPACK_LIB= -lalapack_r -lptcblas ${PTHREAD_LIBS}
|
||||
|
||||
post-patch:
|
||||
@(cd ${WRKSRC} ; ${MV} makefile Makefile)
|
||||
@${REINPLACE_CMD} -e 's+%%BLAS_LIB%%+${BLAS_LIB}+g;' \
|
||||
-e 's+%%LAPACK_LIB%%+${LAPACK_LIB}+g;' \
|
||||
${WRKSRC}/makefile.def
|
||||
|
||||
do-install:
|
||||
.for i in libblas++ liblamatrix++ liblapack++
|
||||
|
@ -29,8 +29,8 @@
|
||||
+#
|
||||
+# FreeBSD
|
||||
+#
|
||||
+BLAS_LIB = -lf77blas -latlas
|
||||
+LAPACK_LIB = -lalapack -lcblas
|
||||
+BLAS_LIB = %%BLAS_LIB%%
|
||||
+LAPACK_LIB = %%LAPACK_LIB%%
|
||||
FLIBS = -lm -lg2c
|
||||
#
|
||||
# Sun
|
||||
|
Loading…
Reference in New Issue
Block a user