svn commit: r523819 - head/math/hmat-oss

Jan Beich jbeich at FreeBSD.org
Wed Jan 22 16:58:38 UTC 2020


Author: jbeich
Date: Wed Jan 22 16:58:38 2020
New Revision: 523819
URL: https://svnweb.freebsd.org/changeset/ports/523819

Log:
  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

Modified:
  head/math/hmat-oss/Makefile   (contents, props changed)

Modified: head/math/hmat-oss/Makefile
==============================================================================
--- head/math/hmat-oss/Makefile	Wed Jan 22 16:50:05 2020	(r523818)
+++ head/math/hmat-oss/Makefile	Wed Jan 22 16:58:38 2020	(r523819)
@@ -2,8 +2,8 @@
 
 PORTNAME=	hmat-oss
 DISTVERSION=	1.5.0-348
-PORTREVISION=	3
 DISTVERSIONSUFFIX=	-g76beaf3
+PORTREVISION=	4
 CATEGORIES=	math
 
 MAINTAINER=	yuri at FreeBSD.org
@@ -21,9 +21,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} && \


More information about the svn-ports-all mailing list