summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-03-13 14:03:05 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-03-13 14:03:05 +0000
commit2d88e41043c71c8d5b89721480dc3c66fb43bf57 (patch)
treec91785414045786b03cd190646516c073080332b /benchmarks
parentmath/wxmaxima: Update to git commit 68fead0 (diff)
benchmarks/clpeak: update to 1.1.0.r2
- Switch to vendor install - Drop unused RUN_DEPENDS - Allow on more architectures Changes: https://github.com/krrishnarraj/clpeak/compare/75c8746...1.1.0-rc2 Approved by: maintainer timeout (2 weeks) Differential Revision: https://reviews.freebsd.org/D23821
Notes
Notes: svn path=/head/; revision=528348
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/clpeak/Makefile17
-rw-r--r--benchmarks/clpeak/distinfo6
-rw-r--r--benchmarks/clpeak/pkg-descr4
3 files changed, 7 insertions, 20 deletions
diff --git a/benchmarks/clpeak/Makefile b/benchmarks/clpeak/Makefile
index 5787f84d1014..391ee4335f21 100644
--- a/benchmarks/clpeak/Makefile
+++ b/benchmarks/clpeak/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= clpeak
-PORTVERSION= 1.0g20170524
+DISTVERSION= 1.1.0-rc2
CATEGORIES= benchmarks
MAINTAINER= jmd@FreeBSD.org
@@ -13,23 +13,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= opencl>=0:devel/opencl
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
-RUN_DEPENDS= opencl>=0:devel/opencl
-
-ONLY_FOR_ARCHS= amd64
+USES= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= krrishnarraj
-GH_TAGNAME= 75c8746
-
USE_LDCONFIG= yes
-USES= cmake:insource gl
-USE_GL= gl
-
-CXXFLAGS+= -std=c++11
-
PLIST_FILES= bin/clpeak
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/clpeak ${STAGEDIR}${PREFIX}/bin/clpeak
+post-patch:
+ @${REINPLACE_CMD} '/install.*LICENSE/d' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
diff --git a/benchmarks/clpeak/distinfo b/benchmarks/clpeak/distinfo
index 8e0155a935fa..5fd9f6834113 100644
--- a/benchmarks/clpeak/distinfo
+++ b/benchmarks/clpeak/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1495689208
-SHA256 (krrishnarraj-clpeak-1.0g20170524-75c8746_GH0.tar.gz) = 1e393a04df56777d00baf5e954fca3224fbd2c010580db3e6f28a7182bee05c5
-SIZE (krrishnarraj-clpeak-1.0g20170524-75c8746_GH0.tar.gz) = 201266
+TIMESTAMP = 1571560405
+SHA256 (krrishnarraj-clpeak-1.1.0-rc2_GH0.tar.gz) = 0f7ab16ab95280850a834dcb0f38510d30b79317273a7e4b428cac680915c087
+SIZE (krrishnarraj-clpeak-1.1.0-rc2_GH0.tar.gz) = 288451
diff --git a/benchmarks/clpeak/pkg-descr b/benchmarks/clpeak/pkg-descr
index 0dc6bfc7706e..f981281eddc3 100644
--- a/benchmarks/clpeak/pkg-descr
+++ b/benchmarks/clpeak/pkg-descr
@@ -1,7 +1,3 @@
-clpeak
-
-a synthetic benchmarking tool to measure peak capabilities of opencl devices
-
A synthetic benchmarking tool to measure peak capabilities of opencl devices.
It only measures the peak metrics that can be achieved using vector operations
and does not represent a real-world use case