- Update to version 1.1.0:
* ArgNames support * Fixes for OSX and Cygwin and MSVC builds * PauseTiming and ResumeTiming are per thread (#286) * Better Range and Arg specifications * Complexity reporting OBS-URL: https://build.opensuse.org/package/show/devel:tools/benchmark?expand=0&rev=8
This commit is contained in:
parent
5d8a0ba942
commit
f9261c4bbc
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d2206c263fc1a7803d4b10e164e0c225f6bcf0d5e5f20b87929f137dee247b54
|
|
||||||
size 58944
|
|
3
benchmark-1.1.0.tar.gz
Normal file
3
benchmark-1.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e7334dd254434c6668e33a54c8f839194c7c61840d52f4b6258eee28e9f3b20e
|
||||||
|
size 87199
|
@ -1,8 +1,8 @@
|
|||||||
Index: benchmark-1.0.0/src/cycleclock.h
|
Index: src/cycleclock.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- benchmark-1.0.0.orig/src/cycleclock.h
|
--- src/cycleclock.h.orig
|
||||||
+++ benchmark-1.0.0/src/cycleclock.h
|
+++ src/cycleclock.h
|
||||||
@@ -124,6 +124,11 @@ inline BENCHMARK_ALWAYS_INLINE int64_t N
|
@@ -132,6 +132,11 @@ inline BENCHMARK_ALWAYS_INLINE int64_t N
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
gettimeofday(&tv, nullptr);
|
gettimeofday(&tv, nullptr);
|
||||||
return static_cast<int64_t>(tv.tv_sec) * 1000000 + tv.tv_usec;
|
return static_cast<int64_t>(tv.tv_sec) * 1000000 + tv.tv_usec;
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 27 14:46:11 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.1.0:
|
||||||
|
* ArgNames support
|
||||||
|
* Fixes for OSX and Cygwin and MSVC builds
|
||||||
|
* PauseTiming and ResumeTiming are per thread (#286)
|
||||||
|
* Better Range and Arg specifications
|
||||||
|
* Complexity reporting
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 27 14:28:26 UTC 2017 - bg@suse.com
|
Fri Jan 27 14:28:26 UTC 2017 - bg@suse.com
|
||||||
|
|
||||||
|
@ -19,18 +19,18 @@
|
|||||||
%define soname lib%{name}
|
%define soname lib%{name}
|
||||||
%define sover 0
|
%define sover 0
|
||||||
Name: benchmark
|
Name: benchmark
|
||||||
Version: 1.0.0
|
Version: 1.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A microbenchmark support library
|
Summary: A microbenchmark support library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: https://github.com/google/benchmark
|
Url: https://github.com/google/benchmark
|
||||||
Source: https://github.com/google/benchmark/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/google/benchmark/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
# PATCH-FEATURE-UPSTREAM benchmark-s390.patch
|
||||||
Patch: benchmark-s390.patch
|
Patch: benchmark-s390.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
ExclusiveArch: %ix86 x86_64 s390x
|
ExclusiveArch: %ix86 x86_64 s390x
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -53,7 +53,7 @@ Development files for google benchmark library
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{__isa_bits} == 64
|
%if %{__isa_bits} == 64
|
||||||
@ -61,9 +61,8 @@ sed -i "s|LIBRARY DESTINATION lib|LIBRARY DESTINATION lib64|g" src/CMakeLists.tx
|
|||||||
%endif
|
%endif
|
||||||
%cmake \
|
%cmake \
|
||||||
-DBENCHMARK_ENABLE_LTO=off \
|
-DBENCHMARK_ENABLE_LTO=off \
|
||||||
-DBENCHMARK_ENABLE_TESTING=true \
|
-DBENCHMARK_ENABLE_TESTING=true
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
%make_jobs
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user