From owner-svn-ports-all@freebsd.org Sun Nov 25 23:44:31 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6381A1147178; Sun, 25 Nov 2018 23:44:31 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 055427C80C; Sun, 25 Nov 2018 23:44:31 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D4BFE23D22; Sun, 25 Nov 2018 23:44:30 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAPNiUgS063519; Sun, 25 Nov 2018 23:44:30 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAPNiUv1063518; Sun, 25 Nov 2018 23:44:30 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201811252344.wAPNiUv1063518@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 25 Nov 2018 23:44:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485906 - head/math/openblas X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/math/openblas X-SVN-Commit-Revision: 485906 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 055427C80C X-Spamd-Result: default: False [1.75 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_SPAM_SHORT(0.46)[0.464,0]; NEURAL_SPAM_MEDIUM(0.64)[0.638,0]; NEURAL_SPAM_LONG(0.64)[0.643,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2018 23:44:31 -0000 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