Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2020 14:03:05 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528348 - head/benchmarks/clpeak
Message-ID:  <202003131403.02DE35XH023859@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Mar 13 14:03:05 2020
New Revision: 528348
URL: https://svnweb.freebsd.org/changeset/ports/528348

Log:
  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

Modified:
  head/benchmarks/clpeak/Makefile   (contents, props changed)
  head/benchmarks/clpeak/distinfo   (contents, props changed)
  head/benchmarks/clpeak/pkg-descr   (contents, props changed)

Modified: head/benchmarks/clpeak/Makefile
==============================================================================
--- head/benchmarks/clpeak/Makefile	Fri Mar 13 12:32:48 2020	(r528347)
+++ head/benchmarks/clpeak/Makefile	Fri Mar 13 14:03:05 2020	(r528348)
@@ -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>

Modified: head/benchmarks/clpeak/distinfo
==============================================================================
--- head/benchmarks/clpeak/distinfo	Fri Mar 13 12:32:48 2020	(r528347)
+++ head/benchmarks/clpeak/distinfo	Fri Mar 13 14:03:05 2020	(r528348)
@@ -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

Modified: head/benchmarks/clpeak/pkg-descr
==============================================================================
--- head/benchmarks/clpeak/pkg-descr	Fri Mar 13 12:32:48 2020	(r528347)
+++ head/benchmarks/clpeak/pkg-descr	Fri Mar 13 14:03:05 2020	(r528348)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003131403.02DE35XH023859>