1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Mk/Uses/blaslapack.mk: introduce math/openblas64

This commit is contained in:
Thierry Thomas 2024-06-08 19:47:28 +02:00
parent f1fc728ac5
commit 81db4d3731

View File

@ -2,7 +2,7 @@
#
# Feature: blaslapack
# 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
#
@ -13,7 +13,7 @@
.if !defined(_INCLUDE_USES_BLASLAPACK_MK)
_INCLUDE_USES_BLASLAPACK_MK= yes
_valid_ARGS= atlas blis flexiblas netlib openblas
_valid_ARGS= atlas blis flexiblas netlib openblas openblas64
_DEFAULT_BLASLAPACK= netlib
@ -51,6 +51,12 @@ LIB_DEPENDS+= libopenblas.so:math/openblas
_BLASLIB= openblas
LAPACKLIB= -lopenblas
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
IGNORE= USES=blaslapack: invalid arguments: ${blaslapack_ARGS}
. endif