mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -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
|
||||
PSVIEWER?= gv
|
||||
|
||||
OPTIONS_DEFINE= ATLAS METIS METIS_EDF DOCS EXAMPLES
|
||||
OPTIONS_DEFINE= METIS METIS_EDF DOCS EXAMPLES
|
||||
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>
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
|
@ -61,12 +71,6 @@ LIB_DEPENDS+= libmetis.so:${PORTSDIR}/math/metis4
|
|||
LIB_DEPENDS+= libmetis.so:${PORTSDIR}/math/metis-edf
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MATLAS}
|
||||
USES+= blaslapack:atlas
|
||||
.else
|
||||
USES+= blaslapack
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
CFLAGS+= -fPIC
|
||||
FFLAGS+= -fPIC
|
||||
|
|
Loading…
Add table
Reference in a new issue