Accepting request 888936 from devel:tools
- 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/request/show/888936 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/benchmark?expand=0&rev=17
This commit is contained in:
commit
194c9ad553
@ -1,33 +0,0 @@
|
||||
From d333609dccb5fcc6d002da6884712148f1beaf81 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyfox@inbox.ru>
|
||||
Date: Thu, 15 Oct 2020 09:12:40 +0100
|
||||
Subject: [PATCH] src/benchmark_register.h: add missing <limits> 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<T>::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 <limits>
|
||||
#include <vector>
|
||||
|
||||
#include "check.h"
|
||||
--
|
||||
2.30.0
|
||||
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="url">https://github.com/google/benchmark.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="exclude">.*</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="compression">gz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="file">benchmark.spec</param>
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/google/benchmark.git</param>
|
||||
<param name="changesrevision">835951aa44c2f802b4d563d533eac34565848eb0</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dccbdab796baa1043f04982147e67bb6e118fe610da2c65f88912d73987e700c
|
||||
size 160235
|
3
benchmark-1.5.3.obscpio
Normal file
3
benchmark-1.5.3.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:862568ebc446ee81eb7814b270b416d2915e52b5e81f73fb04346c36627c119f
|
||||
size 717836
|
@ -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 <christophe@krop.fr>
|
||||
|
||||
|
5
benchmark.obsinfo
Normal file
5
benchmark.obsinfo
Normal file
@ -0,0 +1,5 @@
|
||||
name: benchmark
|
||||
version: 1.5.3
|
||||
mtime: 1619538893
|
||||
commit: 835951aa44c2f802b4d563d533eac34565848eb0
|
||||
|
@ -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
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
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' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user