Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2018 23:44:30 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485906 - head/math/openblas
Message-ID:  <201811252344.wAPNiUv1063518@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Nov 25 23:44:30 2018
New Revision: 485906
URL: https://svnweb.freebsd.org/changeset/ports/485906

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

Modified:
  head/math/openblas/Makefile

Modified: head/math/openblas/Makefile
==============================================================================
--- head/math/openblas/Makefile	Sun Nov 25 23:41:54 2018	(r485905)
+++ head/math/openblas/Makefile	Sun Nov 25 23:44:30 2018	(r485906)
@@ -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



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