From 30dbbecd385c1cf8ca027301616146f0d408b129ec5ef5dd6fab3f3347c667d2 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 28 Apr 2021 06:51:05 +0000 Subject: [PATCH] - Update to version 1.5.3: * Be compliant and return 0 from main. * Fix windows warning on type conversion (#1121) * Add verbosity to CI logs (#1122) * fix cmake issue with referencing a non-existing function argument (#1118) * [tools] Fix dumb mistake in previous commit - print aggregates only means aggregates, not non-aggregates * [tools] Don't forget to print UTest when printing aggregates only * [sysinfo] Fix CPU Frequency reading on AMD Ryzen CPU's (#1117) * Use fewer ramp up repetitions when KeepRunningBatch is used (#1113) * Add bazel status to README * Re-enable bazel without bazelisk and with scoped build/test targets (#1109) - Drop no longer needed 0001-src-benchmark_register.h-add-missing-limits-inclusio.patch OBS-URL: https://build.opensuse.org/package/show/devel:tools/benchmark?expand=0&rev=36 --- ...gister.h-add-missing-limits-inclusio.patch | 33 ------------------- _service | 18 ++++++++++ _servicedata | 4 +++ benchmark-1.5.2.tar.gz | 3 -- benchmark-1.5.3.obscpio | 3 ++ benchmark.changes | 16 +++++++++ benchmark.obsinfo | 5 +++ benchmark.spec | 6 ++-- 8 files changed, 48 insertions(+), 40 deletions(-) delete mode 100644 0001-src-benchmark_register.h-add-missing-limits-inclusio.patch create mode 100644 _service create mode 100644 _servicedata delete mode 100644 benchmark-1.5.2.tar.gz create mode 100644 benchmark-1.5.3.obscpio create mode 100644 benchmark.obsinfo diff --git a/0001-src-benchmark_register.h-add-missing-limits-inclusio.patch b/0001-src-benchmark_register.h-add-missing-limits-inclusio.patch deleted file mode 100644 index 82815ca..0000000 --- a/0001-src-benchmark_register.h-add-missing-limits-inclusio.patch +++ /dev/null @@ -1,33 +0,0 @@ -From d333609dccb5fcc6d002da6884712148f1beaf81 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Thu, 15 Oct 2020 09:12:40 +0100 -Subject: [PATCH] src/benchmark_register.h: add missing inclusion - (#1060) - -Noticed missing header when was building llvm with gcc-11: - -``` -llvm-project/llvm/utils/benchmark/src/benchmark_register.h:17:30: - error: 'numeric_limits' is not a member of 'std' - 17 | static const T kmax = std::numeric_limits::max(); - | ^~~~~~~~~~~~~~ -``` ---- - src/benchmark_register.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/benchmark_register.h b/src/benchmark_register.h -index 61377d7..204bf1d 100644 ---- a/src/benchmark_register.h -+++ b/src/benchmark_register.h -@@ -1,6 +1,7 @@ - #ifndef BENCHMARK_REGISTER_H - #define BENCHMARK_REGISTER_H - -+#include - #include - - #include "check.h" --- -2.30.0 - diff --git a/_service b/_service new file mode 100644 index 0000000..727aea9 --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + @PARENT_TAG@ + https://github.com/google/benchmark.git + git + enable + .* + v(.*) + + + + gz + *.tar + + + benchmark.spec + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..876615f --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/google/benchmark.git + 835951aa44c2f802b4d563d533eac34565848eb0 \ No newline at end of file diff --git a/benchmark-1.5.2.tar.gz b/benchmark-1.5.2.tar.gz deleted file mode 100644 index b0d4c59..0000000 --- a/benchmark-1.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dccbdab796baa1043f04982147e67bb6e118fe610da2c65f88912d73987e700c -size 160235 diff --git a/benchmark-1.5.3.obscpio b/benchmark-1.5.3.obscpio new file mode 100644 index 0000000..5983c03 --- /dev/null +++ b/benchmark-1.5.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:862568ebc446ee81eb7814b270b416d2915e52b5e81f73fb04346c36627c119f +size 717836 diff --git a/benchmark.changes b/benchmark.changes index 19f8cbc..2e2d304 100644 --- a/benchmark.changes +++ b/benchmark.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Apr 28 06:47:33 UTC 2021 - mpluskal@suse.com + +- Update to version 1.5.3: + * Be compliant and return 0 from main. + * Fix windows warning on type conversion (#1121) + * Add verbosity to CI logs (#1122) + * fix cmake issue with referencing a non-existing function argument (#1118) + * [tools] Fix dumb mistake in previous commit - print aggregates only means aggregates, not non-aggregates + * [tools] Don't forget to print UTest when printing aggregates only + * [sysinfo] Fix CPU Frequency reading on AMD Ryzen CPU's (#1117) + * Use fewer ramp up repetitions when KeepRunningBatch is used (#1113) + * Add bazel status to README + * Re-enable bazel without bazelisk and with scoped build/test targets (#1109) +- Drop no longer needed 0001-src-benchmark_register.h-add-missing-limits-inclusio.patch + ------------------------------------------------------------------- Mon Feb 8 21:56:31 UTC 2021 - Christophe Giboudeaux diff --git a/benchmark.obsinfo b/benchmark.obsinfo new file mode 100644 index 0000000..810a2ac --- /dev/null +++ b/benchmark.obsinfo @@ -0,0 +1,5 @@ +name: benchmark +version: 1.5.3 +mtime: 1619538893 +commit: 835951aa44c2f802b4d563d533eac34565848eb0 + diff --git a/benchmark.spec b/benchmark.spec index dacc90b..b264bef 100644 --- a/benchmark.spec +++ b/benchmark.spec @@ -19,14 +19,12 @@ %define soname lib%{name} %define sover 0 Name: benchmark -Version: 1.5.2 +Version: 1.5.3 Release: 0 Summary: A microbenchmark support library License: Apache-2.0 URL: https://github.com/google/benchmark Source: https://github.com/google/benchmark/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM -Patch0: 0001-src-benchmark_register.h-add-missing-limits-inclusio.patch BuildRequires: cmake >= 3.5.1 BuildRequires: gcc-c++ BuildRequires: git-core @@ -51,7 +49,7 @@ Requires: %{soname}%{sover} = %{version} Development files for google benchmark library %prep -%autosetup -p1 +%autosetup %build sed -e 's|lib_install_dir "lib/"|lib_install_dir "%{_libdir}/"|g' \