From 803cf3d8ae4e1a32189068fe44fc06ad7b93a0f5 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 26 Nov 2020 18:48:05 +0000 Subject: [PATCH] benchmarks/clpeak: update to 1.1.0 Changes: https://github.com/krrishnarraj/clpeak/compare/1.1.0-rc2...1.1.0 PR: 250562 Approved by: jmd (maintainer) --- benchmarks/clpeak/Makefile | 11 ++++++++++- benchmarks/clpeak/distinfo | 8 +++++--- 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