aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-11-30 21:07:36 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-11-30 21:07:36 +0000
commit6cf857e70ceb10aa29568370072db2343c4c31ce (patch)
treef47e89f7117253936edce12a5d4874e8c9fab830 /benchmarks
parent85cb4c500169f50f225b24b02483d3329d4e715f (diff)
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/clpeak/Makefile11
-rw-r--r--benchmarks/clpeak/distinfo8
2 files changed, 15 insertions, 4 deletions
diff --git a/benchmarks/clpeak/Makefile b/benchmarks/clpeak/Makefile
index 391ee4335f21..5ebee59f2e0e 100644
--- a/benchmarks/clpeak/Makefile
+++ b/benchmarks/clpeak/Makefile
@@ -2,9 +2,12 @@
# $FreeBSD$
PORTNAME= clpeak
-DISTVERSION= 1.1.0-rc2
+DISTVERSION= 1.1.0
CATEGORIES= benchmarks
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= db42d30028ba.patch:-p1 # https://github.com/krrishnarraj/clpeak/issues/73
+
MAINTAINER= jmd@FreeBSD.org
COMMENT= Benchmarking tool to measure peak capabilities of opencl devices
@@ -20,6 +23,12 @@ GH_ACCOUNT= krrishnarraj
USE_LDCONFIG= yes
PLIST_FILES= bin/clpeak
+.if !empty(PATCHFILES:Mdb42d30028ba*)
+pre-patch:
+ @${REINPLACE_CMD} -e '/GIT_TAG/s/master/opencl21/' \
+ ${WRKSRC}/cmake/BuildCLHpp.cmake
+.endif
+
post-patch:
@${REINPLACE_CMD} '/install.*LICENSE/d' ${WRKSRC}/CMakeLists.txt
diff --git a/benchmarks/clpeak/distinfo b/benchmarks/clpeak/distinfo
index 5fd9f6834113..ab73d4c7c61a 100644
--- a/benchmarks/clpeak/distinfo
+++ b/benchmarks/clpeak/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1571560405
-SHA256 (krrishnarraj-clpeak-1.1.0-rc2_GH0.tar.gz) = 0f7ab16ab95280850a834dcb0f38510d30b79317273a7e4b428cac680915c087
-SIZE (krrishnarraj-clpeak-1.1.0-rc2_GH0.tar.gz) = 288451
+TIMESTAMP = 1585218729
+SHA256 (krrishnarraj-clpeak-1.1.0_GH0.tar.gz) = af74d9fb8f86fcd113b11d34d6f675f67c35d36737eac69ba6688267ed79b7eb
+SIZE (krrishnarraj-clpeak-1.1.0_GH0.tar.gz) = 289613
+SHA256 (db42d30028ba.patch) = 73cedf92396ea67ff8e92bfc45aa389c367243d15129803cf6a65250e04a38d3
+SIZE (db42d30028ba.patch) = 3548