pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
openblas: Add version.mk for consistency with Netlib packages
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By: outpaddling
Date: Sun Jul 19 17:05:04 2020 -0500
Changeset: 910214f5b532538a7023b42421eccc5d69e0cf28
Modified Files:
openblas/Makefile.common
Added Files:
openblas/version.mk
Log Message:
openblas: Add version.mk for consistency with Netlib packages
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=910214f5b532538a7023b42421eccc5d69e0cf28
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
openblas/Makefile.common | 10 ++++++----
openblas/version.mk | 3 +++
2 files changed, 9 insertions(+), 4 deletions(-)
diffs:
diff --git a/openblas/Makefile.common b/openblas/Makefile.common
index b5e100e5e6..a71b888989 100644
--- a/openblas/Makefile.common
+++ b/openblas/Makefile.common
@@ -8,11 +8,11 @@
# OPENBLAS_VARIANT = (openblas|openblas_pthread|openblas_openmp)
# being set.
-DISTNAME= OpenBLAS-0.3.7
-PKGNAME= ${OPENBLAS_VARIANT}-0.3.7
+DISTNAME= OpenBLAS-${OPENBLAS_VERSION}
+PKGNAME= ${OPENBLAS_VARIANT}-${OPENBLAS_VERSION}
# ThOr: I do not like that. Can we rather rename the benchmark files
# to be unique?
-DIST_SUBDIR= openblas-0.3.7
+DIST_SUBDIR= openblas-${OPENBLAS_VERSION}
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GITHUB:=xianyi/} \
http://www.netlib.org/lapack/timing/
@@ -20,7 +20,7 @@ DISTFILES= ${DISTNAME}.tar.gz ${LARGE_FILE} ${TIMING_FILE}
LARGE_FILE= large.tgz
TIMING_FILE= timing.tgz
GITHUB_PROJECT= OpenBLAS
-GITHUB_TAG= v0.3.7
+GITHUB_TAG= v${OPENBLAS_VERSION}
DISTINFO_FILE= ${.CURDIR}/../../wip/openblas/distinfo
PATCHDIR= ${.CURDIR}/../../wip/openblas/patches
@@ -137,4 +137,6 @@ benchmark: build
(cd ${WRKSRC}/benchmark && ${SETENV} ${MAKE_ENV} \
${BENCHMARK_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})
+.include "../../wip/openblas/version.mk"
+
.include "options.mk"
diff --git a/openblas/version.mk b/openblas/version.mk
new file mode 100644
index 0000000000..cf6c83b1af
--- /dev/null
+++ b/openblas/version.mk
@@ -0,0 +1,3 @@
+# $NetBSD$
+
+OPENBLAS_VERSION= 0.3.7
Home |
Main Index |
Thread Index |
Old Index