mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
Mk/Uses/blaslapack.mk: introduce math/openblas64
This commit is contained in:
parent
f1fc728ac5
commit
81db4d3731
1 changed files with 8 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
# Feature: blaslapack
|
# Feature: blaslapack
|
||||||
# Usage: USES=blaslapack or USES=blaslapack:ARGS
|
# Usage: USES=blaslapack or USES=blaslapack:ARGS
|
||||||
# Valid ARGS: atlas blis flexiblas netlib (default) openblas
|
# Valid ARGS: atlas blis flexiblas netlib (default) openblas openblas64
|
||||||
#
|
#
|
||||||
# Provides: BLASLIB and LAPACKLIB
|
# Provides: BLASLIB and LAPACKLIB
|
||||||
#
|
#
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
.if !defined(_INCLUDE_USES_BLASLAPACK_MK)
|
.if !defined(_INCLUDE_USES_BLASLAPACK_MK)
|
||||||
_INCLUDE_USES_BLASLAPACK_MK= yes
|
_INCLUDE_USES_BLASLAPACK_MK= yes
|
||||||
|
|
||||||
_valid_ARGS= atlas blis flexiblas netlib openblas
|
_valid_ARGS= atlas blis flexiblas netlib openblas openblas64
|
||||||
|
|
||||||
_DEFAULT_BLASLAPACK= netlib
|
_DEFAULT_BLASLAPACK= netlib
|
||||||
|
|
||||||
|
@ -51,6 +51,12 @@ LIB_DEPENDS+= libopenblas.so:math/openblas
|
||||||
_BLASLIB= openblas
|
_BLASLIB= openblas
|
||||||
LAPACKLIB= -lopenblas
|
LAPACKLIB= -lopenblas
|
||||||
BLA_VENDOR= OpenBLAS
|
BLA_VENDOR= OpenBLAS
|
||||||
|
. elif ${blaslapack_ARGS} == openblas64
|
||||||
|
LIB_DEPENDS+= libopenblas_64.so:math/openblas64
|
||||||
|
_BLASLIB= openblas_64
|
||||||
|
LAPACKLIB= -lopenblas_64
|
||||||
|
BLA_VENDOR= OpenBLAS
|
||||||
|
CFLAGS+= -I${LOCALBASE}/include/openblas64
|
||||||
. else
|
. else
|
||||||
IGNORE= USES=blaslapack: invalid arguments: ${blaslapack_ARGS}
|
IGNORE= USES=blaslapack: invalid arguments: ${blaslapack_ARGS}
|
||||||
. endif
|
. endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue