debian/0000775000000000000000000000000012255720054007172 5ustar debian/libtbb-dev.README.Debian0000664000000000000000000000122212224735364013247 0ustar tbb for Debian -------------- This is the Intel Threading Building Blocks package. It comes from the "Commercial Aligned Release" series of TBB releases. This package ships a pkg-config file in /usr/lib/pkgconfig/tbb.pc. Here is an example of how it is used: gcc -o test test.c `pkg-config --libs --cflags tbb` The examples are located in the tbb-examples package. In order to install and use them, you want to install that package and run something like this: cd ~ cp -r /usr/share/doc/tbb-examples/ . cd tbb-examples find . -name '*.gz'| xargs gunzip cd examples make -- Roberto C. Sanchez Fri, 14 Dec 2007 23:10:58 -0500 debian/libtbb2.install0000664000000000000000000000005012224735364012103 0ustar build/linux_*_release/lib*.so.* usr/lib debian/libtbb2-dbg.docs0000664000000000000000000000002612224735364012122 0ustar doc/Release_Notes.txt debian/source/0000775000000000000000000000000012224735364010500 5ustar debian/source/format0000664000000000000000000000001412224735364011706 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000341712224735364011140 0ustar This package was debianized by Roberto C. Sanchez on Fri, 14 Dec 2007 23:10:58 -0500. It was downloaded from http://threadingbuildingblocks.org Upstream Author: Intel Corporation Copyright: Copyright (c) 2005-2011 Intel Corporation License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. Additionally, the TBB code carries the following exception: As a special exception, you may use this file as part of a free software library without restriction. Specifically, if other files instantiate templates or use macros or inline functions from this file, or you compile this file and link it with other files to produce an executable, this file does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. The Debian packaging is Copyright (c) 2007-2011, Athena Capital Research and is licensed under the GPL version 2, see above. debian/libtbb-doc.doc-base0000664000000000000000000000043612224735364012603 0ustar Document: libtbb-doc Title: Threading Building Blocks Library Documentation Author: Intel Corporation Abstract: Documentation for developing against libtbb Section: Programming Format: HTML Index: /usr/share/doc/libtbb-doc/html/index.html Files: /usr/share/doc/libtbb-doc/html/*.html debian/libtbb-dev.links0000664000000000000000000000022612224735364012254 0ustar usr/lib/libtbb.so.2 usr/lib/libtbb.so usr/lib/libtbbmalloc.so.2 usr/lib/libtbbmalloc.so usr/lib/libtbbmalloc_proxy.so.2 usr/lib/libtbbmalloc_proxy.so debian/libtbb-dev.dirs0000664000000000000000000000004612224735364012075 0ustar usr/include usr/lib usr/lib/pkgconfig debian/tbb-examples.examples0000664000000000000000000000005212224735364013320 0ustar examples/* build/common.inc build/linux.* debian/libtbb-doc.docs0000664000000000000000000000004012224735364012045 0ustar doc/html/ doc/Release_Notes.txt debian/changelog0000664000000000000000000001543312255720054011052 0ustar tbb (4.2~20130725-1.1ubuntu1) trusty; urgency=medium * Opportunistically build on any architectures. -- Dimitri John Ledkov Mon, 23 Dec 2013 02:30:04 +0000 tbb (4.2~20130725-1.1) unstable; urgency=low * Non-maintainer upload. * New upstream * Fix buildds: x32/sparc/sparc64 * Do not compress Makefiles in tbb-examples -- Mathieu Malaterre Tue, 08 Oct 2013 08:23:25 +0000 tbb (4.1~20130613-1.2) unstable; urgency=medium * Non-maintainer upload. * Fix armhf buildd + debian/patches/armhf.patch * Fix hardening flags (missing CPPFLAGS) * Fix d/watch file -- Mathieu Malaterre Wed, 18 Sep 2013 09:22:27 +0200 tbb (4.1~20130613-1.1) unstable; urgency=low * Non-maintainer upload. * Remove patches from bug #692033, since integrated upstream now * Upload to sid - Closes: #714986, #715162, #713347, #715425, #705495 -- Mathieu Malaterre Mon, 26 Aug 2013 13:00:26 +0200 tbb (4.1~20130613-1.1~exp1) experimental; urgency=low * Non-maintainer upload. * Upload 4.1, update 4 * Import patches for armhf (from 4.0+r233+update5-0.2) -- Mathieu Malaterre Sat, 06 Jul 2013 15:01:19 +0200 tbb (4.1~20130516-1.1~exp1) experimental; urgency=low * Non-maintainer upload. * Upload 4.1, update 3. Closes: #695683 * Switch to dh/9. Get harderning compilation * Add d/watch. Closes: #695683 * Use d/rules to generate version. Closes: #712146 * Build PowerPC/SPE. Closes: #695685 * Use new d/rules. Bump Std-Vers: 3.9.4 -- Mathieu Malaterre Fri, 05 Jul 2013 09:06:21 +0200 tbb (4.0+r233+update5-0.2) unstable; urgency=low * Non-maintainer upload. * Add armhf to the list of supported arches in debian/control, now that ARMv7 support is there. Not (yet) worth doing for armel. -- Steve McIntyre Mon, 24 Jun 2013 17:05:45 +0100 tbb (4.0+r233+update5-0.1) unstable; urgency=low * Non-maintainer upload. * Updated to upstream 4.0 Update 5 release. + Added 64-bit PowerPC support * Applied ARMv7-A support patches from linaro. (Closes: #692033) -- Andrew Lee (李健秋) Wed, 12 Jun 2013 13:57:09 +0800 tbb (4.0+r233-1) unstable; urgency=low * New upstream release + Add 32-bit PowerPC support * Update to Standards-Version 3.9.2 (no changes) * Add note to package descriptions that Pentium4-compatible and higher is supported for i386 architecture users (Closes: #642248) * Do not run test suite when DEB_BUILD_OPTIONS=nocheck (Closes: #642251) * Do not ignore 'make clean' errors (Closes: #642242) -- Roberto C. Sanchez Sat, 24 Sep 2011 17:16:45 -0400 tbb (3.0+r147-1) unstable; urgency=low * New upstream release * debian/copyright: update years * debian/control: Add ppc64 to the Architecture fields -- Roberto C. Sanchez Thu, 31 Mar 2011 15:02:52 -0400 tbb (3.0+r035-2) unstable; urgency=low * Make examples build properly (Closes: #608347) + Ship common Makefile snippets from upstream + Document that upstream's _debug library versions are not shipped * Update to Standards-Version 3.9.1 (no changes) -- Roberto C. Sanchez Fri, 31 Dec 2010 15:21:02 -0500 tbb (3.0+r035-1) unstable; urgency=low * New upstream release * Update to Standards-Version 3.9.0 (no changes) * Switch to dpkg-source 3.0 (quilt) format -- Roberto C. Sanchez Mon, 28 Jun 2010 19:29:45 -0400 tbb (3.0+r018-1) unstable; urgency=low * New upstream release (Closes: #581614) -- Roberto C. Sanchez Sat, 15 May 2010 07:58:17 -0400 tbb (2.2+r013-1) unstable; urgency=low * New upstream release * debian/copyright: update years * Update to Standards-Version 3.8.4 (no changes) -- Roberto C. Sanchez Sat, 20 Feb 2010 12:22:19 -0500 tbb (2.2+r012-1) unstable; urgency=low * New upstream release * Update pkg-config metadata file * Add ${misc:Depends} as recommended by lintian -- Roberto C. Sanchez Wed, 27 Jan 2010 09:50:16 -0500 tbb (2.2+r009-1) unstable; urgency=low * New upstream release -- Roberto C. Sanchez Sun, 18 Oct 2009 14:50:25 -0400 tbb (2.2+r004-1) unstable; urgency=low * New upstream release (Closes: #545702) * Update to Standards-Version 3.8.3 (no changes) -- Roberto C. Sanchez Wed, 09 Sep 2009 17:22:22 -0400 tbb (2.1r017-1) unstable; urgency=low * New upstream release * Change libtbb2-dbg to section debug for new archive layout -- Roberto C. Sanchez Sun, 10 May 2009 21:15:34 -0400 tbb (2.1r015-1) unstable; urgency=low * New upstream release * 02_replace_arch_command.dpatch: merged upstream * Remove build dependency on dpatch and modify debian-rules accordingly * Add .pc file to help when building against the library * Update to Standards-Version 3.8.1 (no changes) -- Roberto C. Sanchez Tue, 17 Mar 2009 15:52:47 -0400 tbb (2.1~20080605-1) unstable; urgency=low * New upstream release * Drop patches - 01_add_soname: suitable fascimile implemented upstream - 03_ias_patch: upstream now using as instead of ias * Update to Standards-Version 3.8.0 (no changes) * Add new upstream Doxygen documentation (in libtbb-doc package) * Register new documentation with doc-base * debian/copyright: Update years of copyright -- Roberto C. Sanchez Tue, 08 Jul 2008 18:51:22 -0400 tbb (2.0r020-1) unstable; urgency=low * New upstream release. * debian/patches/04_g++-4.3.dpatch: Removed, integrated upstream -- Roberto C. Sanchez Tue, 29 Apr 2008 15:31:09 -0400 tbb (2.0r017-1) unstable; urgency=low * New upstream release. -- Roberto C. Sanchez Sat, 08 Mar 2008 22:15:13 -0500 tbb (2.0r014-4) unstable; urgency=low * Make tbb-examples recommend libtbb-dev. * Make libtbb-dev suggest tbb-examples. * Patch to allow building with g++-4.3 (Closes: #462415) * Only conditionally create symlink (Closes: #465617) -- Roberto C. Sanchez Thu, 14 Feb 2008 18:36:15 -0500 tbb (2.0r014-3) unstable; urgency=low * Fix short descriptions of tbb-examples (Closes: #457442) * Fix short descriptions of libtbb2-dbg (Closes: #457443) * Add patch to allow build to succeed on Itanium -- Roberto C. Sanchez Thu, 3 Jan 2008 15:21:50 -0500 tbb (2.0r014-2) unstable; urgency=low * debian/copyright: Fix license statement. -- Roberto C. Sanchez Wed, 19 Dec 2007 21:17:16 -0500 tbb (2.0r014-1) unstable; urgency=low * Initial release (Closes: #434583) -- Roberto C. Sanchez Fri, 14 Dec 2007 23:10:58 -0500 debian/control0000664000000000000000000000662312255720055010605 0ustar Source: tbb Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Athena Capital Research Uploaders: Roberto C. Sanchez Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.4 Section: libs Homepage: http://threadingbuildingblocks.org/ Package: libtbb-dev Section: libdevel Architecture: any Depends: libtbb2 (= ${binary:Version}), ${misc:Depends} Suggests: tbb-examples, libtbb-doc Description: parallelism library for C++ - development files TBB is a library that helps you leverage multi-core processor performance without having to be a threading expert. It represents a higher-level, task-based parallelism that abstracts platform details and threading mechanism for performance and scalability. . (Note: if you are a user of the i386 architecture, i.e., 32-bit Intel or compatible hardware, this package only supports Pentium4-compatible and higher processors.) . This package includes the TBB development files. Package: libtbb2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: parallelism library for C++ - runtime files TBB is a library that helps you leverage multi-core processor performance without having to be a threading expert. It represents a higher-level, task-based parallelism that abstracts platform details and threading mechanism for performance and scalability. . (Note: if you are a user of the i386 architecture, i.e., 32-bit Intel or compatible hardware, this package only supports Pentium4-compatible and higher processors.) . This package includes the TBB runtime files. Package: libtbb2-dbg Section: debug Architecture: any Depends: libtbb2 (= ${binary:Version}), ${misc:Depends} Description: parallelism library for C++ - debugging symbols TBB is a library that helps you leverage multi-core processor performance without having to be a threading expert. It represents a higher-level, task-based parallelism that abstracts platform details and threading mechanism for performance and scalability. . (Note: if you are a user of the i386 architecture, i.e., 32-bit Intel or compatible hardware, this package only supports Pentium4-compatible and higher processors.) . This package includes the TBB debugging symbols. Package: libtbb-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: libtbb-dev, tbb-examples Description: parallelism library for C++ - documentation TBB is a library that helps you leverage multi-core processor performance without having to be a threading expert. It represents a higher-level, task-based parallelism that abstracts platform details and threading mechanism for performance and scalability. . This package includes the TBB documentation files. Package: tbb-examples Section: doc Architecture: all Depends: ${misc:Depends} Recommends: libtbb-dev, libtbb-doc Description: parallelism library for C++ - example files TBB is a library that helps you leverage multi-core processor performance without having to be a threading expert. It represents a higher-level, task-based parallelism that abstracts platform details and threading mechanism for performance and scalability. . (Note: if you are a user of the i386 architecture, i.e., 32-bit Intel or compatible hardware, this package only supports Pentium4-compatible and higher processors.) . This package includes the TBB example files. debian/tbb-examples.README.Debian0000664000000000000000000000202012224735364013615 0ustar tbb for Debian -------------- This is the Intel Threading Building Blocks package. It comes from the "Commercial Aligned Release" series of TBB releases. This package ships a pkg-config file in /usr/lib/pkgconfig/tbb.pc. Here is an example of how it is used: gcc -o test test.c `pkg-config --libs --cflags tbb` The examples are located in the tbb-examples package. In order to install and use them, you want to install that package and run something like this: cd ~ cp -r /usr/share/doc/tbb-examples/ . cd tbb-examples find . -name '*.gz'| xargs gunzip cd examples make Please note that the Debian tbb package does not ship the various *_debug* libraries that are built as part of the upstream build process. There a numerous reasons for this. If you need debugging symbols, then please install the -dbg package. If you require some of the specific functionality of the those other libraries, than that is unfortunately not available at this time. -- Roberto C. Sanchez Fri, 31 Dec 2010 17:13:49 -0500 debian/libtbb2.docs0000664000000000000000000000002612224735364011370 0ustar doc/Release_Notes.txt debian/libtbb-dev.docs0000664000000000000000000000002612224735364012062 0ustar doc/Release_Notes.txt debian/libtbb2.dirs0000664000000000000000000000001012224735364011372 0ustar usr/lib debian/rules0000775000000000000000000000113712225052077010254 0ustar #!/usr/bin/make -f # export DH_VERBOSE=1 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk CFLAGS+=$(CPPFLAGS) CXXFLAGS+=$(CPPFLAGS) %: dh $@ --parallel --dbg-package=libtbb2-dbg VERSION = $(shell dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d-) debian/tbb.pc: debian/tbb.pc.in sed -e"s/@VERSION@/$(VERSION)/g" $< > $@ build-arch: debian/tbb.pc # Makefiles should not be compressed (tbb-examples) override_dh_compress-indep: dh_compress -X*/examples/* get-orig-source: uscan --verbose --force-download --rename debian/watch0000664000000000000000000000041212224735364010226 0ustar version=3 opts=dversionmangle=s/^(\d)(\d)~(\d{8})/$1$2_$3/,uversionmangle=s/(\d)(\d)_(\d{8})/$1.$2~$3/ \ https://www.threadingbuildingblocks.org/download \ https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb([0-9_]+)oss_src\.tgz debian/tbb-examples.docs0000664000000000000000000000002612224735364012433 0ustar doc/Release_Notes.txt debian/patches/0000775000000000000000000000000012224735364010627 5ustar debian/patches/series0000664000000000000000000000005512224735364012044 0ustar armhf.patch adddebug.patch fixnonlinux.patch debian/patches/adddebug.patch0000664000000000000000000000170012224735364013405 0ustar Description: add debug info Author: Mathieu Malaterre Index: tbb-4.2~20130725/build/linux.inc =================================================================== --- tbb-4.2~20130725.orig/build/linux.inc 2013-10-08 09:54:09.000000000 +0200 +++ tbb-4.2~20130725/build/linux.inc 2013-10-08 09:54:10.000000000 +0200 @@ -44,6 +44,11 @@ ifndef arch uname_m:=$(shell uname -m) + uname_a:=$(shell uname -a) + deb_host_arch:=$(shell dpkg-architecture -qDEB_HOST_ARCH) + $(warning "uname_m: " $(uname_m)) + $(warning "uname_a: " $(uname_a)) + $(warning "deb_host_arch: " $(deb_host_arch)) ifeq ($(uname_m),i686) export arch:=ia32 endif @@ -61,6 +66,8 @@ endif ifndef arch export arch:=$(uname_m) + $(warning "Unknown arch: " $(arch)) + $(warning "Unknown uname_a: " $(uname_a)) endif endif debian/patches/armhf.patch0000664000000000000000000000112312224735364012742 0ustar Description: It looks like on debian armv7l is returned while armv71 seems to be expected... Author: Mathieu Malaterre Bug-Debian: http://bugs.debian.org/692033 --- tbb-4.1~20130613.orig/build/linux.inc +++ tbb-4.1~20130613/build/linux.inc @@ -56,8 +56,8 @@ ifndef arch ifeq ($(uname_m),sparc64) export arch:=sparc endif - ifeq ($(uname_m),armv71) - export arch :=armv7 + ifeq ($(uname_m),armv7l) + export arch:=armv7 endif ifndef arch export arch:=$(uname_m) debian/patches/fixnonlinux.patch0000664000000000000000000000711112224735364014231 0ustar Description: tweak system inspection to build on hurd/kFreeBSD/x32 systems Author: Mathieu Malaterre Index: tbb-4.2~20130725/build/common.inc =================================================================== --- tbb-4.2~20130725.orig/build/common.inc 2013-10-08 09:54:04.000000000 +0200 +++ tbb-4.2~20130725/build/common.inc 2013-10-08 09:54:14.000000000 +0200 @@ -41,6 +41,14 @@ ifeq ($(OS), Linux) export tbb_os=linux endif + # hurd-386 + ifeq ($(OS), GNU) + export tbb_os=linux + endif + # kfreebsd-* + ifeq ($(OS), GNU/kFreeBSD) + export tbb_os=FreeBSD + endif ifeq ($(OS), Darwin) export tbb_os=macos endif Index: tbb-4.2~20130725/build/linux.inc =================================================================== --- tbb-4.2~20130725.orig/build/linux.inc 2013-10-08 09:54:10.000000000 +0200 +++ tbb-4.2~20130725/build/linux.inc 2013-10-08 09:54:14.000000000 +0200 @@ -52,6 +52,9 @@ ifeq ($(uname_m),i686) export arch:=ia32 endif + ifeq ($(uname_m),i686-AT386) + export arch:=ia32 + endif ifeq ($(uname_m),ia64) export arch:=ia64 endif @@ -59,11 +62,17 @@ export arch:=intel64 endif ifeq ($(uname_m),sparc64) - export arch:=sparc + export arch:=sparc64 endif ifeq ($(uname_m),armv7l) export arch:=armv7 endif + ifeq ($(uname_m),ppc) + export arch:=ppc32 + endif + ifeq ($(deb_host_arch),x32) + export arch:=x32 + endif ifndef arch export arch:=$(uname_m) $(warning "Unknown arch: " $(arch)) @@ -112,7 +121,7 @@ ifeq ($(arch),ia64) def_prefix = lin64ipf endif -ifeq ($(arch),sparc) +ifeq ($(arch),sparc64) def_prefix = lin64 endif ifeq ($(arch),armv7) Index: tbb-4.2~20130725/build/linux.gcc.inc =================================================================== --- tbb-4.2~20130725.orig/build/linux.gcc.inc 2013-10-08 09:54:04.000000000 +0200 +++ tbb-4.2~20130725/build/linux.gcc.inc 2013-10-08 09:54:14.000000000 +0200 @@ -104,13 +104,18 @@ LIB_LINK_FLAGS += -m32 endif +ifeq (x32,$(arch)) + CPLUS_FLAGS += -mx32 + LIB_LINK_FLAGS += -mx32 +endif + ifeq (bgp,$(arch)) CPLUS = mpicxx CONLY = mpicc endif # for some gcc versions on Solaris, -m64 may imply V9, but perhaps not everywhere (TODO: verify) -ifeq (sparc,$(arch)) +ifeq (sparc64,$(arch)) CPLUS_FLAGS += -mcpu=v9 -m64 LIB_LINK_FLAGS += -mcpu=v9 -m64 endif Index: tbb-4.2~20130725/build/FreeBSD.inc =================================================================== --- tbb-4.2~20130725.orig/build/FreeBSD.inc 2013-10-08 09:54:04.000000000 +0200 +++ tbb-4.2~20130725/build/FreeBSD.inc 2013-10-08 09:54:14.000000000 +0200 @@ -25,15 +25,22 @@ # the GNU General Public License. ifndef arch - ifeq ($(shell uname -m),i386) + uname_m:=$(shell uname -m) + uname_a:=$(shell uname -a) + ifeq ($(uname_m),i386) export arch:=ia32 endif - ifeq ($(shell uname -m),ia64) + ifeq ($(uname_m),ia64) export arch:=ia64 endif - ifeq ($(shell uname -m),amd64) + ifeq ($(uname_m),amd64) export arch:=intel64 endif + ifndef arch + export arch:=$(uname_m) + $(warning "FreeBSD Unknown arch: " $(arch)) + $(warning "FreeBSD Unknown uname_a: " $(uname_a)) + endif endif ifndef runtime debian/README.source0000664000000000000000000000054312224735364011361 0ustar In order to build tbb on armhf, I had to patch upstream to replace a string matching from armv71 to armv7l. For more discussion see: http://bugs.debian.org/692033 For client code to be able to use tbb on armhf, you will need to compile with: CXXFLAGS+=-Wa,-mimplicit-it=thumb -- Mathieu Malaterre Wed, 18 Sep 2013 09:22:27 +0200 debian/compat0000664000000000000000000000000212224735364010376 0ustar 9 debian/tbb.pc.in0000664000000000000000000000043412224735364010701 0ustar prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: Threading Building Blocks Description: Intel's parallelism library for C++ URL: http://www.threadingbuildingblocks.org/ Version: @VERSION@ Libs: -L${libdir} -ltbb Cflags: -I${includedir} debian/libtbb-dev.install0000664000000000000000000000014212224735364012577 0ustar include/tbb usr/include build/linux_*_release/lib*.so usr/lib debian/tbb.pc usr/lib/pkgconfig