mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Build fix with gotoblas.
Feature safe: yes.
This commit is contained in:
parent
ec62a2fde2
commit
47d8aef650
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249925
@ -24,7 +24,7 @@ COMMENT= An electronic structure programs for high-accuracy computations
|
||||
|
||||
USE_BLAS?= reference
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libgoto.so)
|
||||
.if exists(${LOCALBASE}/lib/libgoto2.so)
|
||||
USE_BLAS= gotoblas
|
||||
.elif exists(${LOCALBASE}/lib/libatlas_r.so)
|
||||
USE_BLAS= atlas
|
||||
@ -36,10 +36,10 @@ LIB_DEPENDS+= lapack:${PORTSDIR}/math/lapack
|
||||
BLAS= -lblas
|
||||
LAPACK= -llapack
|
||||
.elif ${USE_BLAS} == gotoblas
|
||||
LIB_DEPENDS+= goto:${PORTSDIR}/math/gotoblas
|
||||
LIB_DEPENDS+= goto2:${PORTSDIR}/math/gotoblas
|
||||
LIB_DEPENDS+= lapack:${PORTSDIR}/math/lapack
|
||||
BLAS= -lgotop
|
||||
LAPACK= -lgotop -llapack
|
||||
BLAS= -lgoto2p
|
||||
LAPACK= -lgoto2p
|
||||
.elif ${USE_BLAS} == atlas
|
||||
LIB_DEPENDS+= atlas:${PORTSDIR}/math/atlas
|
||||
BLAS= -lptf77blas -lptcblas -latlas_r
|
||||
|
Loading…
Reference in New Issue
Block a user