Index: head/benchmarks/Makefile =================================================================== --- head/benchmarks/Makefile (revision 417649) +++ head/benchmarks/Makefile (revision 417650) @@ -1,86 +1,87 @@ # $FreeBSD$ # COMMENT = Benchmarking tools SUBDIR += autobench SUBDIR += blogbench SUBDIR += bonnie SUBDIR += bonnie++ + SUBDIR += clpeak SUBDIR += cpipe SUBDIR += dbench SUBDIR += dbs SUBDIR += dhrystone SUBDIR += dkftpbench SUBDIR += expedite SUBDIR += fhourstones SUBDIR += filebench SUBDIR += fio SUBDIR += flops SUBDIR += flowgrind SUBDIR += forkbomb SUBDIR += gtkperf SUBDIR += himenobench SUBDIR += hpl SUBDIR += hs-criterion SUBDIR += httperf SUBDIR += imb SUBDIR += interbench SUBDIR += iorate SUBDIR += iozone SUBDIR += iozone21 SUBDIR += iperf SUBDIR += iperf3 SUBDIR += libmicro SUBDIR += lmbench SUBDIR += mdtest SUBDIR += nbench SUBDIR += netio SUBDIR += netperf SUBDIR += netperfmeter SUBDIR += netpipe SUBDIR += nosqlbench SUBDIR += nqueens SUBDIR += nttcp SUBDIR += nuttcp SUBDIR += octave-forge-benchmark SUBDIR += p5-Benchmark-Forking SUBDIR += p5-Benchmark-Stopwatch SUBDIR += pathchirp SUBDIR += pathload SUBDIR += pathrate SUBDIR += pear-Benchmark SUBDIR += phoronix-test-suite SUBDIR += pipebench SUBDIR += polygraph SUBDIR += postal SUBDIR += postmark SUBDIR += py-naarad SUBDIR += py-zopkio SUBDIR += pybench SUBDIR += raidtest SUBDIR += ramspeed SUBDIR += randomio SUBDIR += rubygem-benchmark-ips SUBDIR += rubygem-railsbench SUBDIR += scimark2 SUBDIR += scimark2c SUBDIR += siege SUBDIR += sipp SUBDIR += slowloris SUBDIR += smhasher SUBDIR += spp SUBDIR += stream SUBDIR += stress-ng SUBDIR += super-smack SUBDIR += sysbench SUBDIR += tcpblast SUBDIR += thrulay SUBDIR += tsung SUBDIR += ttcp SUBDIR += ubench SUBDIR += unixbench SUBDIR += webbench SUBDIR += wrk .include Index: head/benchmarks/clpeak/Makefile =================================================================== --- head/benchmarks/clpeak/Makefile (nonexistent) +++ head/benchmarks/clpeak/Makefile (revision 417650) @@ -0,0 +1,38 @@ +# Created by: Johannes Dieterich +# $FreeBSD$ + +PORTNAME= clpeak +PORTVERSION= 1.0 +DISTVERSIONPREFIX= v +CATEGORIES= benchmarks + +MAINTAINER= dieterich@ogolem.org +COMMENT= Benchmarking tool to measure peak capabilities of opencl devices + +LICENSE= PD +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= opencl>=0:devel/opencl +LIB_DEPENDS= libOpenCL.so:devel/ocl-icd \ + libGL.so:graphics/libGL +RUN_DEPENDS= opencl>=0:devel/opencl + +BROKEN_FreeBSD_9= clpeak is only supported on FreeBSD 10.1 and newer +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON_amd64= only builds and is supported on amd64 + +USE_GITHUB= yes +GH_ACCOUNT= krrishnarraj +GH_PROJECT= clpeak + +USE_LDCONFIG= yes +USES= cmake + +CXXFLAGS+= -std=c++11 + +PLIST_FILES= bin/clpeak + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/clpeak ${STAGEDIR}${PREFIX}/bin/clpeak + +.include Property changes on: head/benchmarks/clpeak/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/benchmarks/clpeak/distinfo =================================================================== --- head/benchmarks/clpeak/distinfo (nonexistent) +++ head/benchmarks/clpeak/distinfo (revision 417650) @@ -0,0 +1,2 @@ +SHA256 (krrishnarraj-clpeak-v1.0_GH0.tar.gz) = 97b738c80319807d9b20294f778dfbbe81f83bf903dd3b46619b1a71a067e469 +SIZE (krrishnarraj-clpeak-v1.0_GH0.tar.gz) = 95681 Property changes on: head/benchmarks/clpeak/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/benchmarks/clpeak/files/patch-src_include_common.h =================================================================== --- head/benchmarks/clpeak/files/patch-src_include_common.h (nonexistent) +++ head/benchmarks/clpeak/files/patch-src_include_common.h (revision 417650) @@ -0,0 +1,31 @@ +--- src/include/common.h.orig 2016-05-28 05:15:40 UTC ++++ src/include/common.h +@@ -8,13 +8,19 @@ + #include + #endif + ++#ifdef __FreeBSD__ ++ #include ++#endif ++ + #include + #include + #include + + #define TAB " " + #define NEWLINE "\n" ++#ifndef __FreeBSD__ + #define uint unsigned int ++#endif + + #define MAX(X, Y) \ + (X > Y)? X: Y; +@@ -41,6 +47,8 @@ + #elif defined(__arm__) + #define OS_NAME "Linux ARM" + #endif ++#elif defined(__FreeBSD__) ++ #define OS_NAME "FreeBSD" + #endif + + Property changes on: head/benchmarks/clpeak/files/patch-src_include_common.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/benchmarks/clpeak/pkg-descr =================================================================== --- head/benchmarks/clpeak/pkg-descr (nonexistent) +++ head/benchmarks/clpeak/pkg-descr (revision 417650) @@ -0,0 +1,9 @@ +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 + +WWW: https://github.com/krrishnarraj/clpeak Property changes on: head/benchmarks/clpeak/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property