math/openblas: Unbreak crashes in gfortran-emitted code due to thread safety issues
This patch is recommended by the upstream: https://github.com/xianyi/OpenBLAS/issues/1882#issuecomment-441472233 Approved by: portmgr (unbreak)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= openblas
|
||||
PORTVERSION= 0.2.20
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= math
|
||||
@@ -59,7 +59,7 @@ BUILDFLAGS+= TARGET=${TARGET_CPU_ARCH}
|
||||
.endif
|
||||
|
||||
MAXTHREADS?= 64
|
||||
BUILDFLAGS_THREAD+= NUM_THREADS=${MAXTHREADS} USE_THREAD=1
|
||||
BUILDFLAGS_THREAD+= NUM_THREADS=${MAXTHREADS} FCOMMON_OPT=-frecursive MAKE_NB_JOBS=-1 USE_THREAD=1
|
||||
|
||||
.if ${ARCH:M*64} == ""
|
||||
BUILDFLAGS+= BINARY32=1
|
||||
|
||||
Reference in New Issue
Block a user