Accepting request 20510 from home:msmeissn:branches:devel:libraries:c_c++
Copy from home:msmeissn:branches:devel:libraries:c_c++/tbb via accept of submit request 20510 revision 4. Request was accepted with message: added OBS-URL: https://build.opensuse.org/request/show/20510 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=1
This commit is contained in:
commit
c7be8d3d1e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
19
optflags.patch
Normal file
19
optflags.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
--- build/linux.gcc.inc
|
||||||
|
+++ build/linux.gcc.inc
|
||||||
|
@@ -37,6 +37,7 @@
|
||||||
|
RML_WARNING_SUPPRESS = -Wno-non-virtual-dtor
|
||||||
|
DYLIB_KEY = -shared
|
||||||
|
LIBDL = -ldl
|
||||||
|
+OPTFLAGS = -O2
|
||||||
|
|
||||||
|
TBB_NOSTRICT = 1
|
||||||
|
|
||||||
|
@@ -47,7 +48,7 @@
|
||||||
|
C_FLAGS = $(CPLUS_FLAGS)
|
||||||
|
|
||||||
|
ifeq ($(cfg), release)
|
||||||
|
- CPLUS_FLAGS = -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD
|
||||||
|
+ CPLUS_FLAGS = -DDO_ITT_NOTIFY $(OPTFLAGS) -DUSE_PTHREAD
|
||||||
|
endif
|
||||||
|
ifeq ($(cfg), debug)
|
||||||
|
CPLUS_FLAGS = -DTBB_USE_DEBUG -DDO_ITT_NOTIFY -g -O0 -DUSE_PTHREAD
|
5
tbb.changes
Normal file
5
tbb.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 16 11:09:37 CEST 2009 - meissner@suse.de
|
||||||
|
|
||||||
|
- Reimport from Andi Kleens directory.
|
||||||
|
|
174
tbb.spec
Normal file
174
tbb.spec
Normal file
@ -0,0 +1,174 @@
|
|||||||
|
#
|
||||||
|
# spec file for package tbb (Version 21_20080825)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
|
Name: tbb
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
%define sourcedir tbb22_20090809oss
|
||||||
|
Url: http://threadingbuildingblocks.org/
|
||||||
|
License: GPL v2 only
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
AutoReqProv: on
|
||||||
|
Version: 22_20090809
|
||||||
|
Release: 1.45
|
||||||
|
Summary: Threading Building Blocks (TBB)
|
||||||
|
Source0: %{sourcedir}_src.tgz
|
||||||
|
Patch0: optflags.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
PreReq: %install_info_prereq
|
||||||
|
ExclusiveArch: %ix86 ia64 x86_64
|
||||||
|
|
||||||
|
%description
|
||||||
|
Intel® Threading Building Blocks (TBB) offers a rich and complete
|
||||||
|
approach to expressing parallelism in a C++ program. It is a library
|
||||||
|
that helps you take advantage of multi-core processor performance
|
||||||
|
without having to be a threading expert. Threading Building Blocks is
|
||||||
|
not just a threads-replacement library. It represents a higher-level,
|
||||||
|
task-based parallelism that abstracts platform details and threading
|
||||||
|
mechanism for performance and scalability.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%package -n libtbb2
|
||||||
|
License: GPL v2 only
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Summary: Threading Building Blocks (TBB)
|
||||||
|
Provides: %{name} < %{version}
|
||||||
|
Obsoletes: %{name} < %{version}
|
||||||
|
|
||||||
|
%description -n libtbb2
|
||||||
|
Intel® Threading Building Blocks (TBB) offers a rich and complete
|
||||||
|
approach to expressing parallelism in a C++ program. It is a library
|
||||||
|
that helps you take advantage of multi-core processor performance
|
||||||
|
without having to be a threading expert. Threading Building Blocks is
|
||||||
|
not just a threads-replacement library. It represents a higher-level,
|
||||||
|
task-based parallelism that abstracts platform details and threading
|
||||||
|
mechanism for performance and scalability.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%package -n libtbbmalloc2
|
||||||
|
License: GPL v2 only
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Summary: Threading Building Blocks (TBB)
|
||||||
|
Provides: %{name} < %{version}
|
||||||
|
Obsoletes: %{name} < %{version}
|
||||||
|
|
||||||
|
%description -n libtbbmalloc2
|
||||||
|
Intel® Threading Building Blocks (TBB) offers a rich and complete
|
||||||
|
approach to expressing parallelism in a C++ program. It is a library
|
||||||
|
that helps you take advantage of multi-core processor performance
|
||||||
|
without having to be a threading expert. Threading Building Blocks is
|
||||||
|
not just a threads-replacement library. It represents a higher-level,
|
||||||
|
task-based parallelism that abstracts platform details and threading
|
||||||
|
mechanism for performance and scalability.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
License: GPL v2 only
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Summary: Threading Building Blocks (TBB)
|
||||||
|
Requires: /bin/sh, /bin/csh
|
||||||
|
Requires: c++_compiler
|
||||||
|
Requires: libtbb2, libtbbmalloc2
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Intel® Threading Building Blocks (TBB) offers a rich and complete
|
||||||
|
approach to expressing parallelism in a C++ program. It is a library
|
||||||
|
that helps you take advantage of multi-core processor performance
|
||||||
|
without having to be a threading expert. Threading Building Blocks is
|
||||||
|
not just a threads-replacement library. It represents a higher-level,
|
||||||
|
task-based parallelism that abstracts platform details and threading
|
||||||
|
mechanism for performance and scalability.
|
||||||
|
|
||||||
|
This package contains the header files needed for development with tbb.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{sourcedir}
|
||||||
|
%patch0
|
||||||
|
|
||||||
|
%build
|
||||||
|
gmake OPTFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{_includedir}/%{name}/machine
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/%{name}
|
||||||
|
# sic!
|
||||||
|
install $RPM_BUILD_DIR/%{sourcedir}/include/tbb/*.h $RPM_BUILD_ROOT/%{_includedir}/%{name}
|
||||||
|
install $RPM_BUILD_DIR/%{sourcedir}/include/tbb/machine/linux*.h $RPM_BUILD_ROOT/%{_includedir}/%{name}/machine
|
||||||
|
install $RPM_BUILD_DIR/%{sourcedir}/build/linux*release/*.so.2 $RPM_BUILD_ROOT/%{_libdir}
|
||||||
|
pushd $RPM_BUILD_ROOT/%{_libdir}
|
||||||
|
ln -s libtbb.so.2 libtbb.so
|
||||||
|
ln -s libtbbmalloc.so.2 libtbbmalloc.so
|
||||||
|
popd
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post -n libtbb2 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libtbb2 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libtbbmalloc2 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libtbbmalloc2 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc CHANGES COPYING index.html
|
||||||
|
|
||||||
|
%files -n libtbb2
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libtbb.so.2
|
||||||
|
|
||||||
|
%files -n libtbbmalloc2
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libtbbmalloc.so.2
|
||||||
|
%{_libdir}/libtbbmalloc_proxy.so.2
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/tbb
|
||||||
|
%attr(755,root,root) %{_includedir}/tbb/machine
|
||||||
|
%attr(644,root,root) %{_includedir}/tbb/*.h
|
||||||
|
%attr(644,root,root) %{_includedir}/tbb/machine/*.h
|
||||||
|
%{_libdir}/libtbb.so
|
||||||
|
%{_libdir}/libtbbmalloc.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Sep 5 2009 andi@firstfloor.org
|
||||||
|
- update to 22_20090809oss, install machine/* includes
|
||||||
|
* Thu Sep 11 2008 skh@suse.de
|
||||||
|
- update to snapshot 21_20080825 (for details see CHANGES file in
|
||||||
|
package)
|
||||||
|
- remove obsolete patch tbb-build.patch
|
||||||
|
- split off libtbb2 and libtbbmalloc2 subpackages
|
||||||
|
* Wed Aug 13 2008 ro@suse.de
|
||||||
|
- add ExclusiveArch
|
||||||
|
* Mon Apr 28 2008 skh@suse.de
|
||||||
|
- update to source version tbb20_20080408oss_src
|
||||||
|
* Wed Feb 13 2008 dmueller@suse.de
|
||||||
|
- fix buildrequires
|
||||||
|
* Fri Feb 8 2008 skh@suse.de
|
||||||
|
- initial package from version 2.0, source version
|
||||||
|
tbb20_20080122oss_src
|
3
tbb22_20090809oss_src.tgz
Normal file
3
tbb22_20090809oss_src.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:56dcd2b2c191dc61094110d2ae95d377c8b8b08fea3055f217da4af7a1e0074a
|
||||||
|
size 1496087
|
Loading…
Reference in New Issue
Block a user