aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-01-22 16:58:38 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-01-22 16:58:38 +0000
commit8e0f512a1ae5ec67f66c0176a0c6b81684a26218 (patch)
tree10a02b8bc7f16aedb26007d421ba62c6fb20fda8
parent9009b06bf60ed0e8029c8b3e57ea5baf086ca085 (diff)
downloadports-8e0f512a1ae5ec67f66c0176a0c6b81684a26218.tar.gz
ports-8e0f512a1ae5ec67f66c0176a0c6b81684a26218.zip
math/hmat-oss: disable BLAS multi-threading after r523749
Previously, openblas_set_num_threads wasn't available but libopenblas.so was single-threaded. PR: 231371
Notes
Notes: svn path=/head/; revision=523819
-rw-r--r--math/hmat-oss/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/math/hmat-oss/Makefile b/math/hmat-oss/Makefile
index 35d86b0cc0a5..677361a2a1a0 100644
--- a/math/hmat-oss/Makefile
+++ b/math/hmat-oss/Makefile
@@ -2,8 +2,8 @@
PORTNAME= hmat-oss
DISTVERSION= 1.5.0-348
-PORTREVISION= 3
DISTVERSIONSUFFIX= -g76beaf3
+PORTREVISION= 4
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@@ -22,9 +22,6 @@ USE_LDCONFIG= yes
CMAKE_ARGS= -DBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \
-DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so
-post-configure: # fix the error in math/openturns: /usr/local/lib/libhmat-oss.so.1: undefined reference to `openblas_set_num_threads(int)'
- @${REINPLACE_CMD} "s|#define OPENBLAS_DISABLE_THREADS|\/\/&|" ${BUILD_WRKSRC}/config.h # OPENBLAS_DISABLE_THREADS enables openblas_set_num_threads(int) here
-
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_EXAMPLES:BOOL=ON ${CMAKE_SOURCE_PATH} && \