forked from Lainports/freebsd-ports
math/hmat-oss: Update 1.5.0-340 -> 1.5.0-348
This commit is contained in:
parent
4c06ac3060
commit
fb0543e2e6
3 changed files with 9 additions and 20 deletions
|
|
@ -1,9 +1,8 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= hmat-oss
|
||||
DISTVERSION= 1.5.0-340
|
||||
DISTVERSIONSUFFIX= -g700d1fa
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 1.5.0-348
|
||||
DISTVERSIONSUFFIX= -g76beaf3
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
|
@ -16,7 +15,7 @@ LIB_DEPENDS= libcblas.so:math/cblas \
|
|||
libomp.so:devel/openmp \
|
||||
libopenblas.so:math/openblas
|
||||
|
||||
USES= cmake localbase:ldflags
|
||||
USES= cmake
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= jeromerobert
|
||||
USE_LDCONFIG= yes
|
||||
|
|
@ -25,4 +24,7 @@ CMAKE_ARGS= -DBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \
|
|||
-DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \
|
||||
-DCBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libcblas.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
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1556520890
|
||||
SHA256 (jeromerobert-hmat-oss-1.5.0-340-g700d1fa_GH0.tar.gz) = 60a13f3626ddcef46a0d4c8ff750a3ae982b8de2fac0f09a673e029c45c636fc
|
||||
SIZE (jeromerobert-hmat-oss-1.5.0-340-g700d1fa_GH0.tar.gz) = 184636
|
||||
TIMESTAMP = 1559429361
|
||||
SHA256 (jeromerobert-hmat-oss-1.5.0-348-g76beaf3_GH0.tar.gz) = 24088da60df279b9f4185b783038026d962aabcdf5d2e94911b3f38b69a9598b
|
||||
SIZE (jeromerobert-hmat-oss-1.5.0-348-g76beaf3_GH0.tar.gz) = 184640
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
see https://github.com/jeromerobert/hmat-oss/issues/59
|
||||
|
||||
--- src/disable_threading.cpp.orig 2019-04-29 18:50:39 UTC
|
||||
+++ src/disable_threading.cpp
|
||||
@@ -37,6 +37,8 @@ extern "C" {
|
||||
// This function is private in openblas
|
||||
int goto_get_num_procs(void);
|
||||
}
|
||||
+
|
||||
+void openblas_set_num_threads(int n);
|
||||
#endif
|
||||
|
||||
namespace hmat {
|
||||
Loading…
Add table
Reference in a new issue