aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2015-04-26 17:41:30 +0800
committerdemon <demon@FreeBSD.org>2015-04-26 17:41:30 +0800
commitf5c052a131b3ff50df249a84f9804ae1edfcb6c3 (patch)
tree4d8fee4d48d2b6a78db6638dc917930c3667bdde /math
parentf08e0ccc73bc891dab88adffd5bc245c1ac30d00 (diff)
downloadfreebsd-ports-gnome-f5c052a131b3ff50df249a84f9804ae1edfcb6c3.tar.gz
freebsd-ports-gnome-f5c052a131b3ff50df249a84f9804ae1edfcb6c3.tar.zst
freebsd-ports-gnome-f5c052a131b3ff50df249a84f9804ae1edfcb6c3.zip
Update to version 0.2.14
PR: 199124 Submitted by: dieterich.joh@gmail.com Reviewed by: maintainer Also remove deprecated GH_COMMIT.
Diffstat (limited to 'math')
-rw-r--r--math/openblas/Makefile12
-rw-r--r--math/openblas/distinfo4
2 files changed, 8 insertions, 8 deletions
diff --git a/math/openblas/Makefile b/math/openblas/Makefile
index 542baeacf602..e8dce7dd76ea 100644
--- a/math/openblas/Makefile
+++ b/math/openblas/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= openblas
-PORTVERSION= 0.2.13
+PORTVERSION= 0.2.14
PORTEPOCH= 1
CATEGORIES= math
MASTER_SITES= https://codeload.github.com/${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/:${PORTNAME} \
@@ -19,8 +19,7 @@ LICENSE= BSD3CLAUSE
DIST_SUBDIR= openblas
GH_ACCOUNT= xianyi
GH_PROJECT= OpenBLAS
-GH_TAGNAME= ${GH_COMMIT}
-GH_COMMIT= 51ce5ef
+GH_TAGNAME= d0c51c4
LARGE_FILE= large.tgz
TIMING_FILE= timing.tgz
@@ -55,6 +54,7 @@ BUILDFLAGS+= TARGET=${TARGET_CPU_ARCH}
.endif
MAXTHREADS?= 8
+BUILDFLAGS_THREAD+= NUM_THREADS=${MAXTHREADS} USE_THREAD=1
.if ${ARCH:M*64} == ""
BUILDFLAGS+= BINARY32=1
@@ -76,7 +76,7 @@ BUILDFLAGS+= INTERFACE64=1
.if ${PORT_OPTIONS:MOPENMP}
USES+= compiler:openmp
-BUILDFLAGS+= USE_OPENMP=1
+BUILDFLAGS_THREAD+= USE_OPENMP=1
.endif
.if ${PORT_OPTIONS:MQUAD_PRECISION}
@@ -140,8 +140,8 @@ do-build:
${CP} ${WRKSRC}/libopenblas-${OPENBLAS_SUFX}.a ${WRKDIR}/lib/libopenblas.a
${CP} ${WRKSRC}/libopenblas-${OPENBLAS_SUFX}.so ${WRKDIR}/lib/libopenblas.so.${OPENBLAS_SVER}
cd ${WRKSRC} ; ${MAKE_CMD} ${MAKE_ARGS} clean
- cd ${WRKSRC} ; ${SETENV} ${BUILDFLAGS} NUM_THREADS=${MAXTHREADS} \
- USE_THREAD=1 ${MAKE_CMD} ${MAKE_ARGS}
+ cd ${WRKSRC} ; ${SETENV} ${BUILDFLAGS} ${BUILDFLAGS_THREAD} \
+ ${MAKE_CMD} ${MAKE_ARGS}
${CP} ${WRKSRC}/libopenblasp-${OPENBLAS_SUFX}.a ${WRKDIR}/lib/libopenblasp.a
${CP} ${WRKSRC}/libopenblasp-${OPENBLAS_SUFX}.so ${WRKDIR}/lib/libopenblasp.so.${OPENBLAS_SVER}
.if !${PORT_OPTIONS:MDEBUG}
diff --git a/math/openblas/distinfo b/math/openblas/distinfo
index f204ef871e17..2b9f17364605 100644
--- a/math/openblas/distinfo
+++ b/math/openblas/distinfo
@@ -1,5 +1,5 @@
-SHA256 (openblas/openblas-0.2.13.tar.gz) = 909518a34d1b13c3c854153c73f9062c8598436c55a267ae6b4f833c77d8b9f4
-SIZE (openblas/openblas-0.2.13.tar.gz) = 9858159
+SHA256 (openblas/openblas-0.2.14.tar.gz) = 1308ca6a9252e06b38e58abe667ccfd1e12a167822e81076b6b11ca84aa6a632
+SIZE (openblas/openblas-0.2.14.tar.gz) = 9862864
SHA256 (openblas/large.tgz) = f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1
SIZE (openblas/large.tgz) = 2595
SHA256 (openblas/timing.tgz) = 999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af