Accepting request 593634 from home:avindra:branches:devel:tools
- Update to version 1.4.0 * Removal of deprecated headers * Improved CPU cache info reporting * Support State::KeepRunningBatch() * Support int64_t for AddRange() * New platform support: NetBSD, s390x, Solaris * Bazel build support * Support googletest unit tests * Add assembler tests * Various warnings fixed - Drop benchmark-s390.patch * fixed upstream (commit ff2c255af5bb2fc2e5cd3b3685f0c6283117ce73) OBS-URL: https://build.opensuse.org/request/show/593634 OBS-URL: https://build.opensuse.org/package/show/devel:tools/benchmark?expand=0&rev=16
This commit is contained in:
parent
779f8bddfa
commit
ae8eea20f8
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f19559475a592cbd5ac48b61f6b9cedf87f0b6775d1443de54cfe8f53940b28d
|
||||
size 105485
|
3
benchmark-1.4.0.tar.gz
Normal file
3
benchmark-1.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:616f252f37d61b15037e3c2ef956905baf9c9eecfeab400cb3ad25bae714e214
|
||||
size 125274
|
@ -1,16 +0,0 @@
|
||||
Index: src/cycleclock.h
|
||||
===================================================================
|
||||
--- src/cycleclock.h.orig
|
||||
+++ src/cycleclock.h
|
||||
@@ -132,6 +132,11 @@ inline BENCHMARK_ALWAYS_INLINE int64_t N
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, nullptr);
|
||||
return static_cast<int64_t>(tv.tv_sec) * 1000000 + tv.tv_usec;
|
||||
+#elif defined(__s390__)
|
||||
+ // found this for papi package
|
||||
+ unsigned long long ret;
|
||||
+ __asm__("stck 0(%0)" : : "a" (&(ret)) : "memory", "cc");
|
||||
+ return (long long)ret;
|
||||
#else
|
||||
// The soft failover to a generic implementation is automatic only for ARM.
|
||||
// For other platforms the developer is expected to make an attempt to create
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 4 22:20:14 UTC 2018 - avindra@opensuse.org
|
||||
|
||||
- Update to version 1.4.0
|
||||
* Removal of deprecated headers
|
||||
* Improved CPU cache info reporting
|
||||
* Support State::KeepRunningBatch()
|
||||
* Support int64_t for AddRange()
|
||||
* New platform support: NetBSD, s390x, Solaris
|
||||
* Bazel build support
|
||||
* Support googletest unit tests
|
||||
* Add assembler tests
|
||||
* Various warnings fixed
|
||||
- Drop benchmark-s390.patch
|
||||
* fixed upstream (commit ff2c255af5bb2fc2e5cd3b3685f0c6283117ce73)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 27 03:25:41 UTC 2018 - stefan.bruens@rwth-aachen.de
|
||||
|
||||
|
@ -19,18 +19,18 @@
|
||||
%define soname lib%{name}
|
||||
%define sover 0
|
||||
Name: benchmark
|
||||
Version: 1.3.0
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
Summary: A microbenchmark support library
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: https://github.com/google/benchmark
|
||||
Source: https://github.com/google/benchmark/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# PATCH-FEATURE-UPSTREAM benchmark-s390.patch
|
||||
Patch0: benchmark-s390.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: git-core
|
||||
BuildRequires: gmock
|
||||
BuildRequires: gtest
|
||||
|
||||
%description
|
||||
A library to support the benchmarking of functions, similar to unit-tests.
|
||||
@ -52,7 +52,6 @@ Development files for google benchmark library
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%if %{__isa_bits} == 64
|
||||
@ -83,8 +82,9 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/build/sr
|
||||
%license LICENSE
|
||||
%doc README.md AUTHORS
|
||||
%dir %{_prefix}/lib/cmake/
|
||||
%dir %{_prefix}/lib/cmake/benchmark
|
||||
%{_prefix}/lib/cmake/benchmark/*.cmake
|
||||
%dir %{_prefix}/lib/cmake/%{name}
|
||||
%{_prefix}/lib/cmake/%{name}/*.cmake
|
||||
%{_prefix}/lib/pkgconfig/%{name}.pc
|
||||
%{_libdir}/%{soname}.so
|
||||
%{_includedir}/%{name}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user