pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/google-benchmark google-benchmark: updated ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c97d9f2b61ef
branches:  trunk
changeset: 388779:c97d9f2b61ef
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Nov 26 17:53:02 2022 +0000

description:
google-benchmark: updated to 1.7.1

v1.7.1
What's Changed

Remove stray comment and added missing header
Initialize help hook before actually parsing the command line
remove unnecessary generated include directory
Fixed build issues on window
Explicitly cast int literals to int8_t in tests to silence implicit-conversion warnings
Ensure we don't need benchmark installed to pass c++ feature checks
Avoid deprecation warning in NVHPC
run ClearRegisteredBenchmarks at exit
FIx typo in benchmark.h
add debug option for enabling more output for failed cxxfeaturechecks
Fix link error when use as static library on windows.
use CMAKE_INSTALL_FULL in pkg-config file (fixes nix package)
Clean up test documentation formatting
Enable aarch64 Linux wheel builds, use cibuildwheel action directly
Eliminate usage of deprecated API in sysinfo.cc
Stop using pandas.Timedelta
Discuss sources of variance in the user guide
Bump pybind11 version to enable Python 3.11 wheel builds
bump cmake dep and docs
Support for QuRT OS (Hexagon RTOS)
Fix Solaris compilation
Do not depend on unversioned python binary
Partially revert "Do not depend on unversioned python binary"
Add information for supported Python versions to setup.py
[bazel] Build libpfm as a dependency to allow collection of perf counters

diffstat:

 benchmarks/google-benchmark/Makefile                                               |   4 +-
 benchmarks/google-benchmark/PLIST                                                  |   3 +-
 benchmarks/google-benchmark/distinfo                                               |   9 +-
 benchmarks/google-benchmark/patches/patch-test_benchmark__setup__teardown__test.cc |  44 ----------
 4 files changed, 8 insertions(+), 52 deletions(-)

diffs (91 lines):

diff -r a4b0822aba87 -r c97d9f2b61ef benchmarks/google-benchmark/Makefile
--- a/benchmarks/google-benchmark/Makefile      Sat Nov 26 17:15:54 2022 +0000
+++ b/benchmarks/google-benchmark/Makefile      Sat Nov 26 17:53:02 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2022/07/31 09:52:51 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2022/11/26 17:53:02 adam Exp $
 
-DISTNAME=      benchmark-1.7.0
+DISTNAME=      benchmark-1.7.1
 PKGNAME=       google-${DISTNAME}
 CATEGORIES=    benchmarks
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
diff -r a4b0822aba87 -r c97d9f2b61ef benchmarks/google-benchmark/PLIST
--- a/benchmarks/google-benchmark/PLIST Sat Nov 26 17:15:54 2022 +0000
+++ b/benchmarks/google-benchmark/PLIST Sat Nov 26 17:53:02 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2022/07/22 08:34:14 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/11/26 17:53:02 adam Exp $
 include/benchmark/benchmark.h
 include/benchmark/export.h
 lib/cmake/benchmark/benchmarkConfig.cmake
@@ -16,6 +16,7 @@
 share/doc/benchmark/platform_specific_build_instructions.md
 share/doc/benchmark/python_bindings.md
 share/doc/benchmark/random_interleaving.md
+share/doc/benchmark/reducing_variance.md
 share/doc/benchmark/releasing.md
 share/doc/benchmark/tools.md
 share/doc/benchmark/user_guide.md
diff -r a4b0822aba87 -r c97d9f2b61ef benchmarks/google-benchmark/distinfo
--- a/benchmarks/google-benchmark/distinfo      Sat Nov 26 17:15:54 2022 +0000
+++ b/benchmarks/google-benchmark/distinfo      Sat Nov 26 17:53:02 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.19 2022/07/31 09:52:51 wiz Exp $
+$NetBSD: distinfo,v 1.20 2022/11/26 17:53:02 adam Exp $
 
-BLAKE2s (benchmark-1.7.0.tar.gz) = 7adff8265f7ac3b175204c3a3d88082a7f2308b5c481515eb21ad7e08f34f3a6
-SHA512 (benchmark-1.7.0.tar.gz) = 25f81930ce210e298d9cc67c965cc8937f66c53427b18a672338b86424eef32df877ec6b7a7106417464b29c5048b014fcc82cfa773168ed701aa47d01f39f82
-Size (benchmark-1.7.0.tar.gz) = 194165 bytes
-SHA1 (patch-test_benchmark__setup__teardown__test.cc) = d3baa390eb590628fd42c85ce6ec42767e66c15b
+BLAKE2s (benchmark-1.7.1.tar.gz) = 4bba1c9a60763ec248ed489cd05c18a7f6ce801a3b9f801e5ffbb73e5a03e467
+SHA512 (benchmark-1.7.1.tar.gz) = 396af1c1d3eaa2b78c6d23b1472f6088db85a294056ae1c2366dc5c0becdc8f141ba8fc3a235033324ab0a41c2298f5d242ef09b9b6f69d9877de6bcb2062efd
+Size (benchmark-1.7.1.tar.gz) = 196575 bytes
diff -r a4b0822aba87 -r c97d9f2b61ef benchmarks/google-benchmark/patches/patch-test_benchmark__setup__teardown__test.cc
--- a/benchmarks/google-benchmark/patches/patch-test_benchmark__setup__teardown__test.cc        Sat Nov 26 17:15:54 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-$NetBSD: patch-test_benchmark__setup__teardown__test.cc,v 1.1 2022/03/27 12:04:05 tnn Exp $
-
-Rename namespace single due to conflict:
-error: 'namespace single { }' redeclared as different kind of entity
-/usr/include/floatingpoint.h:69:15: note: previous declaration 'typedef float single'
-   69 | typedef float single;
-
---- test/benchmark_setup_teardown_test.cc.orig 2022-01-10 19:14:27.000000000 +0000
-+++ test/benchmark_setup_teardown_test.cc
-@@ -10,19 +10,19 @@
- 
- // Test that Setup() and Teardown() are called exactly once
- // for each benchmark run (single-threaded).
--namespace single {
-+namespace single_ {
- static int setup_call = 0;
- static int teardown_call = 0;
--}  // namespace single
-+}  // namespace single_
- static void DoSetup1(const benchmark::State& state) {
--  ++single::setup_call;
-+  ++single_::setup_call;
- 
-   // Setup/Teardown should never be called with any thread_idx != 0.
-   assert(state.thread_index() == 0);
- }
- 
- static void DoTeardown1(const benchmark::State& state) {
--  ++single::teardown_call;
-+  ++single_::teardown_call;
-   assert(state.thread_index() == 0);
- }
- 
-@@ -134,8 +134,8 @@ int main(int argc, char** argv) {
-   assert(ret > 0);
- 
-   // Setup/Teardown is called once for each arg group (1,3,5,7).
--  assert(single::setup_call == 4);
--  assert(single::teardown_call == 4);
-+  assert(single_::setup_call == 4);
-+  assert(single_::teardown_call == 4);
- 
-   // 3 group of threads calling this function (3,5,10).
-   assert(concurrent::setup_call.load(std::memory_order_relaxed) == 3);



Home | Main Index | Thread Index | Old Index