[packages/google-benchmark] - updated to 1.7.1
qboosh
qboosh at pld-linux.org
Sun Mar 5 16:50:42 CET 2023
commit 513ddfb9cf108e46100f0f1536692ca29d464474
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 5 16:52:40 2023 +0100
- updated to 1.7.1
google-benchmark.spec | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/google-benchmark.spec b/google-benchmark.spec
index 115ab7e..f6c18bb 100644
--- a/google-benchmark.spec
+++ b/google-benchmark.spec
@@ -5,20 +5,19 @@
Summary: Library to benchmark code snippets
Summary(pl.UTF-8): Biblioteka do testowania wydajności fragmentów kodu
Name: google-benchmark
-Version: 1.6.1
+Version: 1.7.1
Release: 1
License: Apache v2.0
Group: Libraries
#Source0Download: https://github.com/google/benchmark/releases
Source0: https://github.com/google/benchmark/archive/v%{version}/benchmark-%{version}.tar.gz
-# Source0-md5: 8c33c51f9b7154e6c290df3750081c87
-#Patch0: %{name}-what.patch
+# Source0-md5: 0459a6c530df9851bee6504c3e37c2e7
URL: https://github.com/google/benchmark
-BuildRequires: cmake >= 3.5.1
+BuildRequires: cmake >= 3.16.3
BuildRequires: libstdc++-devel >= 6:4.8
%if %{with python}
BuildRequires: bazel
-BuildRequires: python3-modules >= 1:3.6
+BuildRequires: python3-modules >= 1:3.7
BuildRequires: python3-pybind11
BuildRequires: python3-setuptools
BuildRequires: rpm-pythonprov
@@ -61,15 +60,12 @@ Wiązanie Pythona do biblioteki Google Benchmark.
%setup -q -n benchmark-%{version}
%build
-install -d build
-cd build
-%cmake .. \
+%cmake -B build \
-DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF \
-DBENCHMARK_ENABLE_LTO=ON \
-DBENCHMARK_ENABLE_TESTING=OFF
-%{__make}
-cd ..
+%{__make} -C build
%if %{with python}
%py3_build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/google-benchmark.git/commitdiff/513ddfb9cf108e46100f0f1536692ca29d464474
More information about the pld-cvs-commit
mailing list