diff options
author | minskim <minskim@pkgsrc.org> | 2016-11-21 18:20:30 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2016-11-21 18:20:30 +0000 |
commit | 6601b8c83130d948a58a3a266b79c8d51a3b08e3 (patch) | |
tree | e3884c284c246a3a77511a2eea3ebe7766212a91 /benchmarks | |
parent | 5b0df251db70ecef7dd56e1b033f02cb3934f95e (diff) | |
download | pkgsrc-6601b8c83130d948a58a3a266b79c8d51a3b08e3.tar.gz |
Import google-benchmark-1.1.0
It is a library to support the benchmarking of functions, similar to
unit-tests.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/google-benchmark/DESCR | 1 | ||||
-rw-r--r-- | benchmarks/google-benchmark/Makefile | 21 | ||||
-rw-r--r-- | benchmarks/google-benchmark/PLIST | 6 | ||||
-rw-r--r-- | benchmarks/google-benchmark/buildlink3.mk | 13 | ||||
-rw-r--r-- | benchmarks/google-benchmark/distinfo | 6 |
5 files changed, 47 insertions, 0 deletions
diff --git a/benchmarks/google-benchmark/DESCR b/benchmarks/google-benchmark/DESCR new file mode 100644 index 00000000000..62ff081312e --- /dev/null +++ b/benchmarks/google-benchmark/DESCR @@ -0,0 +1 @@ +A library to support the benchmarking of functions, similar to unit-tests. diff --git a/benchmarks/google-benchmark/Makefile b/benchmarks/google-benchmark/Makefile new file mode 100644 index 00000000000..02e638cd386 --- /dev/null +++ b/benchmarks/google-benchmark/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2016/11/21 18:20:30 minskim Exp $ + +DISTNAME= benchmark-1.1.0 +PKGNAME= google-${DISTNAME} +CATEGORIES= benchmarks +MASTER_SITES= ${MASTER_SITE_GITHUB:=google/} +GITHUB_PROJECT= benchmark +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= https://github.com/google/benchmark/ +COMMENT= Microbenchmark support library +LICENSE= apache-2.0 + +USE_CMAKE= yes +USE_LANGUAGES= c c++ + +CMAKE_ARGS= -DCMAKE_BUILD_TYPE=Release + +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/benchmarks/google-benchmark/PLIST b/benchmarks/google-benchmark/PLIST new file mode 100644 index 00000000000..75575dac08d --- /dev/null +++ b/benchmarks/google-benchmark/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 2016/11/21 18:20:30 minskim Exp $ +include/benchmark/benchmark.h +include/benchmark/benchmark_api.h +include/benchmark/macros.h +include/benchmark/reporter.h +lib/libbenchmark.a diff --git a/benchmarks/google-benchmark/buildlink3.mk b/benchmarks/google-benchmark/buildlink3.mk new file mode 100644 index 00000000000..8c65391c947 --- /dev/null +++ b/benchmarks/google-benchmark/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/11/21 18:20:30 minskim Exp $ + +BUILDLINK_TREE+= google-benchmark + +.if !defined(GOOGLE_BENCHMARK_BUILDLINK3_MK) +GOOGLE_BENCHMARK_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.google-benchmark+= google-benchmark>=1.1.0 +BUILDLINK_DEPMETHOD.google-benchmark?= build +BUILDLINK_PKGSRCDIR.google-benchmark?= ../../benchmarks/google-benchmark +.endif # GOOGLE_BENCHMARK_BUILDLINK3_MK + +BUILDLINK_TREE+= -google-benchmark diff --git a/benchmarks/google-benchmark/distinfo b/benchmarks/google-benchmark/distinfo new file mode 100644 index 00000000000..4f0deddc490 --- /dev/null +++ b/benchmarks/google-benchmark/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/11/21 18:20:30 minskim Exp $ + +SHA1 (benchmark-1.1.0.tar.gz) = 8c539bbe2a212618fa87b6c38fba087100b6e4ae +RMD160 (benchmark-1.1.0.tar.gz) = 7e7f2d687ef515a846c04933545f7c63752d2de5 +SHA512 (benchmark-1.1.0.tar.gz) = 533061531e6a37723a626addc9e779018c4c2cfc8634ae45860eec0d3800103b5b562f865ac1dc0c8dbe045579b81e59de887e1c48318cebf160f03c18321831 +Size (benchmark-1.1.0.tar.gz) = 87199 bytes |