Accepting request 697786 from devel:libraries:c_c++

- Update to version 2019_U5
  * Too many changes to list, please see the included CHANGES file.
- Install TBBConfig*.cmake

OBS-URL: https://build.opensuse.org/request/show/697786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tbb?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2019-04-30 10:55:32 +00:00 committed by Git OBS Bridge
commit d816f0929c
5 changed files with 31 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78bb9bae474736d213342f01fe1a6d00c6939d5c75b367e2e43e7bf29a6d8eca
size 2905393

3
2019_U5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ea82d74dec50e18075b4982b8d360f8bd2bf2950f38e2db483aef82e0047444
size 2563877

View File

@ -1,8 +1,8 @@
Index: tbb44_20160128oss/build/linux.gcc.inc
Index: tbb-2019_U5/build/linux.gcc.inc
===================================================================
--- tbb44_20160128oss.orig/build/linux.gcc.inc
+++ tbb44_20160128oss/build/linux.gcc.inc
@@ -54,7 +54,7 @@ ifneq (,$(shell gcc -dumpversion | egrep
--- tbb-2019_U5.orig/build/linux.gcc.inc
+++ tbb-2019_U5/build/linux.gcc.inc
@@ -69,7 +69,7 @@ ifneq (,$(shell $(CONLY) -dumpversion |
endif
ifeq ($(cfg), release)

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Apr 25 07:56:20 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
- Update to version 2019_U5
* Too many changes to list, please see the included CHANGES file.
- Install TBBConfig*.cmake
-------------------------------------------------------------------
Fri Aug 24 04:10:21 UTC 2018 - bwiedemann@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package tbb
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,28 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define rel_ver 2018_U2
%define rel_ver 2019_U5
%define so_ver 2
%bcond_without python2
%bcond_without python3
Name: tbb
Version: 2018_20171205
Version: 2019_20190320
Release: 0
Summary: Threading Building Blocks (TBB)
License: Apache-2.0
Group: Development/Libraries/C and C++
Url: https://www.threadingbuildingblocks.org/
Source0: https://github.com/01org/tbb/archive/2018_U2.tar.gz
Source0: https://github.com/01org/tbb/archive/%{rel_ver}.tar.gz
# PATCH-FIX-OPENSUSE optflags.patch -- Use rpm optflags
Patch1: optflags.patch
# PATCH-FIX-OPENSUSE reproducible.patch -- Do not compile build hostname+kernel into binary
Patch2: reproducible.patch
# PATCH-FIX-OPENSUSE disable-irml.patch -- Don't try to link to irml
Patch3: disable-irml.patch
BuildRequires: cmake
BuildRequires: gcc-c++
%if %{with python2}
BuildRequires: python2-devel
@ -157,6 +158,14 @@ pushd build/obj_release
done
popd
mkdir -p %{buildroot}%{_libdir}/cmake/TBB
# Build cmake config files
cmake -DTBB_ROOT=. -DTBB_OS=Linux -DSAVE_TO=. -P cmake/tbb_config_generator.cmake
# Fix library path
sed -i s,"get_filename_component(_tbb_lib_path.*","get_filename_component(_tbb_lib_path %{_libdir} ABSOLUTE)", TBBConfig.cmake
install -pm 0644 TBBConfig.cmake %{buildroot}%{_libdir}/cmake/TBB
install -pm 0644 TBBConfigVersion.cmake %{buildroot}%{_libdir}/cmake/TBB
%if %{with python2}
pushd python
%python2_install
@ -192,9 +201,10 @@ popd
%{_libdir}/libtbbmalloc_proxy.so.%{so_ver}*
%files devel
%doc CHANGES LICENSE index.html
%doc doc/Release_Notes.txt doc/html/
%license LICENSE
%doc CHANGES doc/Release_Notes.txt
%{_includedir}/tbb/
%{_libdir}/cmake/TBB
%{_libdir}/libtbb.so
%{_libdir}/libtbbmalloc.so
%{_libdir}/libtbbmalloc_proxy.so