Accepting request 729948 from home:StefanBruens:branches:science
Fix build with LTO, update OBS-URL: https://build.opensuse.org/request/show/729948 OBS-URL: https://build.opensuse.org/package/show/science/ade?expand=0&rev=4
This commit is contained in:
parent
36318933a4
commit
4dd498f6c1
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a6d84dae252f8244d4eebb5241715e3339edd86dbbc80a2fc5953c94e6d3eb00
|
|
||||||
size 115694
|
|
3
ade-0.1.1f.tar.gz
Normal file
3
ade-0.1.1f.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c316680efbb5dd3ac4e10bb8cea345cf26a6a25ebc22418f8f0b8ca931a550e9
|
||||||
|
size 116074
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 10 18:55:12 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Update to version 0.1.1f
|
||||||
|
- Drop upstream Silence_redundant-move_warning.patch
|
||||||
|
- Use -ffat-lto-objects to provide a proper static library.
|
||||||
|
- Run tests by default
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 26 09:24:28 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Mon Aug 26 09:24:28 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
25
ade.spec
25
ade.spec
@ -16,20 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_with tests
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
|
|
||||||
|
%bcond_without tests
|
||||||
%bcond_with docs
|
%bcond_with docs
|
||||||
%bcond_without tutorials
|
%bcond_with tutorials
|
||||||
|
|
||||||
Name: ade
|
Name: ade
|
||||||
Version: 0.1.1d
|
Version: 0.1.1f
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Graph construction, manipulation, and processing framework
|
Summary: Graph construction, manipulation, and processing framework
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://opencv.org/
|
Url: http://opencv.org/
|
||||||
Source0: https://github.com/opencv/ade/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/opencv/ade/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/opencv/ade/pull/15.patch
|
|
||||||
Patch0: Silence_redundant-move_warning.patch
|
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: cmake > 3.2
|
BuildRequires: cmake > 3.2
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
@ -53,19 +53,28 @@ for organizing data flow processing and execution.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
# fixup library install directory (i.e. use CMake default)
|
# fixup library install directory (i.e. use CMake default)
|
||||||
sed -i -e 's@ DESTINATION lib@ DESTINATION ${CMAKE_INSTALL_LIBDIR}@' sources/ade/CMakeLists.txt
|
sed -i -e 's@ DESTINATION lib@ DESTINATION ${CMAKE_INSTALL_LIBDIR}@' sources/ade/CMakeLists.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
%{?with tutorials:-DBUILD_ADE_TUTORIAL=ON} \
|
%{?with_tutorials:-DBUILD_ADE_TUTORIAL=ON} \
|
||||||
%{?with docs:-DBUILD_ADE_DOCUMENTATION=ON} \
|
%{?with_docs:-DBUILD_ADE_DOCUMENTATION=ON} \
|
||||||
|
%{?with_tests:-DGTEST_ROOT:PATH=%{_prefix} -DENABLE_ADE_TESTING=ON} \
|
||||||
|
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
%if %{with tests}
|
||||||
|
rm %{buildroot}%{_bindir}/ade-tests
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{with tests}
|
||||||
|
%ctest
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user