Changeset View
Changeset View
Standalone View
Standalone View
head/benchmarks/clpeak/Makefile
# Created by: Johannes Dieterich <dieterich@ogolem.org> | # Created by: Johannes Dieterich <dieterich@ogolem.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= clpeak | PORTNAME= clpeak | ||||
PORTVERSION= 1.0g20170524 | DISTVERSION= 1.1.0-rc2 | ||||
CATEGORIES= benchmarks | CATEGORIES= benchmarks | ||||
MAINTAINER= jmd@FreeBSD.org | MAINTAINER= jmd@FreeBSD.org | ||||
COMMENT= Benchmarking tool to measure peak capabilities of opencl devices | COMMENT= Benchmarking tool to measure peak capabilities of opencl devices | ||||
LICENSE= PD | LICENSE= PD | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
BUILD_DEPENDS= opencl>=0:devel/opencl | BUILD_DEPENDS= opencl>=0:devel/opencl | ||||
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd | 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 | USE_GITHUB= yes | ||||
GH_ACCOUNT= krrishnarraj | GH_ACCOUNT= krrishnarraj | ||||
GH_TAGNAME= 75c8746 | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USES= cmake:insource gl | |||||
USE_GL= gl | |||||
CXXFLAGS+= -std=c++11 | |||||
PLIST_FILES= bin/clpeak | PLIST_FILES= bin/clpeak | ||||
do-install: | post-patch: | ||||
${INSTALL_PROGRAM} ${WRKSRC}/clpeak ${STAGEDIR}${PREFIX}/bin/clpeak | @${REINPLACE_CMD} '/install.*LICENSE/d' ${WRKSRC}/CMakeLists.txt | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |