- Update to version 44_20160128:
* Lots of changes, see the CHANGES file. - Drop tbb-4.0-cas.patch, fixed upstream. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=6
This commit is contained in:
parent
6a04b9fe10
commit
1fada0345a
@ -1,16 +0,0 @@
|
||||
diff -up tbb40_20120408oss/include/tbb/tbb_machine.h\~ tbb40_20120408oss/include/tbb/tbb_machine.h
|
||||
--- tbb40_20120408oss/include/tbb/tbb_machine.h~ 2012-04-20 09:21:57.000000000 +0200
|
||||
+++ tbb40_20120408oss/include/tbb/tbb_machine.h 2012-08-28 13:20:42.150456167 +0200
|
||||
@@ -373,8 +373,8 @@ void spin_wait_until_eq( const volatile
|
||||
// - The operation assumes that the architecture consistently uses either little-endian or big-endian:
|
||||
// it does not support mixed-endian or page-specific bi-endian architectures.
|
||||
// This function is the only use of __TBB_BIG_ENDIAN.
|
||||
-#if (__TBB_BIG_ENDIAN!=-1)
|
||||
- #if ( __TBB_USE_GENERIC_PART_WORD_CAS)
|
||||
+#if ( __TBB_USE_GENERIC_PART_WORD_CAS)
|
||||
+ #if (__TBB_BIG_ENDIAN==-1)
|
||||
#error generic implementation of part-word CAS was explicitly disabled for this configuration
|
||||
#endif
|
||||
template<typename T>
|
||||
|
||||
Diff finished. Tue Aug 28 13:20:58 2012
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 4 10:53:51 UTC 2016 - idonmez@suse.com
|
||||
|
||||
- Update to version 44_20160128:
|
||||
* Lots of changes, see the CHANGES file.
|
||||
- Drop tbb-4.0-cas.patch, fixed upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 17 19:42:08 UTC 2013 - asterios.dramis@gmail.com
|
||||
|
||||
|
17
tbb.spec
17
tbb.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tbb
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 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
|
||||
@ -17,19 +17,16 @@
|
||||
|
||||
|
||||
%define so_ver 2
|
||||
|
||||
Name: tbb
|
||||
Version: 41_20130116
|
||||
Version: 44_20160128
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Summary: Threading Building Blocks (TBB)
|
||||
Url: http://threadingbuildingblocks.org/
|
||||
License: GPL-2.0
|
||||
Group: System/Libraries
|
||||
Source0: http://threadingbuildingblocks.org/sites/default/files/software_releases/source/%{name}%{version}oss_src.tgz
|
||||
Url: http://threadingbuildingblocks.org/
|
||||
Source0: https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb%{version}oss_src_0.tgz
|
||||
# PATCH-FIX-OPENSUSE optflags.patch -- Use rpm optflags
|
||||
Patch0: optflags.patch
|
||||
# PATCH-FIX-UPSTREAM tbb-4.0-cas.patch asterios.dramis@gmail.com -- Fix build on PowerPC, http://software.intel.com/en-us/forums/showthread.php?t=106373 (taken from Fedora)
|
||||
Patch1: tbb-4.0-cas.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: %ix86 ia64 x86_64 ppc ppc64
|
||||
@ -90,7 +87,6 @@ This package contains the header files needed for development with tbb.
|
||||
%prep
|
||||
%setup -q -n %{name}%{version}oss
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
make OPTFLAGS="%{optflags}" %{?_smp_mflags} tbb_build_prefix=obj
|
||||
@ -111,11 +107,8 @@ pushd build/obj_release
|
||||
popd
|
||||
|
||||
%post -n libtbb%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libtbb%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%post -n libtbbmalloc%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libtbbmalloc%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%files -n libtbb%{so_ver}
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ae2c10899e3b6ef2f686013ec5901fc658444ca90178efaca6014b0665c34b6
|
||||
size 2461689
|
3
tbb44_20160128oss_src_0.tgz
Normal file
3
tbb44_20160128oss_src_0.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8d256bf13aef1b0726483af9f955918f04e3de4ebbf6908aa1b0c94cbe784ad7
|
||||
size 3054169
|
Loading…
x
Reference in New Issue
Block a user