- Update to version 44_20160526

* Added a Python module which is able to replace Python's thread pool 
    class with the implementation based on Intel TBB task scheduler.
  * Fixed the implementation of 64-bit tbb::atomic for IA-32 architecture
    to work correctly with GCC 5.2 in C++11/14 mode.
  * Fixed a possible crash when tasks with affinity (e.g. specified via
    affinity_partitioner) are used simultaneously with task priority
    changes.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=13
This commit is contained in:
Ismail Dönmez 2016-06-08 11:21:21 +00:00 committed by Git OBS Bridge
parent 6b3ab9324f
commit d6db89776b
4 changed files with 36 additions and 5 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jun 8 10:50:50 UTC 2016 - idonmez@suse.com
- Update to version 44_20160526
* Added a Python module which is able to replace Python's thread pool
class with the implementation based on Intel TBB task scheduler.
* Fixed the implementation of 64-bit tbb::atomic for IA-32 architecture
to work correctly with GCC 5.2 in C++11/14 mode.
* Fixed a possible crash when tasks with affinity (e.g. specified via
affinity_partitioner) are used simultaneously with task priority
changes.
-------------------------------------------------------------------
Wed May 4 12:21:36 UTC 2016 - jengelh@inai.de

View File

@ -18,16 +18,18 @@
%define so_ver 2
Name: tbb
Version: 44_20160128
Version: 44_20160526
Release: 0
Summary: Threading Building Blocks (TBB)
License: SUSE-GPL-2.0-with-linking-exception
Group: Development/Libraries/C and C++
Url: https://www.threadingbuildingblocks.org/
Source0: https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb%{version}oss_src_0.tgz
Source0: https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb%{version}oss_src.tgz
# PATCH-FIX-OPENSUSE optflags.patch -- Use rpm optflags
Patch1: optflags.patch
BuildRequires: gcc-c++
BuildRequires: python-devel
BuildRequires: swig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -89,20 +91,36 @@ This package contains the header files needed for development with tbb.
%build
make OPTFLAGS="%{optflags}" %{?_smp_mflags} tbb_build_prefix=obj
mkdir lib; pushd lib
ln -s ../build/obj_release/*.so* .
popd
export TBBROOT=$PWD
pushd python
make release
popd
%install
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
pushd include
find tbb -type f -name \*.h -exec \
install -Dpm 644 {} %{buildroot}%{_includedir}/{} \
\;
popd
pushd build/obj_release
for file in libtbb{,malloc{,_proxy}}; do
install -Dpm 0755 ${file}.so.%{so_ver} %{buildroot}%{_libdir}
ln -s $file.so.%{so_ver} %{buildroot}%{_libdir}/$file.so
done
popd
pushd python
mkdir -p %{buildroot}%{python_sitelib}
install -m 0644 TBB.py %{buildroot}%{python_sitelib}
install -m 0755 _TBB.so %{buildroot}%{python_sitelib}
popd
%post -n libtbb%{so_ver} -p /sbin/ldconfig
@ -113,6 +131,7 @@ popd
%files -n libtbb%{so_ver}
%defattr(-,root,root)
%{_libdir}/libtbb.so.%{so_ver}*
%{python_sitelib}/*
%files -n libtbbmalloc%{so_ver}
%defattr(-,root,root)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d256bf13aef1b0726483af9f955918f04e3de4ebbf6908aa1b0c94cbe784ad7
size 3054169

View File

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