mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Now we can choose between OpenBLAS and reference BLAS.
This commit is contained in:
parent
f71fab24c0
commit
a76762b827
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381251
1 changed files with 11 additions and 7 deletions
|
@ -39,9 +39,19 @@ USE_GL= glut
|
||||||
BROWSER?= firefox
|
BROWSER?= firefox
|
||||||
PSVIEWER?= gv
|
PSVIEWER?= gv
|
||||||
|
|
||||||
OPTIONS_DEFINE= ATLAS METIS METIS_EDF DOCS EXAMPLES
|
OPTIONS_DEFINE= METIS METIS_EDF DOCS EXAMPLES
|
||||||
OPTIONS_DEFAULT=METIS
|
OPTIONS_DEFAULT=METIS
|
||||||
|
|
||||||
|
OPTIONS_RADIO= BLAS
|
||||||
|
OPTIONS_RADIO_BLAS= REFERENCE OBLAS
|
||||||
|
OPTIONS_DEFAULT= REFERENCE
|
||||||
|
|
||||||
|
REFERENCE_DESC= Blas / Lapack
|
||||||
|
REFERENCE_USES= blaslapack:netlib
|
||||||
|
|
||||||
|
OBLAS_DESC= Openblas
|
||||||
|
OBLAS_USES= blaslapack:openblas
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||||
|
@ -61,12 +71,6 @@ LIB_DEPENDS+= libmetis.so:${PORTSDIR}/math/metis4
|
||||||
LIB_DEPENDS+= libmetis.so:${PORTSDIR}/math/metis-edf
|
LIB_DEPENDS+= libmetis.so:${PORTSDIR}/math/metis-edf
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MATLAS}
|
|
||||||
USES+= blaslapack:atlas
|
|
||||||
.else
|
|
||||||
USES+= blaslapack
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${ARCH} == "sparc64"
|
.if ${ARCH} == "sparc64"
|
||||||
CFLAGS+= -fPIC
|
CFLAGS+= -fPIC
|
||||||
FFLAGS+= -fPIC
|
FFLAGS+= -fPIC
|
||||||
|
|
Loading…
Add table
Reference in a new issue