Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2018 17:28:02 +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: r485947 - head/math/openblas
Message-ID:  <201811261728.wAQHS2uZ012888@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Nov 26 17:28:01 2018
New Revision: 485947
URL: https://svnweb.freebsd.org/changeset/ports/485947

Log:
  math/openblas: Use options FCOMMON_OPT=-frecursive MAKE_NB_JOBS=-1 for non-openmp too
  
  Previously I added these options only to the openmp build which isn't a default.
  This change is requested by the upstream.
  Ref. https://github.com/xianyi/OpenBLAS/issues/1882
  
  Approved by:	portmgr (unbreak)

Modified:
  head/math/openblas/Makefile

Modified: head/math/openblas/Makefile
==============================================================================
--- head/math/openblas/Makefile	Mon Nov 26 17:26:08 2018	(r485946)
+++ head/math/openblas/Makefile	Mon Nov 26 17:28:01 2018	(r485947)
@@ -3,7 +3,7 @@
 
 PORTNAME=	openblas
 PORTVERSION=	0.2.20
-PORTREVISION=	5
+PORTREVISION=	6
 DISTVERSIONPREFIX=	v
 PORTEPOCH=	1
 CATEGORIES=	math
@@ -37,6 +37,8 @@ OPENBLAS_FILES=	${OPENBLAS_LIBS:S|$|.so|} ${OPENBLAS_L
 PLIST_FILES=	${OPENBLAS_FILES:S|^|lib/|}
 TEST_TARGET=	tests
 
+BUILDFLAGS=	FCOMMON_OPT=-frecursive MAKE_NB_JOBS=-1
+
 OPTIONS_DEFINE=		INTERFACE64 OPENMP
 OPTIONS_DEFINE_i386=	DYNAMIC_ARCH AVX AVX2
 OPTIONS_DEFINE_amd64=	${OPTIONS_DEFINE_i386}
@@ -59,7 +61,7 @@ BUILDFLAGS+=	TARGET=${TARGET_CPU_ARCH}
 .endif
 
 MAXTHREADS?=	64
-BUILDFLAGS_THREAD+=	NUM_THREADS=${MAXTHREADS} FCOMMON_OPT=-frecursive MAKE_NB_JOBS=-1 USE_THREAD=1
+BUILDFLAGS_THREAD+=	NUM_THREADS=${MAXTHREADS} 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?201811261728.wAQHS2uZ012888>