- Enable lto
- Update dependencies OBS-URL: https://build.opensuse.org/package/show/devel:tools/benchmark?expand=0&rev=20
This commit is contained in:
parent
caa53cf4c7
commit
04efcb2153
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 25 11:56:55 UTC 2018 - mpluskal@suse.com
|
||||
|
||||
- Enable lto
|
||||
- Update dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 28 21:43:24 UTC 2018 - avindra@opensuse.org
|
||||
|
||||
|
@ -31,6 +31,7 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: git-core
|
||||
BuildRequires: gmock
|
||||
BuildRequires: gtest
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
A library to support the benchmarking of functions, similar to unit-tests.
|
||||
@ -58,14 +59,14 @@ Development files for google benchmark library
|
||||
sed -i 's|lib_install_dir "lib/"|lib_install_dir "lib64/"|g' src/CMakeLists.txt
|
||||
%endif
|
||||
%cmake \
|
||||
-DBENCHMARK_ENABLE_LTO=off \
|
||||
-DBENCHMARK_ENABLE_LTO=on \
|
||||
-DBENCHMARK_ENABLE_TESTING=true
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
# dont ship debug stuff
|
||||
rm -rf %{_libexecdir}/debug
|
||||
rm -rf %{buildroot}%{_libexecdir}/debug
|
||||
|
||||
%check
|
||||
# path needs to be exported otherwise unit tests will fail
|
||||
|
Loading…
Reference in New Issue
Block a user