Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2020 16:58:38 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523819 - head/math/hmat-oss
Message-ID:  <202001221658.00MGwcA5021836@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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} && \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001221658.00MGwcA5021836>