svn commit: r414432 - head/math/openblas
Kurt Jaeger
pi at FreeBSD.org
Mon May 2 05:28:04 UTC 2016
Author: pi
Date: Mon May 2 05:28:03 2016
New Revision: 414432
URL: https://svnweb.freebsd.org/changeset/ports/414432
Log:
math/openblas: fix poudriere builds: setting DYNAMIC_ARCH when BULK is defined
PR: 209190
Submitted by: Joseph Mingrone <jrm at ftfl.ca>
Approved by: <phd_kimberlite at yahoo.co.jp> (maintainer)
Modified:
head/math/openblas/Makefile
Modified: head/math/openblas/Makefile
==============================================================================
--- head/math/openblas/Makefile Mon May 2 05:22:58 2016 (r414431)
+++ head/math/openblas/Makefile Mon May 2 05:28:03 2016 (r414432)
@@ -40,7 +40,7 @@ OPENMP_DESC= Use OpenMP for threading
AVX_DESC= Support Advanced Vector Extensions (AVX)
AVX2_DESC= Support Advanced Vector Extensions 2 (AVX2)
-.if defined(PACKAGE_BUILDING)
+.if defined(BATCH) || defined(PACKAGE_BUILDING)
OPTIONS_DEFAULT= DYNAMIC_ARCH
.endif
@@ -76,11 +76,6 @@ USES+= compiler:openmp
BUILDFLAGS_THREAD+= USE_OPENMP=1
.endif
-.if ${PORT_OPTIONS:MQUAD_PRECISION}
-BROKEN= QUAD_PRECISION is broken; please disable this option
-BUILDFLAGS+= QUAD_PRECISION=1
-.endif
-
.if ! ${PORT_OPTIONS:MAVX}
BUILDFLAGS+= NO_AVX=1
.endif
@@ -123,7 +118,7 @@ post-patch:
-e 's+%%FIND%%+${FIND}+' \
-e 's+%%XARGS%%+${XARGS}+' \
-e 's+%%REINPLACE_CMD%%+${REINPLACE_CMD}+' \
- -e 's+$$(CROSS_SUFFIX)+${LOCALBASE}/bin/+' \
+ -e 's+$${CROSS_SUFFIX}+${LOCALBASE}/bin/+' \
${WRKSRC}/Makefile.system
.if ${PORT_OPTIONS:MOPENMP}
${REINPLACE_CMD} -e "s+OPENBLAS_NUM_THREADS+OMP_NUM_THREADS+g" \
More information about the svn-ports-head
mailing list