[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2024-04-19 Thread Sam James
commit: 0cd4481bf0f054348dc784cfcdb1e2c32c2152bd
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 19 12:09:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 19 12:23:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cd4481b

dev-cpp/tbb: add 2021.12.0

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/Manifest |  1 +
 dev-cpp/tbb/tbb-2021.12.0.ebuild | 48 
 2 files changed, 49 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index e4e7325a6e97..53078a6dae42 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,6 +1,7 @@
 DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a
 SHA512 
04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87
 DIST tbb-2021.10.0.tar.gz 2598088 BLAKE2B 
ba8352474b97c3d98b534cbfd8f61af165352967529f19226dbae17f17d20a8b5dfd7a3b29bab85431620cea1ee1c5990ec7311cc9b1b865d6aa1800540dd6d0
 SHA512 
d71cf317e7f78948c1ea20977cfcfba1eff72cb20c457c87e624cb3aaa3215a1c24c11ed6ed99cf118c577d956234202458bb5e0215c9c317099d9c3b732
 DIST tbb-2021.11.0.tar.gz 2613493 BLAKE2B 
2b56042c8126709b6f36c1118685b28ddf2ff39b6563aae168d6bb8106d234757ff125a39da37f907a7da62f2f2ad64e4db01ca028d20c1e74def4ba2e92c1a6
 SHA512 
4779141b7602f2fa3a509fdd346824ba270a3a568df3649ce8cb51264d233df5cec5e5cb67b91319dd11d3d5e054697b4ed345e07216107985ddb6e1e7ef94e5
+DIST tbb-2021.12.0.tar.gz 2617255 BLAKE2B 
3e1db8b1972a7225c5355def66ae40006e6e0f0f97e2efff45dd361f724e348a2f0476bc14b59f89f5361cac6fa36a4973602467bc7fbb2b8b139a4ff4dd58de
 SHA512 
64022bcb61cf7b2030a1bcc11168445ef9f0d69b70290233a7febb71cc7a12cc2282dddc045f84e30893efe276342f02fd78d176706268eeaefe9aac7446d4e9
 DIST tbb-2021.5.0.tar.gz 2463218 BLAKE2B 
2d50d312b86318ba4923afe68753b3781f9646cbdb33861f3458301a3a19b7ca3aab6959dca085294dfc743d7f552635f80fb524ec5d780a46f58ffe02e3280d
 SHA512 
0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46
 DIST tbb-2021.7.0.tar.gz 2571727 BLAKE2B 
2977ef1a33d9bc7baa40e0e57c02e62798a09c6c66cdbe369f2702d87fd9877c3d97f8d83f71384028995ea0956f5c5630d4aaf4edbe68538e7c514d3b87085c
 SHA512 
d314e3d88b85c96607a9eda15e3d808bf361eb562a534c59101929236e90c187883e7718e5435b5e7f01f4ee652c9765af95f5f173368b83997e4666b7403a49
 DIST tbb-2021.8.0.tar.gz 2575336 BLAKE2B 
2c3a7f0e59d70b17550f805461a15a520c7f1b3a37a41bd51c51f9f5863b50812d2b939351e11e0f4ceb3da8a47e413abe171bcb6bfb71c0fe2f81ed373f65f2
 SHA512 
72f68730dfd89409796f9548d3c302111787712089688a7c77092ed1b3a7bf4e7444fe4b58015d2c78b7b71259852526789b2483bf1e71bea8146c4b4676e7b4

diff --git a/dev-cpp/tbb/tbb-2021.12.0.ebuild b/dev-cpp/tbb/tbb-2021.12.0.ebuild
new file mode 100644
index ..3ac69c080835
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2021.12.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib flag-o-matic
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://github.com/oneapi-src/oneTBB;
+SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+S="${WORKDIR}/oneTBB-${PV}"
+
+LICENSE="Apache-2.0"
+# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
+# libtbb-libtbbmalloc-libtbbbind
+SLOT="0/12.5-2.5-3.5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="!kernel_Darwin? ( sys-apps/hwloc:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2021.8.0-gcc-13.patch
+)
+
+src_prepare() {
+   # Has an #error to force compilation as C but links with C++ library, 
dies
+   # with GLIBCXX_ASSERTIONS as a result.
+   sed -i -e '/tbb_add_c_test(SUBDIR tbbmalloc NAME test_malloc_pure_c 
DEPENDENCIES TBB::tbbmalloc)/d' test/CMakeLists.txt || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   # Workaround for bug #912210
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
+   local mycmakeargs=(
+   -DTBB_TEST=$(usex test)
+   -DTBB_ENABLE_IPO=OFF
+   -DTBB_STRICT=OFF
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2024-01-28 Thread Sam James
commit: 02d9351d758b8e0e604e347f6068bcbb3c8f8f03
Author: Sv. Lockal  gmail  com>
AuthorDate: Sat Jan 27 19:49:15 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 28 22:13:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d9351d

dev-cpp/tbb: fix build with ld.lld (error: version script assignment of 'local' 
to symbol ...)

Closes: https://bugs.gentoo.org/912210
Signed-off-by: Sv. Lockal  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35048
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2020.3.ebuild  |  7 +--
 dev-cpp/tbb/tbb-2021.10.0.ebuild   |  7 +--
 dev-cpp/tbb/tbb-2021.11.0.ebuild   |  7 +--
 dev-cpp/tbb/tbb-2021.5.0-r1.ebuild | 10 --
 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild |  7 +--
 dev-cpp/tbb/tbb-2021.7.0.ebuild|  5 -
 dev-cpp/tbb/tbb-2021.8.0.ebuild|  7 +--
 dev-cpp/tbb/tbb-2021.9.0.ebuild|  7 +--
 8 files changed, 42 insertions(+), 15 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2020.3.ebuild b/dev-cpp/tbb/tbb-2020.3.ebuild
index 27479b3e46af..36dc24e44018 100644
--- a/dev-cpp/tbb/tbb-2020.3.ebuild
+++ b/dev-cpp/tbb/tbb-2020.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit flag-o-matic multilib-minimal multilib toolchain-funcs
+inherit flag-o-matic multilib-minimal multilib multibuild toolchain-funcs
 
 PV1="$(ver_cut 1)"
 PV2="$(ver_cut 2)"
@@ -40,6 +40,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+   # Workaround for bug #912210
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
# pc files are for debian and fedora compatibility
# some deps use them
cat <<-EOF > ${PN}.pc.template

diff --git a/dev-cpp/tbb/tbb-2021.10.0.ebuild b/dev-cpp/tbb/tbb-2021.10.0.ebuild
index 2e11233b7583..3d0e05e45514 100644
--- a/dev-cpp/tbb/tbb-2021.10.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.10.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake-multilib
+inherit cmake-multilib flag-o-matic
 
 DESCRIPTION="High level abstract threading library"
 HOMEPAGE="https://github.com/oneapi-src/oneTBB;
@@ -27,6 +27,9 @@ PATCHES=(
 )
 
 src_prepare() {
+   # Workaround for bug #912210
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
# Has an #error to force compilation as C but links with C++ library, 
dies
# with GLIBCXX_ASSERTIONS as a result.
sed -i -e '/tbb_add_c_test(SUBDIR tbbmalloc NAME test_malloc_pure_c 
DEPENDENCIES TBB::tbbmalloc)/d' test/CMakeLists.txt || die

diff --git a/dev-cpp/tbb/tbb-2021.11.0.ebuild b/dev-cpp/tbb/tbb-2021.11.0.ebuild
index 2e11233b7583..3ac69c080835 100644
--- a/dev-cpp/tbb/tbb-2021.11.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.11.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake-multilib
+inherit cmake-multilib flag-o-matic
 
 DESCRIPTION="High level abstract threading library"
 HOMEPAGE="https://github.com/oneapi-src/oneTBB;
@@ -35,6 +35,9 @@ src_prepare() {
 }
 
 src_configure() {
+   # Workaround for bug #912210
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
local mycmakeargs=(
-DTBB_TEST=$(usex test)
-DTBB_ENABLE_IPO=OFF

diff --git a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index edfd4bd37ec7..adb066b4c2d9 100644
--- a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake-multilib
+inherit cmake-multilib flag-o-matic
 
 DESCRIPTION="High level abstract threading library"
 HOMEPAGE="https://github.com/oneapi-src/oneTBB;
@@ -39,6 +39,12 @@ PATCHES=(
 )
 
 src_configure() {
+   # Workaround for bug #912210
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
+   # Workaround for bug #912210
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
local mycmakeargs=(
-DTBB_TEST=$(usex test)
-DTBB_ENABLE_IPO=OFF

diff --git a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
index 4263e849f7d0..dd9c26717c7e 100644
--- a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake-multilib
+inherit cmake-multilib flag-o-matic
 
 DESCRIPTION="High level abstract 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-12-04 Thread Sam James
commit: 09bb0c6c3eaf27e1e966b3b08d7dbc14279aaddb
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec  4 10:46:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec  4 10:46:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bb0c6c

dev-cpp/tbb: add 2021.11.0

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/Manifest |  1 +
 dev-cpp/tbb/tbb-2021.11.0.ebuild | 45 
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 341912467865..e4e7325a6e97 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,5 +1,6 @@
 DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a
 SHA512 
04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87
 DIST tbb-2021.10.0.tar.gz 2598088 BLAKE2B 
ba8352474b97c3d98b534cbfd8f61af165352967529f19226dbae17f17d20a8b5dfd7a3b29bab85431620cea1ee1c5990ec7311cc9b1b865d6aa1800540dd6d0
 SHA512 
d71cf317e7f78948c1ea20977cfcfba1eff72cb20c457c87e624cb3aaa3215a1c24c11ed6ed99cf118c577d956234202458bb5e0215c9c317099d9c3b732
+DIST tbb-2021.11.0.tar.gz 2613493 BLAKE2B 
2b56042c8126709b6f36c1118685b28ddf2ff39b6563aae168d6bb8106d234757ff125a39da37f907a7da62f2f2ad64e4db01ca028d20c1e74def4ba2e92c1a6
 SHA512 
4779141b7602f2fa3a509fdd346824ba270a3a568df3649ce8cb51264d233df5cec5e5cb67b91319dd11d3d5e054697b4ed345e07216107985ddb6e1e7ef94e5
 DIST tbb-2021.5.0.tar.gz 2463218 BLAKE2B 
2d50d312b86318ba4923afe68753b3781f9646cbdb33861f3458301a3a19b7ca3aab6959dca085294dfc743d7f552635f80fb524ec5d780a46f58ffe02e3280d
 SHA512 
0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46
 DIST tbb-2021.7.0.tar.gz 2571727 BLAKE2B 
2977ef1a33d9bc7baa40e0e57c02e62798a09c6c66cdbe369f2702d87fd9877c3d97f8d83f71384028995ea0956f5c5630d4aaf4edbe68538e7c514d3b87085c
 SHA512 
d314e3d88b85c96607a9eda15e3d808bf361eb562a534c59101929236e90c187883e7718e5435b5e7f01f4ee652c9765af95f5f173368b83997e4666b7403a49
 DIST tbb-2021.8.0.tar.gz 2575336 BLAKE2B 
2c3a7f0e59d70b17550f805461a15a520c7f1b3a37a41bd51c51f9f5863b50812d2b939351e11e0f4ceb3da8a47e413abe171bcb6bfb71c0fe2f81ed373f65f2
 SHA512 
72f68730dfd89409796f9548d3c302111787712089688a7c77092ed1b3a7bf4e7444fe4b58015d2c78b7b71259852526789b2483bf1e71bea8146c4b4676e7b4

diff --git a/dev-cpp/tbb/tbb-2021.11.0.ebuild b/dev-cpp/tbb/tbb-2021.11.0.ebuild
new file mode 100644
index ..2e11233b7583
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2021.11.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://github.com/oneapi-src/oneTBB;
+SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+S="${WORKDIR}/oneTBB-${PV}"
+
+LICENSE="Apache-2.0"
+# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
+# libtbb-libtbbmalloc-libtbbbind
+SLOT="0/12.5-2.5-3.5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="!kernel_Darwin? ( sys-apps/hwloc:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2021.8.0-gcc-13.patch
+)
+
+src_prepare() {
+   # Has an #error to force compilation as C but links with C++ library, 
dies
+   # with GLIBCXX_ASSERTIONS as a result.
+   sed -i -e '/tbb_add_c_test(SUBDIR tbbmalloc NAME test_malloc_pure_c 
DEPENDENCIES TBB::tbbmalloc)/d' test/CMakeLists.txt || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DTBB_TEST=$(usex test)
+   -DTBB_ENABLE_IPO=OFF
+   -DTBB_STRICT=OFF
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-07-25 Thread Sam James
commit: 1fa629b6b60da2207364d0d995dd89f748753f84
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 26 04:06:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 26 04:06:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fa629b6

dev-cpp/tbb: add 2021.10.0

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/Manifest |  1 +
 dev-cpp/tbb/tbb-2021.10.0.ebuild | 45 
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 34ae60229d43..341912467865 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,4 +1,5 @@
 DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a
 SHA512 
04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87
+DIST tbb-2021.10.0.tar.gz 2598088 BLAKE2B 
ba8352474b97c3d98b534cbfd8f61af165352967529f19226dbae17f17d20a8b5dfd7a3b29bab85431620cea1ee1c5990ec7311cc9b1b865d6aa1800540dd6d0
 SHA512 
d71cf317e7f78948c1ea20977cfcfba1eff72cb20c457c87e624cb3aaa3215a1c24c11ed6ed99cf118c577d956234202458bb5e0215c9c317099d9c3b732
 DIST tbb-2021.5.0.tar.gz 2463218 BLAKE2B 
2d50d312b86318ba4923afe68753b3781f9646cbdb33861f3458301a3a19b7ca3aab6959dca085294dfc743d7f552635f80fb524ec5d780a46f58ffe02e3280d
 SHA512 
0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46
 DIST tbb-2021.7.0.tar.gz 2571727 BLAKE2B 
2977ef1a33d9bc7baa40e0e57c02e62798a09c6c66cdbe369f2702d87fd9877c3d97f8d83f71384028995ea0956f5c5630d4aaf4edbe68538e7c514d3b87085c
 SHA512 
d314e3d88b85c96607a9eda15e3d808bf361eb562a534c59101929236e90c187883e7718e5435b5e7f01f4ee652c9765af95f5f173368b83997e4666b7403a49
 DIST tbb-2021.8.0.tar.gz 2575336 BLAKE2B 
2c3a7f0e59d70b17550f805461a15a520c7f1b3a37a41bd51c51f9f5863b50812d2b939351e11e0f4ceb3da8a47e413abe171bcb6bfb71c0fe2f81ed373f65f2
 SHA512 
72f68730dfd89409796f9548d3c302111787712089688a7c77092ed1b3a7bf4e7444fe4b58015d2c78b7b71259852526789b2483bf1e71bea8146c4b4676e7b4

diff --git a/dev-cpp/tbb/tbb-2021.10.0.ebuild b/dev-cpp/tbb/tbb-2021.10.0.ebuild
new file mode 100644
index ..2e11233b7583
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2021.10.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://github.com/oneapi-src/oneTBB;
+SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+S="${WORKDIR}/oneTBB-${PV}"
+
+LICENSE="Apache-2.0"
+# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
+# libtbb-libtbbmalloc-libtbbbind
+SLOT="0/12.5-2.5-3.5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="!kernel_Darwin? ( sys-apps/hwloc:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2021.8.0-gcc-13.patch
+)
+
+src_prepare() {
+   # Has an #error to force compilation as C but links with C++ library, 
dies
+   # with GLIBCXX_ASSERTIONS as a result.
+   sed -i -e '/tbb_add_c_test(SUBDIR tbbmalloc NAME test_malloc_pure_c 
DEPENDENCIES TBB::tbbmalloc)/d' test/CMakeLists.txt || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DTBB_TEST=$(usex test)
+   -DTBB_ENABLE_IPO=OFF
+   -DTBB_STRICT=OFF
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-06-09 Thread Arthur Zamarin
commit: 4e70cba3530e54a26508f18c96dd2c714727f436
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 17:21:52 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 17:21:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e70cba3

dev-cpp/tbb: Stabilize 2021.9.0 amd64, #908149

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/tbb/tbb-2021.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.9.0.ebuild b/dev-cpp/tbb/tbb-2021.9.0.ebuild
index 3866f2b872eb..2b915f2be22a 100644
--- a/dev-cpp/tbb/tbb-2021.9.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.9.0.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-06-09 Thread Arthur Zamarin
commit: e441cc40424c5bfe8bf61fa849eda645c53fc226
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 16:43:13 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 16:43:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e441cc40

dev-cpp/tbb: Stabilize 2021.9.0 arm64, #908149

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/tbb/tbb-2021.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.9.0.ebuild b/dev-cpp/tbb/tbb-2021.9.0.ebuild
index 10ac0fd38ea0..3866f2b872eb 100644
--- a/dev-cpp/tbb/tbb-2021.9.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.9.0.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-06-09 Thread Arthur Zamarin
commit: a3b71b62b55eae0f2fced5abbd35f26331e5ea52
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 16:13:12 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 16:13:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b71b62

dev-cpp/tbb: Stabilize 2021.9.0 ppc64, #908149

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/tbb/tbb-2021.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.9.0.ebuild b/dev-cpp/tbb/tbb-2021.9.0.ebuild
index afd21fbcf596..10ac0fd38ea0 100644
--- a/dev-cpp/tbb/tbb-2021.9.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.9.0.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-06-09 Thread Sam James
commit: 5df92429a433525c6a5ab88c18c72aa844a4ca25
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 14:37:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 14:38:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df92429

dev-cpp/tbb: Stabilize 2021.9.0 arm, #908149

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.9.0.ebuild b/dev-cpp/tbb/tbb-2021.9.0.ebuild
index 2e11233b7583..afd21fbcf596 100644
--- a/dev-cpp/tbb/tbb-2021.9.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.9.0.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/, dev-cpp/tbb/files/

2023-04-27 Thread Sam James
commit: a9037e17ac83d5013b3393c7b703809a99574bc4
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 28 00:46:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 28 00:46:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9037e17

dev-cpp/tbb: fix build w/ gcc 13

Closes: https://bugs.gentoo.org/899746
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/files/tbb-2020.3-gcc13.patch | 35 
 dev-cpp/tbb/tbb-2020.3.ebuild|  7 +--
 2 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/tbb/files/tbb-2020.3-gcc13.patch 
b/dev-cpp/tbb/files/tbb-2020.3-gcc13.patch
new file mode 100644
index ..1c0803048ca7
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2020.3-gcc13.patch
@@ -0,0 +1,35 @@
+https://bugs.gentoo.org/899746
+https://github.com/oneapi-src/oneTBB/pull/833
+
+From c18342ba667d1f33f5e9a773aa86b091a9694b97 Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich 
+Date: Fri, 20 May 2022 07:50:00 +0100
+Subject: [PATCH] tbb_2020: fix build on gcc-13
+
+On gcc-13 build started failing due to 'task' identifier collision as:
+
+../../include/tbb/task.h:300:20: error: declaration of 'tbb::task& 
tbb::internal::task_prefix::task()' changes meaning of 'task' [-fpermissive]
+  300 | tbb::task& task() {return 
*reinterpret_cast(this+1);}
+  |^~~~
+../../include/tbb/task.h:252:9: note: used here to mean 'class tbb::task'
+  252 | task* next_offloaded;
+  | ^~~~
+../../include/tbb/task.h:43:7: note: declared here
+   43 | class task;
+  |   ^~~~
+
+The change adds explicit qualifier to class name to avoid ambiguity with 
method name.
+
+Signed-off-by: Sergei Trofimovich 
+--- a/include/tbb/task.h
 b/include/tbb/task.h
+@@ -249,7 +249,7 @@ namespace internal {
+ #if __TBB_TASK_PRIORITY
+ //! Pointer to the next offloaded lower priority task.
+ /** Used to maintain a list of offloaded tasks inside the scheduler. 
**/
+-task* next_offloaded;
++tbb::task* next_offloaded;
+ #endif
+ 
+ #if __TBB_PREVIEW_RESUMABLE_TASKS
+

diff --git a/dev-cpp/tbb/tbb-2020.3.ebuild b/dev-cpp/tbb/tbb-2020.3.ebuild
index f784dbdaec54..9e6f7e2e6797 100644
--- a/dev-cpp/tbb/tbb-2020.3.ebuild
+++ b/dev-cpp/tbb/tbb-2020.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,7 +23,10 @@ S="${WORKDIR}/oneTBB-${MY_PV}"
 
 DOCS=( CHANGES README README.md doc/Release_Notes.txt )
 
-PATCHES=( "${FILESDIR}"/${PN}-2020.1-makefile-debug.patch )
+PATCHES=(
+   "${FILESDIR}"/${PN}-2020.1-makefile-debug.patch
+   "${FILESDIR}"/${PN}-2020.3-gcc13.patch
+)
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-04-14 Thread Sam James
commit: a25ad1d366b2806cf907da8fda7583c9e8d6818c
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 15 02:10:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 15 02:10:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a25ad1d3

dev-cpp/tbb: add 2021.9.0

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/Manifest|  1 +
 dev-cpp/tbb/tbb-2021.9.0.ebuild | 45 +
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index b2964240e09f..34ae60229d43 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -2,3 +2,4 @@ DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177ab
 DIST tbb-2021.5.0.tar.gz 2463218 BLAKE2B 
2d50d312b86318ba4923afe68753b3781f9646cbdb33861f3458301a3a19b7ca3aab6959dca085294dfc743d7f552635f80fb524ec5d780a46f58ffe02e3280d
 SHA512 
0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46
 DIST tbb-2021.7.0.tar.gz 2571727 BLAKE2B 
2977ef1a33d9bc7baa40e0e57c02e62798a09c6c66cdbe369f2702d87fd9877c3d97f8d83f71384028995ea0956f5c5630d4aaf4edbe68538e7c514d3b87085c
 SHA512 
d314e3d88b85c96607a9eda15e3d808bf361eb562a534c59101929236e90c187883e7718e5435b5e7f01f4ee652c9765af95f5f173368b83997e4666b7403a49
 DIST tbb-2021.8.0.tar.gz 2575336 BLAKE2B 
2c3a7f0e59d70b17550f805461a15a520c7f1b3a37a41bd51c51f9f5863b50812d2b939351e11e0f4ceb3da8a47e413abe171bcb6bfb71c0fe2f81ed373f65f2
 SHA512 
72f68730dfd89409796f9548d3c302111787712089688a7c77092ed1b3a7bf4e7444fe4b58015d2c78b7b71259852526789b2483bf1e71bea8146c4b4676e7b4
+DIST tbb-2021.9.0.tar.gz 2579150 BLAKE2B 
f6f701df1605913770222689063ff422416f86f132fb3fbc80f383b7c52762d3804e75200ca4826906b16c66f674918bcfd78b16a1dafb499ca53a9d2b6652ec
 SHA512 
2ece7f678ad7c8968c0ad5cda9f987e4b318c6d9735169e1039beb0ff8dfca18815835875211acc6c7068913d9b0bdd4c9ded22962b0bb48f4a0ce0f7b78f31c

diff --git a/dev-cpp/tbb/tbb-2021.9.0.ebuild b/dev-cpp/tbb/tbb-2021.9.0.ebuild
new file mode 100644
index ..2e11233b7583
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2021.9.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://github.com/oneapi-src/oneTBB;
+SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+S="${WORKDIR}/oneTBB-${PV}"
+
+LICENSE="Apache-2.0"
+# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
+# libtbb-libtbbmalloc-libtbbbind
+SLOT="0/12.5-2.5-3.5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="!kernel_Darwin? ( sys-apps/hwloc:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2021.8.0-gcc-13.patch
+)
+
+src_prepare() {
+   # Has an #error to force compilation as C but links with C++ library, 
dies
+   # with GLIBCXX_ASSERTIONS as a result.
+   sed -i -e '/tbb_add_c_test(SUBDIR tbbmalloc NAME test_malloc_pure_c 
DEPENDENCIES TBB::tbbmalloc)/d' test/CMakeLists.txt || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DTBB_TEST=$(usex test)
+   -DTBB_ENABLE_IPO=OFF
+   -DTBB_STRICT=OFF
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/files/, dev-cpp/tbb/

2023-02-21 Thread Sam James
commit: db75708351c07eb215d5b6635946ad4e9a4b424b
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 21 09:59:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 21 10:00:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db757083

dev-cpp/tbb: add 2021.8.0

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/Manifest|  1 +
 dev-cpp/tbb/files/tbb-2021.8.0-gcc-13.patch | 26 
 dev-cpp/tbb/tbb-2021.8.0.ebuild | 46 +
 3 files changed, 73 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 2235f67725f0..b2964240e09f 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,3 +1,4 @@
 DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a
 SHA512 
04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87
 DIST tbb-2021.5.0.tar.gz 2463218 BLAKE2B 
2d50d312b86318ba4923afe68753b3781f9646cbdb33861f3458301a3a19b7ca3aab6959dca085294dfc743d7f552635f80fb524ec5d780a46f58ffe02e3280d
 SHA512 
0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46
 DIST tbb-2021.7.0.tar.gz 2571727 BLAKE2B 
2977ef1a33d9bc7baa40e0e57c02e62798a09c6c66cdbe369f2702d87fd9877c3d97f8d83f71384028995ea0956f5c5630d4aaf4edbe68538e7c514d3b87085c
 SHA512 
d314e3d88b85c96607a9eda15e3d808bf361eb562a534c59101929236e90c187883e7718e5435b5e7f01f4ee652c9765af95f5f173368b83997e4666b7403a49
+DIST tbb-2021.8.0.tar.gz 2575336 BLAKE2B 
2c3a7f0e59d70b17550f805461a15a520c7f1b3a37a41bd51c51f9f5863b50812d2b939351e11e0f4ceb3da8a47e413abe171bcb6bfb71c0fe2f81ed373f65f2
 SHA512 
72f68730dfd89409796f9548d3c302111787712089688a7c77092ed1b3a7bf4e7444fe4b58015d2c78b7b71259852526789b2483bf1e71bea8146c4b4676e7b4

diff --git a/dev-cpp/tbb/files/tbb-2021.8.0-gcc-13.patch 
b/dev-cpp/tbb/files/tbb-2021.8.0-gcc-13.patch
new file mode 100644
index ..84a0ba3dc7a1
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.8.0-gcc-13.patch
@@ -0,0 +1,26 @@
+https://github.com/oneapi-src/oneTBB/pull/1031
+
+From 363bf59bef2649b4d427788522da27c12f984a9a Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Tue, 21 Feb 2023 09:36:33 +
+Subject: [PATCH] test: common: include  for abort() (fix build with
+ GCC 13)
+
+GCC 13 (as usual for new compiler releases) shuffles around some
+internal includes and so  etc is no longer transitively included.
+
+See https://www.gnu.org/software/gcc/gcc-13/porting_to.html.
+
+Signed-off-by: Sam James 
+--- a/test/common/utils_assert.h
 b/test/common/utils_assert.h
+@@ -20,6 +20,8 @@
+ #include "config.h"
+ #include "utils_report.h"
+ 
++#include 
++
+ #define REPORT_FATAL_ERROR REPORT
+ 
+ namespace utils {
+

diff --git a/dev-cpp/tbb/tbb-2021.8.0.ebuild b/dev-cpp/tbb/tbb-2021.8.0.ebuild
new file mode 100644
index ..7fdc1d716762
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2021.8.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://github.com/oneapi-src/oneTBB;
+SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+S="${WORKDIR}/oneTBB-${PV}"
+
+LICENSE="Apache-2.0"
+# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
+# libtbb-libtbbmalloc-libtbbbind
+SLOT="0/12.5-2.5-3.5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="!kernel_Darwin? ( sys-apps/hwloc:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2021.7.0-pthread-eagain.patch
+   "${FILESDIR}"/${PN}-2021.8.0-gcc-13.patch
+)
+
+src_prepare() {
+   # Has an #error to force compilation as C but links with C++ library, 
dies
+   # with GLIBCXX_ASSERTIONS as a result.
+   sed -i -e '/tbb_add_c_test(SUBDIR tbbmalloc NAME test_malloc_pure_c 
DEPENDENCIES TBB::tbbmalloc)/d' test/CMakeLists.txt || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DTBB_TEST=$(usex test)
+   -DTBB_ENABLE_IPO=OFF
+   -DTBB_STRICT=OFF
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-01-13 Thread Arthur Zamarin
commit: 9cd7dd5055ff36da5c487ddd396119b5bd2e4f2b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan 13 12:36:26 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan 13 12:36:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd7dd50

dev-cpp/tbb: Stabilize 2021.7.0-r1 ppc, #889774

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
index 0f8a397a9365..4263e849f7d0 100644
--- a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-01-04 Thread Sam James
commit: 11c36729cfedea369eefd41e137f5da4fdc96125
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  5 04:38:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  5 04:38:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c36729

dev-cpp/tbb: Stabilize 2021.7.0-r1 ppc64, #889774

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
index 04ecae59e8fc..0f8a397a9365 100644
--- a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-01-04 Thread Sam James
commit: 1597196cf431666959c5ee49c1cf895249bc117c
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  5 04:38:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  5 04:38:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1597196c

dev-cpp/tbb: Stabilize 2021.7.0-r1 arm64, #889774

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
index 5191c94211cb..20c20efbdfbc 100644
--- a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-01-04 Thread Sam James
commit: 1177e3c7d477019f69f49e4b983af66689927417
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  5 04:38:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  5 04:38:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1177e3c7

dev-cpp/tbb: Stabilize 2021.7.0-r1 arm, #889774

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
index 20c20efbdfbc..04ecae59e8fc 100644
--- a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-01-04 Thread Sam James
commit: ecdd94c09912df8dde7dc0438cf0fe39b67760e3
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  5 04:38:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  5 04:38:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecdd94c0

dev-cpp/tbb: Stabilize 2021.7.0-r1 x86, #889774

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
index 38603dc7204b..af7704e769f4 100644
--- a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2023-01-04 Thread Sam James
commit: b6930ad3d4dc26ee62468fa281f68d5aa5c4ed66
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  5 04:38:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  5 04:38:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6930ad3

dev-cpp/tbb: Stabilize 2021.7.0-r1 amd64, #889774

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
index af7704e769f4..5191c94211cb 100644
--- a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-12-02 Thread WANG Xuerui
commit: 51ef09a6685f14d752a3171702b92a18d3416962
Author: WANG Xuerui  gentoo  org>
AuthorDate: Fri Dec  2 18:31:24 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat Dec  3 04:46:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51ef09a6

dev-cpp/tbb: keyword 2021.7.0-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
index a958dc554ff0..38603dc7204b 100644
--- a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-11-25 Thread Arthur Zamarin
commit: ae9f604c5367dae79e06db3ebe39825ea6483bef
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 25 12:08:05 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 25 12:08:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae9f604c

dev-cpp/tbb: Stabilize 2021.7.0 ppc, #881847

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0.ebuild b/dev-cpp/tbb/tbb-2021.7.0.ebuild
index 9a54db00cae0..5f2737037ddb 100644
--- a/dev-cpp/tbb/tbb-2021.7.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-11-25 Thread Arthur Zamarin
commit: 96d09b500162a2d4417749517f59c07d65b4b5cf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 25 12:05:10 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 25 12:05:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d09b50

dev-cpp/tbb: Stabilize 2021.7.0 arm64, #881847

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0.ebuild b/dev-cpp/tbb/tbb-2021.7.0.ebuild
index 4de15cfb581f..9a54db00cae0 100644
--- a/dev-cpp/tbb/tbb-2021.7.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-11-23 Thread Andrew Ammerlaan
commit: 080e3d357377fa1f51917754a3d6c6f7d27a844b
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Nov 23 17:32:01 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Nov 23 17:32:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=080e3d35

dev-cpp/tbb: update homepage

permanently redirected

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-cpp/tbb/metadata.xml   | 2 +-
 dev-cpp/tbb/tbb-2020.3.ebuild  | 2 +-
 dev-cpp/tbb/tbb-2021.5.0-r1.ebuild | 2 +-
 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild | 2 +-
 dev-cpp/tbb/tbb-2021.7.0.ebuild| 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-cpp/tbb/metadata.xml b/dev-cpp/tbb/metadata.xml
index 5c8db0d2f223..7283fc113042 100644
--- a/dev-cpp/tbb/metadata.xml
+++ b/dev-cpp/tbb/metadata.xml
@@ -13,6 +13,6 @@
   for performance and scalability.
   
   
-intel/tbb
+oneapi-src/oneTBB
   
 

diff --git a/dev-cpp/tbb/tbb-2020.3.ebuild b/dev-cpp/tbb/tbb-2020.3.ebuild
index 3cdf62035bbc..f784dbdaec54 100644
--- a/dev-cpp/tbb/tbb-2020.3.ebuild
+++ b/dev-cpp/tbb/tbb-2020.3.ebuild
@@ -10,7 +10,7 @@ PV2="$(ver_cut 2)"
 MY_PV="${PV1}_U${PV2}"
 
 DESCRIPTION="High level abstract threading library"
-HOMEPAGE="https://www.threadingbuildingblocks.org;
+HOMEPAGE="https://github.com/oneapi-src/oneTBB;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"

diff --git a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index 472d9fb15954..edfd4bd37ec7 100644
--- a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit cmake-multilib
 
 DESCRIPTION="High level abstract threading library"
-HOMEPAGE="https://www.threadingbuildingblocks.org;
+HOMEPAGE="https://github.com/oneapi-src/oneTBB;
 SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
 S="${WORKDIR}/oneTBB-${PV}"
 

diff --git a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
index 04d4abceddcf..a958dc554ff0 100644
--- a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit cmake-multilib
 
 DESCRIPTION="High level abstract threading library"
-HOMEPAGE="https://www.threadingbuildingblocks.org;
+HOMEPAGE="https://github.com/oneapi-src/oneTBB;
 SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
 S="${WORKDIR}/oneTBB-${PV}"
 

diff --git a/dev-cpp/tbb/tbb-2021.7.0.ebuild b/dev-cpp/tbb/tbb-2021.7.0.ebuild
index e64bd851162c..4de15cfb581f 100644
--- a/dev-cpp/tbb/tbb-2021.7.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit cmake-multilib flag-o-matic
 
 DESCRIPTION="High level abstract threading library"
-HOMEPAGE="https://www.threadingbuildingblocks.org;
+HOMEPAGE="https://github.com/oneapi-src/oneTBB;
 SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
 S="${WORKDIR}/oneTBB-${PV}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-11-23 Thread Jakov Smolić
commit: 996fbe2bed51b545744c1d3d1841b6cb6d063f38
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Nov 23 14:11:08 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Nov 23 14:11:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=996fbe2b

dev-cpp/tbb: Stabilize 2021.7.0 x86, #881847

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0.ebuild b/dev-cpp/tbb/tbb-2021.7.0.ebuild
index 439a0b99a71c..e64bd851162c 100644
--- a/dev-cpp/tbb/tbb-2021.7.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-11-22 Thread Sam James
commit: a99a075d810bff2ba95b28506e4fc6213fdc8904
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 22 20:16:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 22 20:16:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a99a075d

dev-cpp/tbb: drop obsolete filter-flags for GLIBCXX_ASSERTIONS

Closes: https://bugs.gentoo.org/872287
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
index d88f920769a0..04d4abceddcf 100644
--- a/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake-multilib flag-o-matic
+inherit cmake-multilib
 
 DESCRIPTION="High level abstract threading library"
 HOMEPAGE="https://www.threadingbuildingblocks.org;
@@ -27,10 +27,6 @@ PATCHES=(
 )
 
 src_configure() {
-   # bug #872287
-   filter-flags -D_GLIBCXX_ASSERTIONS
-   append-cppflags -U_GLIBCXX_ASSERTIONS
-
local mycmakeargs=(
-DTBB_TEST=$(usex test)
-DTBB_ENABLE_IPO=OFF



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-11-18 Thread Sam James
commit: 9003c8c4368982334a087b24b9105e85822f52aa
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 19 04:03:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 19 04:03:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9003c8c4

dev-cpp/tbb: Stabilize 2021.7.0 arm, #881847

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0.ebuild b/dev-cpp/tbb/tbb-2021.7.0.ebuild
index 79f291626552..439a0b99a71c 100644
--- a/dev-cpp/tbb/tbb-2021.7.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-11-18 Thread Sam James
commit: 6c51cf2589590dfbbab8ffc826390de7f41e2be1
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 19 04:03:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 19 04:03:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c51cf25

dev-cpp/tbb: Stabilize 2021.7.0 ppc64, #881847

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0.ebuild b/dev-cpp/tbb/tbb-2021.7.0.ebuild
index e37aefca4d9a..79f291626552 100644
--- a/dev-cpp/tbb/tbb-2021.7.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-11-18 Thread Sam James
commit: c80eae70b6d69131389605f2aa86455cf6301c29
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 19 03:34:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 19 03:34:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c80eae70

dev-cpp/tbb: Stabilize 2021.7.0 amd64, #881847

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.7.0.ebuild b/dev-cpp/tbb/tbb-2021.7.0.ebuild
index 8c5606ac0e0d..e37aefca4d9a 100644
--- a/dev-cpp/tbb/tbb-2021.7.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.7.0.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/, dev-cpp/tbb/files/

2022-11-18 Thread Sam James
commit: ae4a95da4cdb44ac97adfc4c48d89317c315b5d1
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 19 02:27:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 19 03:19:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae4a95da

dev-cpp/tbb: backport pthread EAGAIN patch for mold

Closes: https://bugs.gentoo.org/881161
Signed-off-by: Sam James  gentoo.org>

 .../tbb/files/tbb-2021.7.0-pthread-eagain.patch| 135 +
 dev-cpp/tbb/tbb-2021.7.0-r1.ebuild |  41 +++
 2 files changed, 176 insertions(+)

diff --git a/dev-cpp/tbb/files/tbb-2021.7.0-pthread-eagain.patch 
b/dev-cpp/tbb/files/tbb-2021.7.0-pthread-eagain.patch
new file mode 100644
index ..6c0912ec96b7
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.7.0-pthread-eagain.patch
@@ -0,0 +1,135 @@
+https://bugs.gentoo.org/881161
+https://github.com/rui314/mold/issues/410
+https://github.com/oneapi-src/oneTBB/commit/ceacd2207edfb72a8fc235213265afe68ce74ad0
+https://github.com/oneapi-src/oneTBB/commit/137c1a88b690acf3525e0f279720ac489ce66481
+
+From ceacd2207edfb72a8fc235213265afe68ce74ad0 Mon Sep 17 00:00:00 2001
+From: Ilya Isaev 
+Date: Wed, 26 Oct 2022 13:13:51 +0200
+Subject: [PATCH] Rework test_eh_thread to avoid sporadic failures (#946)
+
+Signed-off-by: Isaev, Ilya 
+--- a/test/tbb/test_eh_thread.cpp
 b/test/tbb/test_eh_thread.cpp
+@@ -54,15 +54,16 @@ void limitThreads(size_t limit)
+ CHECK_MESSAGE(0 == ret, "setrlimit has returned an error");
+ }
+ 
+-static bool g_exception_caught = false;
+-static std::mutex m;
+-static std::condition_variable cv;
+-static std::atomic stop{ false };
++size_t getThreadLimit() {
++rlimit rlim;
++
++int ret = getrlimit(RLIMIT_NPROC, );
++CHECK_MESSAGE(0 == ret, "getrlimit has returned an error");
++return rlim.rlim_cur;
++}
+ 
+ static void* thread_routine(void*)
+ {
+-std::unique_lock lock(m);
+-cv.wait(lock, [] { return stop == true; });
+ return nullptr;
+ }
+ 
+@@ -94,32 +95,17 @@ TEST_CASE("Too many threads") {
+ }
+ 
+ // Some systems set really big limit (e.g. >45К) for the number of 
processes/threads
+-limitThreads(1024);
+-
+-std::thread /* isolate test */ ([] {
+-std::vector threads;
+-stop = false;
+-auto finalize = [&] {
+-stop = true;
+-cv.notify_all();
+-for (auto& t : threads) {
+-t.join();
+-}
+-};
+-
+-for (int i = 0;; ++i) {
++limitThreads(1);
++if (getThreadLimit() == 1) {
++for (int attempt = 0; attempt < 5; ++attempt) {
+ Thread thread;
+-if (!thread.isValid()) {
+-break;
+-}
+-threads.push_back(thread);
+-if (i == 1024) {
+-WARN_MESSAGE(false, "setrlimit seems having no effect");
+-finalize();
++if (thread.isValid()) {
++WARN_MESSAGE(false, "We were able to create a thread. 
setrlimit seems having no effect");
++thread.join();
+ return;
+ }
+ }
+-g_exception_caught = false;
++bool g_exception_caught = false;
+ try {
+ // Initialize the library to create worker threads
+ tbb::parallel_for(0, 2, [](int) {});
+@@ -132,9 +118,10 @@ TEST_CASE("Too many threads") {
+ }
+ // Do not CHECK to avoid memory allocation (we can be out of memory)
+ if (!g_exception_caught) {
+-FAIL("No exception was caught");
++FAIL("No exception was thrown on library initialization");
+ }
+-finalize();
+-}).join();
++} else {
++WARN_MESSAGE(false, "setrlimit seems having no effect");
++}
+ }
+ #endif
+
+From 137c1a88b690acf3525e0f279720ac489ce66481 Mon Sep 17 00:00:00 2001
+From: Rui Ueyama 
+Date: Wed, 26 Oct 2022 04:54:20 -0700
+Subject: [PATCH] Retry if pthread_create fails with EAGAIN (#824)
+
+Signed-off-by: Rui Ueyama 
+--- a/src/tbb/rml_thread_monitor.h
 b/src/tbb/rml_thread_monitor.h
+@@ -31,6 +31,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #else
+ #error Unsupported platform
+ #endif
+@@ -191,8 +192,25 @@ inline thread_monitor::handle_type 
thread_monitor::launch( void* (*thread_routin
+ check(pthread_attr_init(  ), "pthread_attr_init has failed");
+ if( stack_size>0 )
+ check(pthread_attr_setstacksize( , stack_size ), 
"pthread_attr_setstack_size has failed" );
++
++// pthread_create(2) can spuriously fail with EAGAIN. We retry
++// max_num_tries times with progressively longer wait times.
+ pthread_t handle;
+-check( pthread_create( , , thread_routine, arg ), 
"pthread_create has failed" );
++const int max_num_tries = 20;
++int error = EAGAIN;
++
++for (int i = 0; i < max_num_tries && error == EAGAIN; i++) {
++  if (i != 0) {
++// Wait i milliseconds
++

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-10-10 Thread Sam James
commit: c4f6f14d8cc6570f90428d18c2c2b9b3f52c45c5
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 10 20:39:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 10 20:39:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f6f14d

dev-cpp/tbb: drop 2021.4.0, 2021.6.0

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/Manifest|  2 --
 dev-cpp/tbb/tbb-2021.4.0.ebuild | 39 ---
 dev-cpp/tbb/tbb-2021.6.0.ebuild | 45 -
 3 files changed, 86 deletions(-)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index ea66fe2fd3fd..2235f67725f0 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,5 +1,3 @@
 DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a
 SHA512 
04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87
-DIST tbb-2021.4.0.tar.gz 2452533 BLAKE2B 
a635c6efa1894c33e2f75c1aa03b6c0f4a86ebef3b58fa42bd25b53d661ed7a9d21f49f121dd3679735f219fbfc35604600bcc72ba60d3602e6de77b0d62e37b
 SHA512 
96da2bc351fd64dfa854f8e6cabc1c4e53af3d55760e99d6f83ad53779c727af333d13d6be0828ed70371cf796498d2063e9dd0e4b2f6451623bb5d28ccbf20b
 DIST tbb-2021.5.0.tar.gz 2463218 BLAKE2B 
2d50d312b86318ba4923afe68753b3781f9646cbdb33861f3458301a3a19b7ca3aab6959dca085294dfc743d7f552635f80fb524ec5d780a46f58ffe02e3280d
 SHA512 
0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46
-DIST tbb-2021.6.0.tar.gz 2566074 BLAKE2B 
ec5d98d2890828323cefabc75011658d508eab531c9b30030162f6ce367c54a8d70d6c6611c00d93ab3ef041ea1af35f8180768e114611847547447545f70c71
 SHA512 
c28bd4045e3269d0d9c24dbf360f849d26eaa15e34fa9dd3f5feae0f3440ff74ab1d05154b95549a135e7d9e97fd9a7ff4b4e468b13265e0477bb58f47e856b6
 DIST tbb-2021.7.0.tar.gz 2571727 BLAKE2B 
2977ef1a33d9bc7baa40e0e57c02e62798a09c6c66cdbe369f2702d87fd9877c3d97f8d83f71384028995ea0956f5c5630d4aaf4edbe68538e7c514d3b87085c
 SHA512 
d314e3d88b85c96607a9eda15e3d808bf361eb562a534c59101929236e90c187883e7718e5435b5e7f01f4ee652c9765af95f5f173368b83997e4666b7403a49

diff --git a/dev-cpp/tbb/tbb-2021.4.0.ebuild b/dev-cpp/tbb/tbb-2021.4.0.ebuild
deleted file mode 100644
index ff94b74527c2..
--- a/dev-cpp/tbb/tbb-2021.4.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="High level abstract threading library"
-HOMEPAGE="https://www.threadingbuildingblocks.org;
-SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
-S="${WORKDIR}/oneTBB-${PV}"
-
-LICENSE="Apache-2.0"
-# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
-# libtbb-libtbbmalloc-libtbbbind
-SLOT="0/12-2-3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-apps/hwloc:="
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-lto.patch
-   # bug 827883
-   "${FILESDIR}"/${P}-missing-TBB_machine_fetchadd4.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DTBB_TEST=$(usex test)
-   -DTBB_ENABLE_IPO=OFF
-   -DTBB_STRICT=OFF
-   )
-
-   cmake-multilib_src_configure
-}

diff --git a/dev-cpp/tbb/tbb-2021.6.0.ebuild b/dev-cpp/tbb/tbb-2021.6.0.ebuild
deleted file mode 100644
index 8314a6dcb3c6..
--- a/dev-cpp/tbb/tbb-2021.6.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib flag-o-matic
-
-DESCRIPTION="High level abstract threading library"
-HOMEPAGE="https://www.threadingbuildingblocks.org;
-SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
-S="${WORKDIR}/oneTBB-${PV}"
-
-LICENSE="Apache-2.0"
-# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
-# libtbb-libtbbmalloc-libtbbbind
-SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="!kernel_Darwin? ( sys-apps/hwloc:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   # need to verify this is in master
-   "${FILESDIR}"/${PN}-2021.5.0-musl-mallinfo.patch
-   # musl again, should be in.. 2022?
-   "${FILESDIR}"/${PN}-2021.5.0-musl-setcontext.patch
-   "${FILESDIR}"/${PN}-2021.5.0-flags-stripping.patch
-)
-
-src_configure() {
-   # bug #872287
-   filter-flags -D_GLIBCXX_ASSERTIONS
-   

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-10-10 Thread Sam James
commit: d09b7bbe3d141536fdb5c4aba47d70fc839956d4
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 10 18:27:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 10 18:32:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d09b7bbe

dev-cpp/tbb: add 2021.7.0

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/Manifest|  1 +
 dev-cpp/tbb/tbb-2021.7.0.ebuild | 37 +
 2 files changed, 38 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 544f110b44ad..ea66fe2fd3fd 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -2,3 +2,4 @@ DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177ab
 DIST tbb-2021.4.0.tar.gz 2452533 BLAKE2B 
a635c6efa1894c33e2f75c1aa03b6c0f4a86ebef3b58fa42bd25b53d661ed7a9d21f49f121dd3679735f219fbfc35604600bcc72ba60d3602e6de77b0d62e37b
 SHA512 
96da2bc351fd64dfa854f8e6cabc1c4e53af3d55760e99d6f83ad53779c727af333d13d6be0828ed70371cf796498d2063e9dd0e4b2f6451623bb5d28ccbf20b
 DIST tbb-2021.5.0.tar.gz 2463218 BLAKE2B 
2d50d312b86318ba4923afe68753b3781f9646cbdb33861f3458301a3a19b7ca3aab6959dca085294dfc743d7f552635f80fb524ec5d780a46f58ffe02e3280d
 SHA512 
0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46
 DIST tbb-2021.6.0.tar.gz 2566074 BLAKE2B 
ec5d98d2890828323cefabc75011658d508eab531c9b30030162f6ce367c54a8d70d6c6611c00d93ab3ef041ea1af35f8180768e114611847547447545f70c71
 SHA512 
c28bd4045e3269d0d9c24dbf360f849d26eaa15e34fa9dd3f5feae0f3440ff74ab1d05154b95549a135e7d9e97fd9a7ff4b4e468b13265e0477bb58f47e856b6
+DIST tbb-2021.7.0.tar.gz 2571727 BLAKE2B 
2977ef1a33d9bc7baa40e0e57c02e62798a09c6c66cdbe369f2702d87fd9877c3d97f8d83f71384028995ea0956f5c5630d4aaf4edbe68538e7c514d3b87085c
 SHA512 
d314e3d88b85c96607a9eda15e3d808bf361eb562a534c59101929236e90c187883e7718e5435b5e7f01f4ee652c9765af95f5f173368b83997e4666b7403a49

diff --git a/dev-cpp/tbb/tbb-2021.7.0.ebuild b/dev-cpp/tbb/tbb-2021.7.0.ebuild
new file mode 100644
index ..8c5606ac0e0d
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2021.7.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib flag-o-matic
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://www.threadingbuildingblocks.org;
+SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+S="${WORKDIR}/oneTBB-${PV}"
+
+LICENSE="Apache-2.0"
+# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
+# libtbb-libtbbmalloc-libtbbbind
+SLOT="0/12.5-2.5-3.5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="!kernel_Darwin? ( sys-apps/hwloc:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+   # bug #872287
+   filter-flags -D_GLIBCXX_ASSERTIONS
+   append-cppflags -U_GLIBCXX_ASSERTIONS
+
+   local mycmakeargs=(
+   -DTBB_TEST=$(usex test)
+   -DTBB_ENABLE_IPO=OFF
+   -DTBB_STRICT=OFF
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-09-21 Thread Sam James
commit: 42096f4c7706533cf102332596a92c840ae7192f
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 22 05:20:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 22 05:47:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42096f4c

dev-cpp/tbb: add 2021.6.0

Bug: https://bugs.gentoo.org/872287
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/Manifest|  1 +
 dev-cpp/tbb/tbb-2021.6.0.ebuild | 45 +
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index b048b94c2114..544f110b44ad 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,3 +1,4 @@
 DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a
 SHA512 
04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87
 DIST tbb-2021.4.0.tar.gz 2452533 BLAKE2B 
a635c6efa1894c33e2f75c1aa03b6c0f4a86ebef3b58fa42bd25b53d661ed7a9d21f49f121dd3679735f219fbfc35604600bcc72ba60d3602e6de77b0d62e37b
 SHA512 
96da2bc351fd64dfa854f8e6cabc1c4e53af3d55760e99d6f83ad53779c727af333d13d6be0828ed70371cf796498d2063e9dd0e4b2f6451623bb5d28ccbf20b
 DIST tbb-2021.5.0.tar.gz 2463218 BLAKE2B 
2d50d312b86318ba4923afe68753b3781f9646cbdb33861f3458301a3a19b7ca3aab6959dca085294dfc743d7f552635f80fb524ec5d780a46f58ffe02e3280d
 SHA512 
0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46
+DIST tbb-2021.6.0.tar.gz 2566074 BLAKE2B 
ec5d98d2890828323cefabc75011658d508eab531c9b30030162f6ce367c54a8d70d6c6611c00d93ab3ef041ea1af35f8180768e114611847547447545f70c71
 SHA512 
c28bd4045e3269d0d9c24dbf360f849d26eaa15e34fa9dd3f5feae0f3440ff74ab1d05154b95549a135e7d9e97fd9a7ff4b4e468b13265e0477bb58f47e856b6

diff --git a/dev-cpp/tbb/tbb-2021.6.0.ebuild b/dev-cpp/tbb/tbb-2021.6.0.ebuild
new file mode 100644
index ..8314a6dcb3c6
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2021.6.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib flag-o-matic
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://www.threadingbuildingblocks.org;
+SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+S="${WORKDIR}/oneTBB-${PV}"
+
+LICENSE="Apache-2.0"
+# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
+# libtbb-libtbbmalloc-libtbbbind
+SLOT="0/12.5-2.5-3.5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="!kernel_Darwin? ( sys-apps/hwloc:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   # need to verify this is in master
+   "${FILESDIR}"/${PN}-2021.5.0-musl-mallinfo.patch
+   # musl again, should be in.. 2022?
+   "${FILESDIR}"/${PN}-2021.5.0-musl-setcontext.patch
+   "${FILESDIR}"/${PN}-2021.5.0-flags-stripping.patch
+)
+
+src_configure() {
+   # bug #872287
+   filter-flags -D_GLIBCXX_ASSERTIONS
+   append-cppflags -U_GLIBCXX_ASSERTIONS
+
+   local mycmakeargs=(
+   -DTBB_TEST=$(usex test)
+   -DTBB_ENABLE_IPO=OFF
+   -DTBB_STRICT=OFF
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-07-03 Thread Fabian Groffen
commit: d1a6ae8903457948ccce3d6c463405958568b3d4
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Jul  3 06:59:42 2022 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Jul  3 07:06:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a6ae89

dev-cpp/tbb: fix dependencies and keyword for ~x64-macos

Signed-off-by: Fabian Groffen  gentoo.org>

 dev-cpp/tbb/tbb-2021.5.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index cbe0ea277696..472d9fb15954 100644
--- a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -14,11 +14,11 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="sys-apps/hwloc:="
+RDEPEND="!kernel_Darwin? ( sys-apps/hwloc:= )"
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-05-19 Thread Agostino Sarubbo
commit: acb242c050c3886ea3b43cd20969f0923cceaaa2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 19 13:35:44 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 19 13:35:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acb242c0

dev-cpp/tbb: arm stable wrt bug #835772

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/tbb/tbb-2021.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index fce1cfd25b0d..cbe0ea277696 100644
--- a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-05-19 Thread Agostino Sarubbo
commit: 9f7737b97fc3cc471b74b532a289925c4b42a661
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 19 09:28:38 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 19 09:28:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f7737b9

dev-cpp/tbb: arm64 stable wrt bug #835772

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/tbb/tbb-2021.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index c5179b96d8b9..fce1cfd25b0d 100644
--- a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-05-16 Thread Agostino Sarubbo
commit: 4e51ba2f8f4b09f0170da6e56e51d0b08018d4e8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon May 16 12:51:28 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon May 16 12:51:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e51ba2f

dev-cpp/tbb: ppc stable wrt bug #835772

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/tbb/tbb-2021.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index 230b48402b89..c5179b96d8b9 100644
--- a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-05-13 Thread Jakov Smolić
commit: 6ea58b7d9f76121c02d3519c3d41ad5912948c0d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 13 20:09:10 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 13 20:09:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ea58b7d

dev-cpp/tbb: Stabilize 2021.5.0-r1 x86, #835772

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-cpp/tbb/tbb-2021.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index 4235949bb77b..230b48402b89 100644
--- a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/files/, dev-cpp/tbb/

2022-05-10 Thread Sam James
commit: ecf1ec7d75750a8a84659a3b1e6ecd977027d1ca
Author: Sam James  gentoo  org>
AuthorDate: Wed May 11 01:18:40 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 11 01:18:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf1ec7d

dev-cpp/tbb: backport x86 build fix

Closes: https://bugs.gentoo.org/842762
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/files/tbb-2021.5.0-x86-mwaitpkg.patch | 43 +++
 dev-cpp/tbb/tbb-2021.5.0-r1.ebuild|  2 ++
 2 files changed, 45 insertions(+)

diff --git a/dev-cpp/tbb/files/tbb-2021.5.0-x86-mwaitpkg.patch 
b/dev-cpp/tbb/files/tbb-2021.5.0-x86-mwaitpkg.patch
new file mode 100644
index ..83f119a9acd3
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.5.0-x86-mwaitpkg.patch
@@ -0,0 +1,43 @@
+https://github.com/oneapi-src/oneTBB/pull/609
+https://github.com/oneapi-src/oneTBB/issues/370
+https://bugs.gentoo.org/842762
+
+From 542a27fa1cfafaf76772e793549d9f4d288d03a9 Mon Sep 17 00:00:00 2001
+From: Ilya Isaev 
+Date: Fri, 8 Oct 2021 10:18:16 +0300
+Subject: [PATCH] Detect 32 bit x86 systems while adding -mwaitpkg option
+
+Signed-off-by: Ilya Isaev 
+--- a/cmake/compilers/Clang.cmake
 b/cmake/compilers/Clang.cmake
+@@ -44,7 +44,7 @@ if (NOT TBB_STRICT AND COMMAND tbb_remove_compile_flag)
+ endif()
+ 
+ # Enable Intel(R) Transactional Synchronization Extensions (-mrtm) and 
WAITPKG instructions support (-mwaitpkg) on relevant processors
+-if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64)")
++if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64|i.86)")
+ set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm 
$<$>:-mwaitpkg>)
+ endif()
+ 
+--- a/cmake/compilers/GNU.cmake
 b/cmake/compilers/GNU.cmake
+@@ -36,7 +36,7 @@ if (NOT CMAKE_GENERATOR MATCHES "Ninja" AND NOT 
CMAKE_CXX_DEPENDS_USE_COMPILER)
+ endif()
+ 
+ # Enable Intel(R) Transactional Synchronization Extensions (-mrtm) and 
WAITPKG instructions support (-mwaitpkg) on relevant processors
+-if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64)")
++if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64|i.86)")
+ set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm 
$<$>,$>>:-mwaitpkg>)
+ endif()
+ 
+--- a/cmake/compilers/MSVC.cmake
 b/cmake/compilers/MSVC.cmake
+@@ -72,7 +72,7 @@ if (TBB_WINDOWS_DRIVER)
+ endif()
+ 
+ if (CMAKE_CXX_COMPILER_ID MATCHES "(Clang|IntelLLVM)")
+-if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64)")
++if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64|i.86)")
+ set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm 
-mwaitpkg)
+ endif()
+ set(TBB_OPENMP_NO_LINK_FLAG TRUE)

diff --git a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index 8c4c5a5883a4..4235949bb77b 100644
--- a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -32,6 +32,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-2021.5.0-musl-mallinfo.patch
# musl again, should be in.. 2022?
"${FILESDIR}"/${PN}-2021.5.0-musl-setcontext.patch
+   # should be in.. 2022?
+   "${FILESDIR}"/${PN}-2021.5.0-x86-mwaitpkg.patch
 
"${FILESDIR}"/${PN}-2021.5.0-flags-stripping.patch
 )



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/, dev-cpp/tbb/files/

2022-04-27 Thread Sam James
commit: 5ace694ca2a1bd0f49996845f9122569fd9b6c18
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 28 01:23:52 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 28 01:23:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ace694c

dev-cpp/tbb: add flag stripping patch

Otherwise breaks with e.g. -Werror=format-security in *FLAGS.

Bug: https://github.com/oneapi-src/oneTBB/pull/716
Signed-off-by: Sam James  gentoo.org>

 .../tbb/files/tbb-2021.5.0-flags-stripping.patch   | 27 ++
 dev-cpp/tbb/tbb-2021.5.0-r1.ebuild |  2 ++
 2 files changed, 29 insertions(+)

diff --git a/dev-cpp/tbb/files/tbb-2021.5.0-flags-stripping.patch 
b/dev-cpp/tbb/files/tbb-2021.5.0-flags-stripping.patch
new file mode 100644
index ..4252ea446423
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.5.0-flags-stripping.patch
@@ -0,0 +1,27 @@
+https://github.com/oneapi-src/oneTBB/pull/716
+
+From 9595b9699ae6863d1e0cf770a89728eafcaf8845 Mon Sep 17 00:00:00 2001
+From: Christoph Erhardt 
+Date: Wed, 5 Jan 2022 15:13:32 +0100
+Subject: [PATCH] Fix overeager stripping of compile flag
+
+The existing regex strips all occurrences of the given string from
+`${CMAKE_CXX_FLAGS}`, regardless of whether it is just a substring of a
+flag. For instance, `-Werror=format-security` gets truncated to
+`=format-security`.
+
+The new regex makes sure that only whole words get replaced.
+
+Signed-off-by: Christoph Erhardt 
+--- a/cmake/utils.cmake
 b/cmake/utils.cmake
+@@ -18,7 +18,7 @@ macro(tbb_remove_compile_flag flag)
+ set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY 
COMPILE_OPTIONS ${_tbb_compile_options})
+ unset(_tbb_compile_options)
+ if (CMAKE_CXX_FLAGS)
+-string(REGEX REPLACE ${flag} "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
++string(REGEX REPLACE "(^|[ \t\r\n]+)${flag}($|[ \t\r\n]+)" " " 
CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
+ endif()
+ endmacro()
+ 
+

diff --git a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index aa3f0e7c26e2..8c4c5a5883a4 100644
--- a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -32,6 +32,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-2021.5.0-musl-mallinfo.patch
# musl again, should be in.. 2022?
"${FILESDIR}"/${PN}-2021.5.0-musl-setcontext.patch
+
+   "${FILESDIR}"/${PN}-2021.5.0-flags-stripping.patch
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-03-21 Thread Agostino Sarubbo
commit: ecdc43dc2b92f48ba24f5b5cf378ca768bc83499
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 21 15:20:12 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 21 15:20:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecdc43dc

dev-cpp/tbb: amd64 stable wrt bug #835628

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/tbb/tbb-2021.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index 22d714102105..49103c2b0f5e 100644
--- a/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="Apache-2.0"
 # https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
 # libtbb-libtbbmalloc-libtbbbind
 SLOT="0/12.5-2.5-3.5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/, dev-cpp/tbb/files/

2022-02-06 Thread Sam James
commit: d4d7c559ae6598261d115f4db6b955d50c4a184c
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb  7 04:00:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb  7 04:01:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d7c559

dev-cpp/tbb: fix underlinking on musl

Avoid *context APIs.

In theory, may not be needed (shouldn't be) given we've fixed our packaging
of libucontext, but let's do this anyway as the fix is upstream, and it
avoids possible otehr issues.

Bug: https://github.com/rui314/mold/issues/281
Closes: https://bugs.gentoo.org/832700
Signed-off-by: Sam James  gentoo.org>

 .../tbb/files/tbb-2021.5.0-musl-setcontext.patch   | 30 ++
 ...{tbb-2021.5.0.ebuild => tbb-2021.5.0-r1.ebuild} |  2 ++
 2 files changed, 32 insertions(+)

diff --git a/dev-cpp/tbb/files/tbb-2021.5.0-musl-setcontext.patch 
b/dev-cpp/tbb/files/tbb-2021.5.0-musl-setcontext.patch
new file mode 100644
index ..111bbf123d9a
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.5.0-musl-setcontext.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/832700
+https://github.com/oneapi-src/oneTBB/commit/6a15b64093c51ddc00bdf4a6b49d4bbec1574a12
+
+From: Rui Ueyama 
+Date: Fri, 4 Feb 2022 19:32:11 +0900
+Subject: [PATCH] Make tbb compile with musl libc (#748)
+
+TBB resumable tasks are implemented using getcontext() and setcontext()
+on Unix-like systems. These functions are deprecated in the recent
+versions of POSIX and may not exist. musl libc does not provide these
+functions.
+
+There's unfortunately no way to detect musl (musl intentionally do not
+define macros like `__MUSL__`), so __TBB_RESUMABLE_TASKS is defined if
+`__GLIBC__`. glibc-compatible libc's such as uClibc defines `__GLIBC__`,
+so it should work as a catch-all condition.
+
+Signed-off-by: Rui Ueyama 
+--- a/include/oneapi/tbb/detail/_config.h
 b/include/oneapi/tbb/detail/_config.h
+@@ -268,7 +268,7 @@
+ #define __TBB_CPP20_COMPARISONS_PRESENT __TBB_CPP20_PRESENT
+ #endif
+ 
+-#define __TBB_RESUMABLE_TASKS   
(!__TBB_WIN8UI_SUPPORT && !__ANDROID__ && !__QNXNTO__)
++#define __TBB_RESUMABLE_TASKS   
(!__TBB_WIN8UI_SUPPORT && !__ANDROID__ && !__QNXNTO__ && (!__linux__ || 
__GLIBC__))
+ 
+ /* This macro marks incomplete code or comments describing ideas which are 
considered for the future.
+  * See also for plain comment with TODO and FIXME marks for small improvement 
opportunities.
+

diff --git a/dev-cpp/tbb/tbb-2021.5.0.ebuild 
b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
similarity index 93%
rename from dev-cpp/tbb/tbb-2021.5.0.ebuild
rename to dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
index 6b2ff50c7c4a..22d714102105 100644
--- a/dev-cpp/tbb/tbb-2021.5.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0-r1.ebuild
@@ -30,6 +30,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-2021.4.0-missing-TBB_machine_fetchadd4.patch
# need to verify this is in master
"${FILESDIR}"/${PN}-2021.5.0-musl-mallinfo.patch
+   # musl again, should be in.. 2022?
+   "${FILESDIR}"/${PN}-2021.5.0-musl-setcontext.patch
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/, dev-cpp/tbb/files/

2022-01-20 Thread Sam James
commit: 675d894c36bfd854d8f7624912d34e9dd6ca7177
Author: Alex Fan  gmail  com>
AuthorDate: Thu Jan 20 05:02:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 20 12:30:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=675d894c

dev-cpp/tbb: fix undefined __TBB_machine_fetchadd4

Closes: https://bugs.gentoo.org/827883
Signed-off-by: Alex Fan  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23878
Signed-off-by: Sam James  gentoo.org>

 ...bb-2021.4.0-missing-TBB_machine_fetchadd4.patch | 23 ++
 dev-cpp/tbb/tbb-2021.4.0.ebuild|  2 ++
 dev-cpp/tbb/tbb-2021.5.0.ebuild|  2 ++
 3 files changed, 27 insertions(+)

diff --git a/dev-cpp/tbb/files/tbb-2021.4.0-missing-TBB_machine_fetchadd4.patch 
b/dev-cpp/tbb/files/tbb-2021.4.0-missing-TBB_machine_fetchadd4.patch
new file mode 100644
index ..091cad5821e7
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.4.0-missing-TBB_machine_fetchadd4.patch
@@ -0,0 +1,23 @@
+https://github.com/oneapi-src/oneTBB/issues/186
+https://github.com/oneapi-src/oneTBB/pull/550
+https://bugs.gentoo.org/827883
+
+From: Felix Yan 
+Date: Thu, 7 Oct 2021 14:16:16 +0800
+Subject: [PATCH] Define ITT_ARCH_IA64 when undefiend (#550)
+
+Upstream-Status: Merged in commit later than 2021.5.0
+
+--- a/src/tbb/tools_api/ittnotify_config.h
 b/src/tbb/tools_api/ittnotify_config.h
+@@ -147,6 +147,10 @@
+ #  define ITT_ARCH_IA32E 2
+ #endif /* ITT_ARCH_IA32E */
+ 
++#ifndef ITT_ARCH_IA64
++#  define ITT_ARCH_IA64 3
++#endif /* ITT_ARCH_IA64 */
++
+ #ifndef ITT_ARCH_ARM
+ #  define ITT_ARCH_ARM  4
+ #endif /* ITT_ARCH_ARM */

diff --git a/dev-cpp/tbb/tbb-2021.4.0.ebuild b/dev-cpp/tbb/tbb-2021.4.0.ebuild
index 930bcd958708..ff94b74527c2 100644
--- a/dev-cpp/tbb/tbb-2021.4.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.4.0.ebuild
@@ -24,6 +24,8 @@ BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
"${FILESDIR}"/${P}-lto.patch
+   # bug 827883
+   "${FILESDIR}"/${P}-missing-TBB_machine_fetchadd4.patch
 )
 
 src_configure() {

diff --git a/dev-cpp/tbb/tbb-2021.5.0.ebuild b/dev-cpp/tbb/tbb-2021.5.0.ebuild
index 1fa9bfc11894..6b2ff50c7c4a 100644
--- a/dev-cpp/tbb/tbb-2021.5.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0.ebuild
@@ -26,6 +26,8 @@ PATCHES=(
# should be in.. 2022?
"${FILESDIR}"/${PN}-2021.4.0-lto.patch
"${FILESDIR}"/${PN}-2021.5.0-musl-deepbind.patch
+   # bug 827883
+   "${FILESDIR}"/${PN}-2021.4.0-missing-TBB_machine_fetchadd4.patch
# need to verify this is in master
"${FILESDIR}"/${PN}-2021.5.0-musl-mallinfo.patch
 )



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/files/, dev-cpp/tbb/

2022-01-16 Thread Sam James
commit: 6b1f12b618de51fd2f750d87f28b5bbc992d37ad
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 17 06:26:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 17 06:26:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b1f12b6

dev-cpp/tbb: add another musl patch

Closes: https://bugs.gentoo.org/828704
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/files/tbb-2021.5.0-musl-mallinfo.patch | 32 ++
 dev-cpp/tbb/tbb-2021.5.0.ebuild|  2 ++
 2 files changed, 34 insertions(+)

diff --git a/dev-cpp/tbb/files/tbb-2021.5.0-musl-mallinfo.patch 
b/dev-cpp/tbb/files/tbb-2021.5.0-musl-mallinfo.patch
new file mode 100644
index ..e46c16f42f59
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.5.0-musl-mallinfo.patch
@@ -0,0 +1,32 @@
+https://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/tbb/tbb/0001-mallinfo-is-glibc-specific-API-mark-it-so.patch
+https://github.com/oneapi-src/oneTBB/pull/203
+https://bugs.gentoo.org/828704
+
+From: Naveen Saini 
+Date: Wed, 7 Apr 2021 11:14:13 +0800
+Subject: [PATCH] mallinfo() is glibc specific API mark it so
+
+Helps compiling with musl
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj 
+Signed-off-by: Naveen Saini 
+--- a/src/tbbmalloc_proxy/proxy.cpp
 b/src/tbbmalloc_proxy/proxy.cpp
+@@ -260,6 +260,7 @@ int mallopt(int /*param*/, int /*value*/
+ return 1;
+ }
+ 
++#ifdef __GLIBC__
+ struct mallinfo mallinfo() __THROW
+ {
+ struct mallinfo m;
+@@ -267,6 +268,7 @@ struct mallinfo mallinfo() __THROW
+ 
+ return m;
+ }
++#endif
+ 
+ #if __ANDROID__
+ // Android doesn't have malloc_usable_size, provide it to be compatible

diff --git a/dev-cpp/tbb/tbb-2021.5.0.ebuild b/dev-cpp/tbb/tbb-2021.5.0.ebuild
index 2ab975036c65..1fa9bfc11894 100644
--- a/dev-cpp/tbb/tbb-2021.5.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0.ebuild
@@ -26,6 +26,8 @@ PATCHES=(
# should be in.. 2022?
"${FILESDIR}"/${PN}-2021.4.0-lto.patch
"${FILESDIR}"/${PN}-2021.5.0-musl-deepbind.patch
+   # need to verify this is in master
+   "${FILESDIR}"/${PN}-2021.5.0-musl-mallinfo.patch
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/, dev-cpp/tbb/files/

2022-01-15 Thread Sam James
commit: f3cd6cd18b7f54edfedbd0015b28ce20b4bbcba6
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 16 06:45:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 16 06:45:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3cd6cd1

dev-cpp/tbb: fix build on musl

Closes: https://bugs.gentoo.org/830698
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/files/tbb-2021.5.0-musl-deepbind.patch | 25 ++
 dev-cpp/tbb/tbb-2021.5.0.ebuild|  1 +
 2 files changed, 26 insertions(+)

diff --git a/dev-cpp/tbb/files/tbb-2021.5.0-musl-deepbind.patch 
b/dev-cpp/tbb/files/tbb-2021.5.0-musl-deepbind.patch
new file mode 100644
index ..014a3863f452
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.5.0-musl-deepbind.patch
@@ -0,0 +1,25 @@
+https://github.com/oneapi-src/oneTBB/commit/883c2e5245c39624b3b5d6d56d5b203cf09eac38
+https://bugs.gentoo.org/830698
+
+From: Khem Raj 
+Date: Wed, 15 Dec 2021 08:08:07 -0800
+Subject: [PATCH] Musl/linux can not use RTLD_DEEPBIND (#684)
+
+Exclude non-glibc linux systems along with android
+Fixes
+src/tbb/dynamic_link.cpp:417:29: error: use
+ of undeclared identifier 'RTLD_DEEPBIND'  
  | flags = flags | 
RTLD_DEEPBIND;
+| ^
+
+Signed-off-by: Khem Raj 
+--- a/src/tbb/dynamic_link.cpp
 b/src/tbb/dynamic_link.cpp
+@@ -413,7 +413,7 @@ namespace r1 {
+ int flags = RTLD_NOW;
+ if (local_binding) {
+ flags = flags | RTLD_LOCAL;
+-#if __linux__ && !__ANDROID__ && !__TBB_USE_SANITIZERS
++#if (__linux__ && __GLIBC__) && !__TBB_USE_SANITIZERS
+ flags = flags | RTLD_DEEPBIND;
+ #endif
+ } else {

diff --git a/dev-cpp/tbb/tbb-2021.5.0.ebuild b/dev-cpp/tbb/tbb-2021.5.0.ebuild
index 0a18fece5fd1..2ab975036c65 100644
--- a/dev-cpp/tbb/tbb-2021.5.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0.ebuild
@@ -25,6 +25,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=(
# should be in.. 2022?
"${FILESDIR}"/${PN}-2021.4.0-lto.patch
+   "${FILESDIR}"/${PN}-2021.5.0-musl-deepbind.patch
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-01-02 Thread Sam James
commit: 6a5c76fbf5454fe8b6ab0a3fba6a46d39ed4f573
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan  2 22:49:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  2 22:49:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a5c76fb

dev-cpp/tbb: fix IncorrectCopyright

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2021.4.0.ebuild b/dev-cpp/tbb/tbb-2021.4.0.ebuild
index bee49233f70c..930bcd958708 100644
--- a/dev-cpp/tbb/tbb-2021.4.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-01-02 Thread Sam James
commit: 9d5d536af01c636d14be1560ce8cf4c75c668693
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan  2 22:35:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  2 22:35:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d5d536a

dev-cpp/tbb: fix UnusedInherits

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2021.4.0.ebuild | 2 +-
 dev-cpp/tbb/tbb-2021.5.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2021.4.0.ebuild b/dev-cpp/tbb/tbb-2021.4.0.ebuild
index 9a99edb24ae8..bee49233f70c 100644
--- a/dev-cpp/tbb/tbb-2021.4.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.4.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake-multilib flag-o-matic toolchain-funcs
+inherit cmake-multilib
 
 DESCRIPTION="High level abstract threading library"
 HOMEPAGE="https://www.threadingbuildingblocks.org;

diff --git a/dev-cpp/tbb/tbb-2021.5.0.ebuild b/dev-cpp/tbb/tbb-2021.5.0.ebuild
index 3f730d6829cb..0a18fece5fd1 100644
--- a/dev-cpp/tbb/tbb-2021.5.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.5.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake-multilib flag-o-matic toolchain-funcs
+inherit cmake-multilib
 
 DESCRIPTION="High level abstract threading library"
 HOMEPAGE="https://www.threadingbuildingblocks.org;



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2022-01-02 Thread Sam James
commit: 5629ccf014f47120a9239e768e8d49ecc00d2200
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan  2 22:32:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  2 22:32:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5629ccf0

dev-cpp/tbb: add 2021.5.0

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/Manifest|  1 +
 dev-cpp/tbb/tbb-2021.5.0.ebuild | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index fee2e0bbf7fd..b048b94c2114 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,2 +1,3 @@
 DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a
 SHA512 
04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87
 DIST tbb-2021.4.0.tar.gz 2452533 BLAKE2B 
a635c6efa1894c33e2f75c1aa03b6c0f4a86ebef3b58fa42bd25b53d661ed7a9d21f49f121dd3679735f219fbfc35604600bcc72ba60d3602e6de77b0d62e37b
 SHA512 
96da2bc351fd64dfa854f8e6cabc1c4e53af3d55760e99d6f83ad53779c727af333d13d6be0828ed70371cf796498d2063e9dd0e4b2f6451623bb5d28ccbf20b
+DIST tbb-2021.5.0.tar.gz 2463218 BLAKE2B 
2d50d312b86318ba4923afe68753b3781f9646cbdb33861f3458301a3a19b7ca3aab6959dca085294dfc743d7f552635f80fb524ec5d780a46f58ffe02e3280d
 SHA512 
0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46

diff --git a/dev-cpp/tbb/tbb-2021.5.0.ebuild b/dev-cpp/tbb/tbb-2021.5.0.ebuild
new file mode 100644
index ..3f730d6829cb
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2021.5.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib flag-o-matic toolchain-funcs
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://www.threadingbuildingblocks.org;
+SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+S="${WORKDIR}/oneTBB-${PV}"
+
+LICENSE="Apache-2.0"
+# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
+# libtbb-libtbbmalloc-libtbbbind
+SLOT="0/12.5-2.5-3.5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/hwloc:="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   # should be in.. 2022?
+   "${FILESDIR}"/${PN}-2021.4.0-lto.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DTBB_TEST=$(usex test)
+   -DTBB_ENABLE_IPO=OFF
+   -DTBB_STRICT=OFF
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/files/

2022-01-02 Thread Sam James
commit: 89c4756707b80f6952ba5baf70d7ec45ed98bc78
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan  2 11:20:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  2 22:32:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c47567

dev-cpp/tbb: add bug reference to patch

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/files/tbb-2021.4.0-lto.patch | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-cpp/tbb/files/tbb-2021.4.0-lto.patch 
b/dev-cpp/tbb/files/tbb-2021.4.0-lto.patch
index 5be97b90605d..1c9705576004 100644
--- a/dev-cpp/tbb/files/tbb-2021.4.0-lto.patch
+++ b/dev-cpp/tbb/files/tbb-2021.4.0-lto.patch
@@ -1,3 +1,5 @@
+https://github.com/oneapi-src/oneTBB/pull/608
+
 From 6feeba8035ea2bdf652d473a35730b19427752db Mon Sep 17 00:00:00 2001
 From: Ivan Kochin 
 Date: Wed, 27 Oct 2021 17:23:32 +0300



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/files/, dev-cpp/tbb/

2021-10-29 Thread Sam James
commit: d54c2c9388acb851a5bd7c48962bb7b68ca5d39c
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 29 21:21:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 29 22:22:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d54c2c93

dev-cpp/tbb: add 2021.4.0

Bug: https://bugs.gentoo.org/713582
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/Manifest |   1 +
 dev-cpp/tbb/files/tbb-2021.4.0-lto.patch | 247 +++
 dev-cpp/tbb/tbb-2021.4.0.ebuild  |  37 +
 3 files changed, 285 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index d2d3f1d78cf..fee2e0bbf7f 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1 +1,2 @@
 DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a
 SHA512 
04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87
+DIST tbb-2021.4.0.tar.gz 2452533 BLAKE2B 
a635c6efa1894c33e2f75c1aa03b6c0f4a86ebef3b58fa42bd25b53d661ed7a9d21f49f121dd3679735f219fbfc35604600bcc72ba60d3602e6de77b0d62e37b
 SHA512 
96da2bc351fd64dfa854f8e6cabc1c4e53af3d55760e99d6f83ad53779c727af333d13d6be0828ed70371cf796498d2063e9dd0e4b2f6451623bb5d28ccbf20b

diff --git a/dev-cpp/tbb/files/tbb-2021.4.0-lto.patch 
b/dev-cpp/tbb/files/tbb-2021.4.0-lto.patch
new file mode 100644
index 000..5be97b90605
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.4.0-lto.patch
@@ -0,0 +1,247 @@
+From 6feeba8035ea2bdf652d473a35730b19427752db Mon Sep 17 00:00:00 2001
+From: Ivan Kochin 
+Date: Wed, 27 Oct 2021 17:23:32 +0300
+Subject: [PATCH] Use native CMake way to detect the IPO support (#608)
+
+* Use native CMake way to detect the IPO support
+
+Signed-off-by: Kochin Ivan 
+---
+ CMakeLists.txt   | 17 +
+ cmake/README.md  |  1 +
+ cmake/compilers/Clang.cmake  |  8 ++--
+ cmake/compilers/GNU.cmake|  8 +++-
+ cmake/compilers/MSVC.cmake   |  1 +
+ cmake/utils.cmake| 13 +
+ src/tbb/CMakeLists.txt   |  5 ++---
+ src/tbbbind/CMakeLists.txt   |  6 +++---
+ src/tbbmalloc/CMakeLists.txt |  5 ++---
+ 9 files changed, 44 insertions(+), 20 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 13b1dbc2c..4dbdadb97 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -103,6 +103,7 @@ option(TBBMALLOC_BUILD "Enable tbbmalloc build" ON)
+ option(TBB_CPF "Enable preview features of the library" OFF)
+ option(TBB_FIND_PACKAGE "Enable search for external oneTBB using find_package 
instead of build from sources" OFF)
+ option(TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH "Disable HWLOC automatic search by 
pkg-config tool" OFF)
++option(TBB_ENABLE_IPO "Enable Interprocedural Optimization (IPO) during the 
compilation" ON)
+ 
+ if (NOT DEFINED BUILD_SHARED_LIBS)
+ set(BUILD_SHARED_LIBS ON)
+@@ -181,6 +182,22 @@ foreach(FILE_WITH_EXTRA_TARGETS 
${FILES_WITH_EXTRA_TARGETS})
+ include(${FILE_WITH_EXTRA_TARGETS})
+ endforeach()
+ 
++# - Enabling LTO on Android causes the NDK bug.
++#   NDK throws the warning: "argument unused during compilation: 
'-Wa,--noexecstack'"
++# - For some reason GCC does not instrument code with Thread Sanitizer when 
lto is enabled and C linker is used.
++if (TBB_ENABLE_IPO AND BUILD_SHARED_LIBS AND NOT ANDROID_PLATFORM AND NOT 
TBB_SANITIZE MATCHES "thread")
++if (NOT CMAKE_VERSION VERSION_LESS 3.9)
++cmake_policy(SET CMP0069 NEW)
++include(CheckIPOSupported)
++check_ipo_supported(RESULT TBB_IPO_PROPERTY)
++else()
++set(TBB_IPO_FLAGS TRUE)
++endif()
++if (TBB_IPO_PROPERTY OR TBB_IPO_FLAGS)
++message(STATUS "IPO enabled")
++endif()
++endif()
++
+ set(TBB_COMPILER_SETTINGS_FILE 
${CMAKE_CURRENT_SOURCE_DIR}/cmake/compilers/${CMAKE_CXX_COMPILER_ID}.cmake)
+ if (EXISTS ${TBB_COMPILER_SETTINGS_FILE})
+ include(${TBB_COMPILER_SETTINGS_FILE})
+diff --git a/cmake/README.md b/cmake/README.md
+index ec56e423c..ed1631de3 100644
+--- a/cmake/README.md
 b/cmake/README.md
+@@ -16,6 +16,7 @@ TBB_CPF:BOOL - Enable preview features of the library (OFF 
by default)
+ TBB_INSTALL_VARS:BOOL - Enable auto-generated vars installation(packages 
generated by `cpack` and `make install` will also include the vars script)(OFF 
by default)
+ TBB_VALGRIND_MEMCHECK:BOOL - Enable scan for memory leaks using Valgrind (OFF 
by default)
+ TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH - Disable HWLOC automatic search by 
pkg-config tool (OFF by default)
++TBB_ENABLE_IPO - Enable Interprocedural Optimization (IPO) during the 
compilation (ON by default)
+ ```
+ 
+ ## Configure, build and test
+diff --git a/cmake/compilers/Clang.cmake b/cmake/compilers/Clang.cmake
+index 183341fcc..69aa51932 100644
+--- a/cmake/compilers/Clang.cmake
 b/cmake/compilers/Clang.cmake
+@@ -58,12 +58,8 @@ if 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2021-10-06 Thread Jakov Smolić
commit: 4568616a2db47ffaad650f53ffb096be88e846a0
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Oct  6 08:28:21 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Oct  6 08:31:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4568616a

dev-cpp/tbb: drop 2019.8, 2020.2

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-cpp/tbb/Manifest  |   2 -
 dev-cpp/tbb/tbb-2019.8.ebuild | 141 ---
 dev-cpp/tbb/tbb-2020.2.ebuild | 151 --
 3 files changed, 294 deletions(-)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 4fb83d37f0e..d2d3f1d78cf 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,3 +1 @@
-DIST tbb-2019.8.tar.gz 2580540 BLAKE2B 
1cddb0c8ade6f6363811b7f9b323a2bb7739a18114acd56e1b4a13f33904ddff8cb6aec9b4b0add995cd307ff7815f0b55ce33fa64b7dd92c0062fbaa13d0833
 SHA512 
924a8dde011452a2c46c5152942a9835e76fe5610e08b69eb0e985de3fb46bdb49f0f628d10fa7704428f6e61ec63f7002da5399d47da6ee6004fa236d346dc8
-DIST tbb-2020.2.tar.gz 2637172 BLAKE2B 
6b6e65732d3971f7374058513004ca3cfc3855b83c0a2dde59d50e08c26ff220470e31db86f4ab9f009c7e02e454a00a348730e63c829aa8d217320f7879cfc9
 SHA512 
6d7412fa6ce12d27736af3c8942c5ab5ea6945dd3ca93f309535c0dba3ff757d6507a5ffc3bcd73e6fdcda043cdedfa657631b25ae86fbf221d0f1d66a85b48f
 DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a
 SHA512 
04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87

diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild
deleted file mode 100644
index da66dd2bd83..000
--- a/dev-cpp/tbb/tbb-2019.8.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic multilib-minimal multilib toolchain-funcs
-
-PV1="$(ver_cut 1)"
-PV2="$(ver_cut 2)"
-MY_PV="${PV1}_U${PV2}"
-
-DESCRIPTION="High level abstract threading library"
-HOMEPAGE="https://www.threadingbuildingblocks.org;
-SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="debug examples"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-DOCS=( CHANGES README README.md doc/Release_Notes.txt )
-
-src_prepare() {
-   default
-
-   find include -name \*.html -delete || die
-
-   # Give it a soname on FreeBSD
-   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
-   # Set proper versionning on FreeBSD
-   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
-
-   use debug || sed -i -e '/_debug/d' Makefile
-}
-
-multilib_src_configure() {
-   # pc files are for debian and fedora compatibility
-   # some deps use them
-   cat <<-EOF > ${PN}.pc.template
-   prefix=${EPREFIX}/usr
-   libdir=\${prefix}/$(get_libdir)
-   includedir=\${prefix}/include
-   Name: ${PN}
-   Description: ${DESCRIPTION}
-   Version: ${PV}
-   URL: ${HOMEPAGE}
-   Cflags: -I\${includedir}
-   EOF
-   cp ${PN}.pc.template ${PN}.pc || die
-   cat <<-EOF >> ${PN}.pc
-   Libs: -L\${libdir} -ltbb
-   Libs.private: -lm -lrt
-   EOF
-   cp ${PN}.pc.template ${PN}malloc.pc || die
-   cat <<-EOF >> ${PN}malloc.pc
-   Libs: -L\${libdir} -ltbbmalloc
-   Libs.private: -lm -lrt
-   EOF
-   cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
-   cat <<-EOF >> ${PN}malloc_proxy.pc
-   Libs: -L\${libdir} -ltbbmalloc_proxy
-   Libs.private: -lrt
-   Requires: tbbmalloc
-   EOF
-}
-
-local_src_compile() {
-   cd "${S}"
-
-   local comp arch
-
-   case ${MULTILIB_ABI_FLAG} in
-   abi_x86_64) arch=x86_64 ;;
-   abi_x86_32) arch=ia32 ;;
-#  abi_ppc_64) arch=ppc64 ;;
-#  abi_ppc_32) arch=ppc32 ;;
-   esac
-
-   case "$(tc-getCXX)" in
-   *clang*) comp="clang" ;;
-   *g++*) comp="gcc" ;;
-   *ic*c) comp="icc" ;;
-   *) die "compiler $(tc-getCXX) not supported by build system" ;;
-   esac
-
-   CXX="$(tc-getCXX)" \
-   CC="$(tc-getCC)" \
-   AS="$(tc-getAS)" \
-   arch=${arch} \
-   CPLUS_FLAGS="${CXXFLAGS}" \
-   emake compiler=${comp} work_dir="${BUILD_DIR}" tbb_root="${S}" $@
-}
-
-multilib_src_compile() {
-   local_src_compile tbb tbbmalloc
-}
-
-multilib_src_test() {
-   CXXFLAGS="${CXXFLAGS} -fabi-version=4" \
-   local_src_compile -j1 test
-}
-

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2021-07-14 Thread Marek Szuba
commit: c62c0934195455ead39dd67d4543969270e7f5ae
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Jul 13 23:43:54 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 14 16:14:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c62c0934

dev-cpp/tbb: keyword 2020.3 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/tbb/tbb-2020.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2020.3.ebuild b/dev-cpp/tbb/tbb-2020.3.ebuild
index 91e579d8a4e..c654a5fad29 100644
--- a/dev-cpp/tbb/tbb-2020.3.ebuild
+++ b/dev-cpp/tbb/tbb-2020.3.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2021-01-07 Thread Sam James
commit: e08ad85772cfe7858cb018a059a59e588d7cc459
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 16:52:02 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 16:52:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08ad857

dev-cpp/tbb: Stabilize 2020.3 ppc64, #762130

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2020.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2020.3.ebuild b/dev-cpp/tbb/tbb-2020.3.ebuild
index c134f1b5e16..08a93301b15 100644
--- a/dev-cpp/tbb/tbb-2020.3.ebuild
+++ b/dev-cpp/tbb/tbb-2020.3.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2021-01-07 Thread Sam James
commit: a522fd928c80f82968eceb2564076b56104179e8
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 10:07:56 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 10:09:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a522fd92

dev-cpp/tbb: Stabilize 2020.3 ppc, #762130

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2020.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2020.3.ebuild b/dev-cpp/tbb/tbb-2020.3.ebuild
index d8c19cfb9c1..c134f1b5e16 100644
--- a/dev-cpp/tbb/tbb-2020.3.ebuild
+++ b/dev-cpp/tbb/tbb-2020.3.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2021-01-06 Thread Sam James
commit: 7c7067a18b17e82689b994eaf29884eaae3db99f
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan  6 08:09:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan  6 08:09:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c7067a1

dev-cpp/tbb: Stabilize 2020.3 arm, #762130

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2020.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2020.3.ebuild b/dev-cpp/tbb/tbb-2020.3.ebuild
index 010e989c775..235115ce16f 100644
--- a/dev-cpp/tbb/tbb-2020.3.ebuild
+++ b/dev-cpp/tbb/tbb-2020.3.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2021-01-06 Thread Sam James
commit: 4aa2a7bfd7d3fe77e0c7ec30b2565fe18c982083
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan  6 08:08:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan  6 08:08:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa2a7bf

dev-cpp/tbb: Stabilize 2020.3 arm64, #762130

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/tbb/tbb-2020.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2020.3.ebuild b/dev-cpp/tbb/tbb-2020.3.ebuild
index 25976f821ba..010e989c775 100644
--- a/dev-cpp/tbb/tbb-2020.3.ebuild
+++ b/dev-cpp/tbb/tbb-2020.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2020-07-15 Thread Guilherme Amadio
commit: a9673ae5ec7b31fd4061a262403d3e8f18e28927
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Wed Jul 15 22:09:28 2020 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed Jul 15 22:23:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9673ae5

dev-cpp/tbb: version bump to 2020.3

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Guilherme Amadio  gentoo.org>

 dev-cpp/tbb/Manifest  |   1 +
 dev-cpp/tbb/tbb-2020.3.ebuild | 151 ++
 2 files changed, 152 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 55a4e5475b0..4fb83d37f0e 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,2 +1,3 @@
 DIST tbb-2019.8.tar.gz 2580540 BLAKE2B 
1cddb0c8ade6f6363811b7f9b323a2bb7739a18114acd56e1b4a13f33904ddff8cb6aec9b4b0add995cd307ff7815f0b55ce33fa64b7dd92c0062fbaa13d0833
 SHA512 
924a8dde011452a2c46c5152942a9835e76fe5610e08b69eb0e985de3fb46bdb49f0f628d10fa7704428f6e61ec63f7002da5399d47da6ee6004fa236d346dc8
 DIST tbb-2020.2.tar.gz 2637172 BLAKE2B 
6b6e65732d3971f7374058513004ca3cfc3855b83c0a2dde59d50e08c26ff220470e31db86f4ab9f009c7e02e454a00a348730e63c829aa8d217320f7879cfc9
 SHA512 
6d7412fa6ce12d27736af3c8942c5ab5ea6945dd3ca93f309535c0dba3ff757d6507a5ffc3bcd73e6fdcda043cdedfa657631b25ae86fbf221d0f1d66a85b48f
+DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 
3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a
 SHA512 
04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87

diff --git a/dev-cpp/tbb/tbb-2020.3.ebuild b/dev-cpp/tbb/tbb-2020.3.ebuild
new file mode 100644
index 000..25976f821ba
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2020.3.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils flag-o-matic multilib-minimal multilib toolchain-funcs
+
+PV1="$(ver_cut 1)"
+PV2="$(ver_cut 2)"
+MY_PV="${PV1}_U${PV2}"
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://www.threadingbuildingblocks.org;
+SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="debug examples"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/oneTBB-${MY_PV}"
+
+DOCS=( CHANGES README README.md doc/Release_Notes.txt )
+
+PATCHES=( "${FILESDIR}"/${PN}-2020.1-makefile-debug.patch )
+
+src_prepare() {
+   default
+
+   find include -name \*.html -delete || die
+
+   # Give it a soname on FreeBSD
+   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
+   # Set proper versionning on FreeBSD
+   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
+
+   use debug || sed -i -e '/_debug/d' Makefile
+}
+
+multilib_src_configure() {
+   # pc files are for debian and fedora compatibility
+   # some deps use them
+   cat <<-EOF > ${PN}.pc.template
+   prefix=${EPREFIX}/usr
+   libdir=\${prefix}/$(get_libdir)
+   includedir=\${prefix}/include
+   Name: ${PN}
+   Description: ${DESCRIPTION}
+   Version: ${PV}
+   URL: ${HOMEPAGE}
+   Cflags: -I\${includedir}
+   EOF
+   cp ${PN}.pc.template ${PN}.pc || die
+   cat <<-EOF >> ${PN}.pc
+   Libs: -L\${libdir} -ltbb
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc.pc || die
+   cat <<-EOF >> ${PN}malloc.pc
+   Libs: -L\${libdir} -ltbbmalloc
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
+   cat <<-EOF >> ${PN}malloc_proxy.pc
+   Libs: -L\${libdir} -ltbbmalloc_proxy
+   Libs.private: -lrt
+   Requires: tbbmalloc
+   EOF
+}
+
+local_src_compile() {
+   cd "${S}"
+
+   local comp arch
+   local bt buildtypes
+
+   case ${MULTILIB_ABI_FLAG} in
+   abi_x86_64) arch=x86_64 ;;
+   abi_x86_32) arch=ia32 ;;
+#  abi_ppc_64) arch=ppc64 ;;
+#  abi_ppc_32) arch=ppc32 ;;
+   esac
+
+   case "$(tc-getCXX)" in
+   *clang*) comp="clang" ;;
+   *g++*) comp="gcc" ;;
+   *ic*c) comp="icc" ;;
+   *) die "compiler $(tc-getCXX) not supported by build system" ;;
+   esac
+
+   if use debug ; then
+   buildtypes="release debug"
+   else
+   buildtypes="release"
+   fi
+
+   for bt in ${buildtypes}; do
+   CXX="$(tc-getCXX)" \
+   CC="$(tc-getCC)" \
+   AS="$(tc-getAS)" \
+   arch=${arch} \
+   

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/files/

2020-05-25 Thread Guilherme Amadio
commit: 92cfdb93136583b80ddf468be4bbba04dda654c4
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun May 24 13:12:41 2020 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Mon May 25 13:12:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92cfdb93

dev-cpp/tbb: remove unused patches

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Guilherme Amadio  gentoo.org>

 dev-cpp/tbb/files/tbb-2017.20161128-build.patch| 187 -
 .../tbb/files/tbb-4.4.20160803-underlinking.patch  |  15 --
 2 files changed, 202 deletions(-)

diff --git a/dev-cpp/tbb/files/tbb-2017.20161128-build.patch 
b/dev-cpp/tbb/files/tbb-2017.20161128-build.patch
deleted file mode 100644
index e952bfbc434..000
--- a/dev-cpp/tbb/files/tbb-2017.20161128-build.patch
+++ /dev/null
@@ -1,187 +0,0 @@
 a/build/FreeBSD.gcc.inc
-+++ b/build/FreeBSD.gcc.inc
-@@ -28,8 +28,8 @@ WARNING_KEY = -Wall
- DYLIB_KEY = -shared
- WARNING_SUPPRESS = -Wno-parentheses
- 
--CPLUS = g++ 
--CONLY = gcc
-+CPLUS = $(CXX)
-+CONLY = $(CC)
- LIB_LINK_FLAGS = -shared
- LIBS = -lpthread 
- C_FLAGS = $(CPLUS_FLAGS)
-@@ -42,7 +42,7 @@ ifneq (,$(shell gcc -dumpversion | egrep  "^([6-9])"))
- endif
- 
- ifeq ($(cfg), release)
--CPLUS_FLAGS = -g -O2 -DUSE_PTHREAD
-+CPLUS_FLAGS = -g -DUSE_PTHREAD
- endif
- ifeq ($(cfg), debug)
- CPLUS_FLAGS = -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD
-@@ -59,22 +59,12 @@ ifeq (ia64,$(arch))
- CPLUS_FLAGS += $(PIC_KEY)
- endif 
- 
--ifeq (intel64,$(arch))
--CPLUS_FLAGS += -m64
--LIB_LINK_FLAGS += -m64
--endif 
--
--ifeq (ia32,$(arch))
--CPLUS_FLAGS += -m32
--LIB_LINK_FLAGS += -m32
--endif 
--
- 
#--
- # Setting assembler data.
- 
#--
- ASSEMBLY_SOURCE=$(arch)-gas
- ifeq (ia64,$(arch))
--ASM=as
-+ASM=$(AS)
- TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
- MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
- endif 
 a/build/linux.clang.inc
-+++ b/build/linux.clang.inc
-@@ -31,15 +31,15 @@ DYLIB_KEY = -shared
- EXPORT_KEY = -Wl,--version-script,
- LIBDL = -ldl
- 
--CPLUS = clang++
--CONLY = clang
-+CPLUS := $(CXX)
-+CONLY := $(CC)
- LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
- LIBS += -lpthread -lrt
- LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
- C_FLAGS = $(CPLUS_FLAGS)
- 
- ifeq ($(cfg), release)
--CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
-+CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
- endif
- ifeq ($(cfg), debug)
- CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
-@@ -60,24 +60,10 @@ MALLOC_ASM.OBJ=
- 
- ifeq (intel64,$(arch))
- ITT_NOTIFY = -DDO_ITT_NOTIFY
--CPLUS_FLAGS += -m64
--LIB_LINK_FLAGS += -m64
- endif
- 
- ifeq (ia32,$(arch))
- ITT_NOTIFY = -DDO_ITT_NOTIFY
--CPLUS_FLAGS += -m32 -march=pentium4
--LIB_LINK_FLAGS += -m32
--endif
--
--ifeq (ppc64,$(arch))
--CPLUS_FLAGS += -m64
--LIB_LINK_FLAGS += -m64
--endif
--
--ifeq (ppc32,$(arch))
--CPLUS_FLAGS += -m32
--LIB_LINK_FLAGS += -m32
- endif
- 
- ifeq (bg,$(arch))
-@@ -89,12 +75,6 @@ endif
- # Setting assembler data.
- 
#--
- ASM = as
--ifeq (intel64,$(arch))
--ASM_FLAGS += --64
--endif
--ifeq (ia32,$(arch))
--ASM_FLAGS += --32
--endif
- ifeq ($(cfg),debug)
- ASM_FLAGS += -g
- endif
 a/build/linux.gcc.inc
-+++ b/build/linux.gcc.inc
-@@ -32,12 +32,12 @@ DYLIB_KEY = -shared
- EXPORT_KEY = -Wl,--version-script,
- LIBDL = -ldl
- 
--CPLUS = g++
--CONLY = gcc
-+CPLUS := $(CXX)
-+CONLY := $(CC)
- LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
- LIBS += -lpthread -lrt
- LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
--C_FLAGS = $(CPLUS_FLAGS)
-+C_FLAGS := $(CPLUS_FLAGS)
- 
- # gcc 4.2 and higher support OpenMP
- ifneq (,$(shell gcc -dumpversion | egrep  "^(4\.[2-9]|[5-9])"))
-@@ -68,7 +68,7 @@ ifneq (,$(shell gcc -dumpversion | egrep  "^([6-9])"))
- endif
- 
- ifeq ($(cfg), release)
--CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
-+CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
- endif
- ifeq ($(cfg), debug)
- CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
-@@ -84,24 +84,12 @@ endif
- 
- ifeq (intel64,$(arch))
- ITT_NOTIFY = -DDO_ITT_NOTIFY
--CPLUS_FLAGS += -m64 $(RTM_KEY)
--LIB_LINK_FLAGS += -m64
-+CPLUS_FLAGS += $(RTM_KEY)
- endif
- 
- ifeq (ia32,$(arch))
- ITT_NOTIFY = -DDO_ITT_NOTIFY
--CPLUS_FLAGS += -m32 -march=pentium4 $(RTM_KEY)
--LIB_LINK_FLAGS += -m32
--endif
--
--ifeq (ppc64,$(arch))
--CPLUS_FLAGS += -m64
--LIB_LINK_FLAGS += -m64
--endif
--
--ifeq (ppc32,$(arch))
--CPLUS_FLAGS += -m32
--LIB_LINK_FLAGS += -m32
-+CPLUS_FLAGS += 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2020-04-16 Thread Agostino Sarubbo
commit: be07a6e5e8ec977e5e382b7b99f4c16301fc31b0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Apr 16 15:10:26 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Apr 16 15:10:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be07a6e5

dev-cpp/tbb: arm stable wrt bug #713244

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/tbb/tbb-2019.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild
index 1d0768561b2..f8b27cedd94 100644
--- a/dev-cpp/tbb/tbb-2019.8.ebuild
+++ b/dev-cpp/tbb/tbb-2019.8.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2020-04-15 Thread Guilherme Amadio
commit: 74f639fe4f61611dd941376f840157b8668e4789
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Wed Apr 15 11:55:07 2020 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed Apr 15 12:14:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f639fe

dev-cpp/tbb: arm64 stable wrt bug #713244

Closes: https://bugs.gentoo.org/713244

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Guilherme Amadio  gentoo.org>

 dev-cpp/tbb/tbb-2019.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild
index 95a53b4474b..1d0768561b2 100644
--- a/dev-cpp/tbb/tbb-2019.8.ebuild
+++ b/dev-cpp/tbb/tbb-2019.8.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2020-04-15 Thread Guilherme Amadio
commit: 7bd9fb544802c50bbe378677b9a01207f3fc3f0e
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Wed Apr 15 12:12:58 2020 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed Apr 15 12:14:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd9fb54

dev-cpp/tbb: drop old

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Guilherme Amadio  gentoo.org>

 dev-cpp/tbb/Manifest |   3 -
 dev-cpp/tbb/tbb-2017.20161128.ebuild | 144 -
 dev-cpp/tbb/tbb-2018.20180312.ebuild | 144 -
 dev-cpp/tbb/tbb-2020.1.ebuild| 151 ---
 4 files changed, 442 deletions(-)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index fd7b4501a2b..55a4e5475b0 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,5 +1,2 @@
-DIST tbb-2018.20180312.tar.gz 2911740 BLAKE2B 
5c6dab4a892f3b61ed0b02ea36dc41bebd5b33a22bcc3d5f2960f21e134f2eb9bccf1466193a573489e12638c0bb0bccc2da83f699968ffd62417f2d0f093289
 SHA512 
7ac74e714122e25f7704630d3d52992dbea54d1e761b5e487251a771f401aa864f78b8ddf11d78f38758088df387abb6987f6a2db562c86cbb28ba8f33a25680
 DIST tbb-2019.8.tar.gz 2580540 BLAKE2B 
1cddb0c8ade6f6363811b7f9b323a2bb7739a18114acd56e1b4a13f33904ddff8cb6aec9b4b0add995cd307ff7815f0b55ce33fa64b7dd92c0062fbaa13d0833
 SHA512 
924a8dde011452a2c46c5152942a9835e76fe5610e08b69eb0e985de3fb46bdb49f0f628d10fa7704428f6e61ec63f7002da5399d47da6ee6004fa236d346dc8
-DIST tbb-2020.1.tar.gz 2639115 BLAKE2B 
058438351738eeab01c230ec10ff0a1dde77e5cc4fd77f292c31ee0320f41d079c8f90fc06f4640ffa375d5f0c0b5fbed13ac5a64a9cb9f1737cb66bc80442ea
 SHA512 
79810c27c84bd3b3432bef471fa1c782f1f162a0d1038e88c03a77499cc7aeaa10d57317729fd23472e2d0f358395955f7570e8c679685a552a833eb45cf5f1d
 DIST tbb-2020.2.tar.gz 2637172 BLAKE2B 
6b6e65732d3971f7374058513004ca3cfc3855b83c0a2dde59d50e08c26ff220470e31db86f4ab9f009c7e02e454a00a348730e63c829aa8d217320f7879cfc9
 SHA512 
6d7412fa6ce12d27736af3c8942c5ab5ea6945dd3ca93f309535c0dba3ff757d6507a5ffc3bcd73e6fdcda043cdedfa657631b25ae86fbf221d0f1d66a85b48f
-DIST tbb2017_20161128oss_src.tgz 2965854 BLAKE2B 
8c5aed6d8477297922767803617346feebb712d1f4b2df6d71a86f039b5563afc666454985e68a528a812aaad40b5fd0562bb91d357c45156fec46e5389ec542
 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c

diff --git a/dev-cpp/tbb/tbb-2017.20161128.ebuild 
b/dev-cpp/tbb/tbb-2017.20161128.ebuild
deleted file mode 100644
index 0297838dbef..000
--- a/dev-cpp/tbb/tbb-2017.20161128.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils flag-o-matic multilib-minimal toolchain-funcs versionator
-
-PV1="$(get_version_component_range 1)"
-PV2="$(get_version_component_range 2)"
-MYP="${PN}${PV1}_${PV2}oss"
-
-DESCRIPTION="High level abstract threading library"
-HOMEPAGE="https://www.threadingbuildingblocks.org;
-SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="debug doc examples"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-S="${WORKDIR}/${MYP}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.4.20160803-underlinking.patch
-   "${FILESDIR}"/${PN}-2017.20161128-build.patch
-)
-
-src_prepare() {
-   default
-
-   find include -name \*.html -delete || die
-
-   # Give it a soname on FreeBSD
-   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
-   # Set proper versionning on FreeBSD
-   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
-
-   use debug || sed -i -e '/_debug/d' Makefile
-}
-
-multilib_src_configure() {
-   # pc files are for debian and fedora compatibility
-   # some deps use them
-   cat <<-EOF > ${PN}.pc.template
-   prefix=${EPREFIX}/usr
-   libdir=\${prefix}/$(get_libdir)
-   includedir=\${prefix}/include
-   Name: ${PN}
-   Description: ${DESCRIPTION}
-   Version: ${PV}
-   URL: ${HOMEPAGE}
-   Cflags: -I\${includedir}
-   EOF
-   cp ${PN}.pc.template ${PN}.pc || die
-   cat <<-EOF >> ${PN}.pc
-   Libs: -L\${libdir} -ltbb
-   Libs.private: -lm -lrt
-   EOF
-   cp ${PN}.pc.template ${PN}malloc.pc || die
-   cat <<-EOF >> ${PN}malloc.pc
-   Libs: -L\${libdir} -ltbbmalloc
-   Libs.private: -lm -lrt
-   EOF
-   cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
-   cat <<-EOF >> ${PN}malloc_proxy.pc
-   Libs: -L\${libdir} -ltbbmalloc_proxy
-   Libs.private: -lrt
-   Requires: tbbmalloc
-   EOF
-}
-
-local_src_compile() 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2020-04-01 Thread Guilherme Amadio
commit: 8ba9493bd91a9f0886d415ca84d29006007820a5
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Mar 31 21:01:04 2020 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed Apr  1 08:50:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba9493b

dev-cpp/tbb: version bump to 2020.2

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Guilherme Amadio  gentoo.org>

 dev-cpp/tbb/Manifest  |   1 +
 dev-cpp/tbb/tbb-2020.2.ebuild | 151 ++
 2 files changed, 152 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 2b389097681..fd7b4501a2b 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,4 +1,5 @@
 DIST tbb-2018.20180312.tar.gz 2911740 BLAKE2B 
5c6dab4a892f3b61ed0b02ea36dc41bebd5b33a22bcc3d5f2960f21e134f2eb9bccf1466193a573489e12638c0bb0bccc2da83f699968ffd62417f2d0f093289
 SHA512 
7ac74e714122e25f7704630d3d52992dbea54d1e761b5e487251a771f401aa864f78b8ddf11d78f38758088df387abb6987f6a2db562c86cbb28ba8f33a25680
 DIST tbb-2019.8.tar.gz 2580540 BLAKE2B 
1cddb0c8ade6f6363811b7f9b323a2bb7739a18114acd56e1b4a13f33904ddff8cb6aec9b4b0add995cd307ff7815f0b55ce33fa64b7dd92c0062fbaa13d0833
 SHA512 
924a8dde011452a2c46c5152942a9835e76fe5610e08b69eb0e985de3fb46bdb49f0f628d10fa7704428f6e61ec63f7002da5399d47da6ee6004fa236d346dc8
 DIST tbb-2020.1.tar.gz 2639115 BLAKE2B 
058438351738eeab01c230ec10ff0a1dde77e5cc4fd77f292c31ee0320f41d079c8f90fc06f4640ffa375d5f0c0b5fbed13ac5a64a9cb9f1737cb66bc80442ea
 SHA512 
79810c27c84bd3b3432bef471fa1c782f1f162a0d1038e88c03a77499cc7aeaa10d57317729fd23472e2d0f358395955f7570e8c679685a552a833eb45cf5f1d
+DIST tbb-2020.2.tar.gz 2637172 BLAKE2B 
6b6e65732d3971f7374058513004ca3cfc3855b83c0a2dde59d50e08c26ff220470e31db86f4ab9f009c7e02e454a00a348730e63c829aa8d217320f7879cfc9
 SHA512 
6d7412fa6ce12d27736af3c8942c5ab5ea6945dd3ca93f309535c0dba3ff757d6507a5ffc3bcd73e6fdcda043cdedfa657631b25ae86fbf221d0f1d66a85b48f
 DIST tbb2017_20161128oss_src.tgz 2965854 BLAKE2B 
8c5aed6d8477297922767803617346feebb712d1f4b2df6d71a86f039b5563afc666454985e68a528a812aaad40b5fd0562bb91d357c45156fec46e5389ec542
 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c

diff --git a/dev-cpp/tbb/tbb-2020.2.ebuild b/dev-cpp/tbb/tbb-2020.2.ebuild
new file mode 100644
index 000..25976f821ba
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2020.2.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils flag-o-matic multilib-minimal multilib toolchain-funcs
+
+PV1="$(ver_cut 1)"
+PV2="$(ver_cut 2)"
+MY_PV="${PV1}_U${PV2}"
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://www.threadingbuildingblocks.org;
+SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="debug examples"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/oneTBB-${MY_PV}"
+
+DOCS=( CHANGES README README.md doc/Release_Notes.txt )
+
+PATCHES=( "${FILESDIR}"/${PN}-2020.1-makefile-debug.patch )
+
+src_prepare() {
+   default
+
+   find include -name \*.html -delete || die
+
+   # Give it a soname on FreeBSD
+   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
+   # Set proper versionning on FreeBSD
+   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
+
+   use debug || sed -i -e '/_debug/d' Makefile
+}
+
+multilib_src_configure() {
+   # pc files are for debian and fedora compatibility
+   # some deps use them
+   cat <<-EOF > ${PN}.pc.template
+   prefix=${EPREFIX}/usr
+   libdir=\${prefix}/$(get_libdir)
+   includedir=\${prefix}/include
+   Name: ${PN}
+   Description: ${DESCRIPTION}
+   Version: ${PV}
+   URL: ${HOMEPAGE}
+   Cflags: -I\${includedir}
+   EOF
+   cp ${PN}.pc.template ${PN}.pc || die
+   cat <<-EOF >> ${PN}.pc
+   Libs: -L\${libdir} -ltbb
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc.pc || die
+   cat <<-EOF >> ${PN}malloc.pc
+   Libs: -L\${libdir} -ltbbmalloc
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
+   cat <<-EOF >> ${PN}malloc_proxy.pc
+   Libs: -L\${libdir} -ltbbmalloc_proxy
+   Libs.private: -lrt
+   Requires: tbbmalloc
+   EOF
+}
+
+local_src_compile() {
+   cd "${S}"
+
+   local comp arch
+   local bt buildtypes
+
+   case ${MULTILIB_ABI_FLAG} in
+   abi_x86_64) arch=x86_64 ;;
+   abi_x86_32) arch=ia32 ;;
+#  abi_ppc_64) 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2020-03-21 Thread Agostino Sarubbo
commit: d2291aaac81ff9a81987cbeebf5158fccabff814
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Mar 21 15:53:26 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Mar 21 15:53:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2291aaa

dev-cpp/tbb: ppc stable wrt bug #713244

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/tbb/tbb-2019.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild
index 9c5204f8b07..95a53b4474b 100644
--- a/dev-cpp/tbb/tbb-2019.8.ebuild
+++ b/dev-cpp/tbb/tbb-2019.8.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2020-03-20 Thread Agostino Sarubbo
commit: 474e199a9d718225c310ae8cc47daf45081f2dbb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Mar 20 11:29:38 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Mar 20 11:29:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=474e199a

dev-cpp/tbb: ppc64 stable wrt bug #713244

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/tbb/tbb-2019.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild
index d2e35591d12..9c5204f8b07 100644
--- a/dev-cpp/tbb/tbb-2019.8.ebuild
+++ b/dev-cpp/tbb/tbb-2019.8.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2020-03-20 Thread Agostino Sarubbo
commit: f5f74c307263a351f765d5f4595d68b7122e5f0c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Mar 20 09:03:07 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Mar 20 09:04:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f74c30

dev-cpp/tbb: x86 stable wrt bug #713244

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/tbb/tbb-2019.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild
index b7f9d73d1bc..d2e35591d12 100644
--- a/dev-cpp/tbb/tbb-2019.8.ebuild
+++ b/dev-cpp/tbb/tbb-2019.8.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2020-03-20 Thread Agostino Sarubbo
commit: ac38b75fd83622d373d2498c6de546e6434bfbcc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Mar 20 08:56:27 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Mar 20 08:56:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac38b75f

dev-cpp/tbb: amd64 stable wrt bug #713244

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/tbb/tbb-2019.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild
index d123fda91ce..b7f9d73d1bc 100644
--- a/dev-cpp/tbb/tbb-2019.8.ebuild
+++ b/dev-cpp/tbb/tbb-2019.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="debug examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/, dev-cpp/tbb/files/

2020-03-18 Thread Guilherme Amadio
commit: 88dd71d503544ff3d11c6653ff23b7a938430ac7
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Wed Mar 18 17:02:57 2020 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Wed Mar 18 17:03:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88dd71d5

dev-cpp/tbb: version bump to 2020.1

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Guilherme Amadio  gentoo.org>

 dev-cpp/tbb/Manifest  |   1 +
 dev-cpp/tbb/files/tbb-2020.1-makefile-debug.patch |  62 +
 dev-cpp/tbb/tbb-2020.1.ebuild | 151 ++
 3 files changed, 214 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 3123910d2a1..2b389097681 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,3 +1,4 @@
 DIST tbb-2018.20180312.tar.gz 2911740 BLAKE2B 
5c6dab4a892f3b61ed0b02ea36dc41bebd5b33a22bcc3d5f2960f21e134f2eb9bccf1466193a573489e12638c0bb0bccc2da83f699968ffd62417f2d0f093289
 SHA512 
7ac74e714122e25f7704630d3d52992dbea54d1e761b5e487251a771f401aa864f78b8ddf11d78f38758088df387abb6987f6a2db562c86cbb28ba8f33a25680
 DIST tbb-2019.8.tar.gz 2580540 BLAKE2B 
1cddb0c8ade6f6363811b7f9b323a2bb7739a18114acd56e1b4a13f33904ddff8cb6aec9b4b0add995cd307ff7815f0b55ce33fa64b7dd92c0062fbaa13d0833
 SHA512 
924a8dde011452a2c46c5152942a9835e76fe5610e08b69eb0e985de3fb46bdb49f0f628d10fa7704428f6e61ec63f7002da5399d47da6ee6004fa236d346dc8
+DIST tbb-2020.1.tar.gz 2639115 BLAKE2B 
058438351738eeab01c230ec10ff0a1dde77e5cc4fd77f292c31ee0320f41d079c8f90fc06f4640ffa375d5f0c0b5fbed13ac5a64a9cb9f1737cb66bc80442ea
 SHA512 
79810c27c84bd3b3432bef471fa1c782f1f162a0d1038e88c03a77499cc7aeaa10d57317729fd23472e2d0f358395955f7570e8c679685a552a833eb45cf5f1d
 DIST tbb2017_20161128oss_src.tgz 2965854 BLAKE2B 
8c5aed6d8477297922767803617346feebb712d1f4b2df6d71a86f039b5563afc666454985e68a528a812aaad40b5fd0562bb91d357c45156fec46e5389ec542
 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c

diff --git a/dev-cpp/tbb/files/tbb-2020.1-makefile-debug.patch 
b/dev-cpp/tbb/files/tbb-2020.1-makefile-debug.patch
new file mode 100644
index 000..b4313b375f5
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2020.1-makefile-debug.patch
@@ -0,0 +1,62 @@
+--- a/Makefile 2020-01-21 12:26:46.0 +0100
 b/Makefile 2020-03-18 16:21:37.589262099 +0100
+@@ -26,29 +26,29 @@
+ all: tbb tbbmalloc tbbproxy test examples
+ 
+ tbb: mkdir
+-  $(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.tbb 
cfg=release
++  $(MAKE) -C "$(work_dir)_$(cfg)"  -r -f $(tbb_root)/build/Makefile.tbb 
cfg=$(cfg)
+ 
+ tbbmalloc: mkdir
+-  $(MAKE) -C "$(work_dir)_release"  -r -f 
$(tbb_root)/build/Makefile.tbbmalloc cfg=release malloc
++  $(MAKE) -C "$(work_dir)_$(cfg)"  -r -f 
$(tbb_root)/build/Makefile.tbbmalloc cfg=$(cfg) malloc
+ 
+ tbbproxy: mkdir
+-  $(MAKE) -C "$(work_dir)_release"  -r -f 
$(tbb_root)/build/Makefile.tbbproxy cfg=release tbbproxy
++  $(MAKE) -C "$(work_dir)_$(cfg)"  -r -f 
$(tbb_root)/build/Makefile.tbbproxy cfg=$(cfg) tbbproxy
+ 
+ tbbbind: mkdir
+-  $(MAKE) -C "$(work_dir)_release"  -r -f 
$(tbb_root)/build/Makefile.tbbbind cfg=release tbbbind
++  $(MAKE) -C "$(work_dir)_$(cfg)"  -r -f 
$(tbb_root)/build/Makefile.tbbbind cfg=$(cfg) tbbbind
+ 
+ test: tbb tbbmalloc $(if $(use_proxy),tbbproxy)
+-  -$(MAKE) -C "$(work_dir)_release"  -r -f 
$(tbb_root)/build/Makefile.tbbmalloc cfg=release malloc_test
+-  -$(MAKE) -C "$(work_dir)_release"  -r -f 
$(tbb_root)/build/Makefile.test cfg=release
++  -$(MAKE) -C "$(work_dir)_$(cfg)"  -r -f 
$(tbb_root)/build/Makefile.tbbmalloc cfg=$(cfg) malloc_test
++  -$(MAKE) -C "$(work_dir)_$(cfg)"  -r -f $(tbb_root)/build/Makefile.test 
cfg=$(cfg)
+ 
+ rml: mkdir
+-  $(MAKE) -C "$(work_dir)_release"  -r -f $(tbb_root)/build/Makefile.rml 
cfg=release
++  $(MAKE) -C "$(work_dir)_$(cfg)"  -r -f $(tbb_root)/build/Makefile.rml 
cfg=$(cfg)
+ 
+ examples: tbb tbbmalloc
+-  $(MAKE) -C examples -r -f Makefile tbb_root=.. release test
++  $(MAKE) -C examples -r -f Makefile tbb_root=.. $(cfg) test
+ 
+ python: tbb
+-  $(MAKE) -C "$(work_dir)_release" -rf $(tbb_root)/python/Makefile install
++  $(MAKE) -C "$(work_dir)_$(cfg)" -rf $(tbb_root)/python/Makefile install
+ 
+ doxygen:
+   doxygen Doxyfile
+@@ -56,16 +56,16 @@
+ .PHONY: clean clean_examples mkdir info
+ 
+ clean: clean_examples
+-  $(shell $(RM) $(work_dir)_release$(SLASH)*.* >$(NUL) 2>$(NUL))
+-  $(shell $(RD) $(work_dir)_release >$(NUL) 2>$(NUL))
++  $(shell $(RM) $(work_dir)_$(cfg)$(SLASH)*.* >$(NUL) 2>$(NUL))
++  $(shell $(RD) $(work_dir)_$(cfg) >$(NUL) 2>$(NUL))
+   @echo clean done
+ 
+ clean_examples:
+   $(shell $(MAKE) -s -i -r -C examples -f Makefile tbb_root=.. clean 
>$(NUL) 2>$(NUL))
+ 
+ mkdir:
+-  $(shell $(MD) "$(work_dir)_release" >$(NUL) 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/files/

2019-11-07 Thread Aaron Bauman
commit: 487bbd7c4fb8280c53546ce165b12ceb16a55b42
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Aug 21 18:21:37 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov  8 02:43:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=487bbd7c

dev-cpp/tbb: remove unused patches

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12762
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch |  20 ---
 dev-cpp/tbb/files/tbb-4.3.20150611-build.patch   | 185 --
 dev-cpp/tbb/files/tbb-4.4.20160803-build.patch   | 187 ---
 3 files changed, 392 deletions(-)

diff --git a/dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch 
b/dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch
deleted file mode 100644
index ed318cab838..000
--- a/dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From: Julian Ospald 
-Date: Thu May 31 21:37:47 UTC 2012
-Subject: build system
-
-fix underlinking in test phase
-wrt https://bugs.gentoo.org/show_bug.cgi?id=418447
-
 a/build/Makefile.test
-+++ b/build/Makefile.test
-@@ -48,8 +48,8 @@
- USE_PROXY_FLAG = $(DEFINE_KEY)HARNESS_USE_PROXY
- CPLUS_FLAGS += $(USE_PROXY_FLAG)
- LINK_TBB.LIB = $(PROXY.LIB)
--LIBS += $(LIBDL)
--endif
-+endif
-+LIBS += $(LIBDL)
- 
- include $(tbb_root)/build/common_rules.inc
- 

diff --git a/dev-cpp/tbb/files/tbb-4.3.20150611-build.patch 
b/dev-cpp/tbb/files/tbb-4.3.20150611-build.patch
deleted file mode 100644
index 8f806989e44..000
--- a/dev-cpp/tbb/files/tbb-4.3.20150611-build.patch
+++ /dev/null
@@ -1,185 +0,0 @@
 a/build/FreeBSD.gcc.inc
-+++ b/build/FreeBSD.gcc.inc
-@@ -28,14 +28,14 @@ WARNING_KEY = -Wall
- DYLIB_KEY = -shared
- WARNING_SUPPRESS = -Wno-parentheses
- 
--CPLUS = g++ 
--CONLY = gcc
-+CPLUS = $(CXX)
-+CONLY = $(CC)
- LIB_LINK_FLAGS = -shared
- LIBS = -lpthread 
- C_FLAGS = $(CPLUS_FLAGS)
- 
- ifeq ($(cfg), release)
--CPLUS_FLAGS = -g -O2 -DUSE_PTHREAD
-+CPLUS_FLAGS = -g -DUSE_PTHREAD
- endif
- ifeq ($(cfg), debug)
- CPLUS_FLAGS = -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD
-@@ -52,22 +52,12 @@ ifeq (ia64,$(arch))
- CPLUS_FLAGS += $(PIC_KEY)
- endif 
- 
--ifeq (intel64,$(arch))
--CPLUS_FLAGS += -m64
--LIB_LINK_FLAGS += -m64
--endif 
--
--ifeq (ia32,$(arch))
--CPLUS_FLAGS += -m32
--LIB_LINK_FLAGS += -m32
--endif 
--
- 
#--
- # Setting assembler data.
- 
#--
- ASSEMBLY_SOURCE=$(arch)-gas
- ifeq (ia64,$(arch))
--ASM=as
-+ASM=$(AS)
- TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
- MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
- endif 
 a/build/linux.clang.inc
-+++ b/build/linux.clang.inc
-@@ -31,15 +31,15 @@ DYLIB_KEY = -shared
- EXPORT_KEY = -Wl,--version-script,
- LIBDL = -ldl
- 
--CPLUS = clang++
--CONLY = clang
-+CPLUS := $(CXX)
-+CONLY := $(CC)
- LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
- LIBS += -lpthread -lrt
- LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
- C_FLAGS = $(CPLUS_FLAGS)
- 
- ifeq ($(cfg), release)
--CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
-+CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
- endif
- ifeq ($(cfg), debug)
- CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
-@@ -61,24 +61,10 @@ MALLOC_ASM.OBJ=
- 
- ifeq (intel64,$(arch))
- ITT_NOTIFY = -DDO_ITT_NOTIFY
--CPLUS_FLAGS += -m64
--LIB_LINK_FLAGS += -m64
- endif
- 
- ifeq (ia32,$(arch))
- ITT_NOTIFY = -DDO_ITT_NOTIFY
--CPLUS_FLAGS += -m32 -march=pentium4
--LIB_LINK_FLAGS += -m32
--endif
--
--ifeq (ppc64,$(arch))
--CPLUS_FLAGS += -m64
--LIB_LINK_FLAGS += -m64
--endif
--
--ifeq (ppc32,$(arch))
--CPLUS_FLAGS += -m32
--LIB_LINK_FLAGS += -m32
- endif
- 
- ifeq (bg,$(arch))
-@@ -90,12 +76,6 @@ endif
- # Setting assembler data.
- 
#--
- ASM = as
--ifeq (intel64,$(arch))
--ASM_FLAGS += --64
--endif
--ifeq (ia32,$(arch))
--ASM_FLAGS += --32
--endif
- ifeq ($(cfg),debug)
- ASM_FLAGS += -g
- endif
 a/build/linux.gcc.inc
-+++ b/build/linux.gcc.inc
-@@ -32,12 +32,12 @@ DYLIB_KEY = -shared
- EXPORT_KEY = -Wl,--version-script,
- LIBDL = -ldl
- 
--CPLUS = g++
--CONLY = gcc
-+CPLUS := $(CXX)
-+CONLY := $(CC)
- LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
- LIBS += -lpthread -lrt
- LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
--C_FLAGS = $(CPLUS_FLAGS)
-+C_FLAGS := $(CPLUS_FLAGS)
- # gcc 4.4 and higher support -std=c++0x
- ifneq (,$(shell gcc -dumpversion | egrep  "^(4\.[4-9]|[5-9])"))
- CPP11_FLAGS = -std=c++0x -D_TBB_CPP0X
-@@ -54,7 +54,7 @@ ifneq (,$(shell gcc -dumpversion | egrep  "^4\.[8-9]"))
- endif
- 
- ifeq 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2019-10-03 Thread Guilherme Amadio
commit: a1ddeefb53647830f2c1b781c51487eecd290d4a
Author: Peter Levine  gmail  com>
AuthorDate: Thu Oct  3 01:43:17 2019 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Thu Oct  3 09:31:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ddeefb

dev-cpp/tbb: Fix building with clang

Prevent "clang++" from being inadvertently matched to "*g++*" in a case
statement.

Closes: https://bugs.gentoo.org/662990
Closes: https://github.com/gentoo/gentoo/pull/13129
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Peter Levine  gmail.com>
Signed-off-by: Guilherme Amadio  gentoo.org>

 dev-cpp/tbb/tbb-2019.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild
index fd77782aba4..b0174501177 100644
--- a/dev-cpp/tbb/tbb-2019.8.ebuild
+++ b/dev-cpp/tbb/tbb-2019.8.ebuild
@@ -80,9 +80,9 @@ local_src_compile() {
esac
 
case "$(tc-getCXX)" in
+   *clang*) comp="clang" ;;
*g++*) comp="gcc" ;;
*ic*c) comp="icc" ;;
-   *clang*) comp="clang" ;;
*) die "compiler $(tc-getCXX) not supported by build system" ;;
esac
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2019-08-16 Thread Guilherme Amadio
commit: 0f5de73eaf311bf5a091630966b196d98f10199f
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Aug 16 13:23:05 2019 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Aug 16 14:17:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5de73e

dev-cpp/tbb: update metadata.xml

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Guilherme Amadio  gentoo.org>

 dev-cpp/tbb/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/metadata.xml b/dev-cpp/tbb/metadata.xml
index 1d44ed7098f..1e4e905a884 100644
--- a/dev-cpp/tbb/metadata.xml
+++ b/dev-cpp/tbb/metadata.xml
@@ -13,6 +13,6 @@
   for performance and scalability.
   
   
-01org/tbb
+intel/tbb
   
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2019-08-16 Thread Guilherme Amadio
commit: 421d7a6c16eba3ac79559fd2fa068437229a5792
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Aug 16 13:17:20 2019 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Aug 16 14:17:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=421d7a6c

dev-cpp/tbb: drop old

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Guilherme Amadio  gentoo.org>

 dev-cpp/tbb/Manifest |   3 -
 dev-cpp/tbb/tbb-2017.20170226.ebuild | 144 --
 dev-cpp/tbb/tbb-4.3.20150611.ebuild  | 131 ---
 dev-cpp/tbb/tbb-4.4.20160803.ebuild  | 145 ---
 4 files changed, 423 deletions(-)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 7990c68b4ec..3123910d2a1 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,6 +1,3 @@
-DIST tbb-2017.20170226.tar.gz 2856407 BLAKE2B 
10c9f1230a57e0cc778f4f7ad9395a7dc9044b7f203e704cfdc479632e2aaf35f05caa168d9caea490abc6d96ec7d77ea6e7effbc9d5b589a6e41e3374b8b9cb
 SHA512 
d07eeca53138432a4ac20145169907f5271e234bedfb53e0eabbed2b6fafaecdc0a2ad7bdbead205993f822e7c415233cce9afd7575d366c17a117d5cc971a65
 DIST tbb-2018.20180312.tar.gz 2911740 BLAKE2B 
5c6dab4a892f3b61ed0b02ea36dc41bebd5b33a22bcc3d5f2960f21e134f2eb9bccf1466193a573489e12638c0bb0bccc2da83f699968ffd62417f2d0f093289
 SHA512 
7ac74e714122e25f7704630d3d52992dbea54d1e761b5e487251a771f401aa864f78b8ddf11d78f38758088df387abb6987f6a2db562c86cbb28ba8f33a25680
 DIST tbb-2019.8.tar.gz 2580540 BLAKE2B 
1cddb0c8ade6f6363811b7f9b323a2bb7739a18114acd56e1b4a13f33904ddff8cb6aec9b4b0add995cd307ff7815f0b55ce33fa64b7dd92c0062fbaa13d0833
 SHA512 
924a8dde011452a2c46c5152942a9835e76fe5610e08b69eb0e985de3fb46bdb49f0f628d10fa7704428f6e61ec63f7002da5399d47da6ee6004fa236d346dc8
 DIST tbb2017_20161128oss_src.tgz 2965854 BLAKE2B 
8c5aed6d8477297922767803617346feebb712d1f4b2df6d71a86f039b5563afc666454985e68a528a812aaad40b5fd0562bb91d357c45156fec46e5389ec542
 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c
-DIST tbb43_20150611oss_src.tgz 2757631 BLAKE2B 
d1a00b531b747aeae05d052ac2d894b4d5dbee628988794ac9721058e5b3cd7efb60877ff1183d155d75bc2a0b413863911c438da9db1c30ec8e74e2de442118
 SHA512 
83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8
-DIST tbb44_20160803oss_src.tgz 2874050 BLAKE2B 
097e4e4fb2c14b6ab073409b26c7d5044cd7f2edb56efb0b307b1e07b4496a668d34eec88086d2f8e68eb050df9e2b48af81b5e47c860b15786e0c48df736d9c
 SHA512 
01b1dcdaffa96c3d503e44d7b236b1115f419c122dab0f40de4c9dc90db315a1f3755cc91adf9df91d5d31d8927df115230db94cf175edac09ae438b46374a92

diff --git a/dev-cpp/tbb/tbb-2017.20170226.ebuild 
b/dev-cpp/tbb/tbb-2017.20170226.ebuild
deleted file mode 100644
index 34be8b2f6e9..000
--- a/dev-cpp/tbb/tbb-2017.20170226.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils flag-o-matic multilib-minimal multilib toolchain-funcs 
versionator
-
-PV1="$(get_version_component_range 1)"
-PV2=5
-MY_PV="${PV1}_U${PV2}"
-
-DESCRIPTION="High level abstract threading library"
-HOMEPAGE="https://www.threadingbuildingblocks.org;
-SRC_URI="https://github.com/01org/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
-IUSE="debug doc examples"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.4.20160803-underlinking.patch
-   "${FILESDIR}"/${PN}-2017.20161128-build.patch
-)
-
-src_prepare() {
-   default
-
-   find include -name \*.html -delete || die
-
-   # Give it a soname on FreeBSD
-   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
-   # Set proper versionning on FreeBSD
-   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
-
-   use debug || sed -i -e '/_debug/d' Makefile
-}
-
-multilib_src_configure() {
-   # pc files are for debian and fedora compatibility
-   # some deps use them
-   cat <<-EOF > ${PN}.pc.template
-   prefix=${EPREFIX}/usr
-   libdir=\${prefix}/$(get_libdir)
-   includedir=\${prefix}/include
-   Name: ${PN}
-   Description: ${DESCRIPTION}
-   Version: ${PV}
-   URL: ${HOMEPAGE}
-   Cflags: -I\${includedir}
-   EOF
-   cp ${PN}.pc.template ${PN}.pc || die
-   cat <<-EOF >> ${PN}.pc
-   Libs: -L\${libdir} -ltbb
-   Libs.private: -lm -lrt
-   EOF
-   cp ${PN}.pc.template ${PN}malloc.pc || die
-   cat <<-EOF >> ${PN}malloc.pc
-   Libs: -L\${libdir} 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2019-08-16 Thread Guilherme Amadio
commit: 8684f6113d981541fb3984effc2ded4e889ba6a9
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Aug 16 13:15:46 2019 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Aug 16 14:17:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8684f611

dev-cpp/tbb: version bump to 2019_U8

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Guilherme Amadio  gentoo.org>

 dev-cpp/tbb/Manifest  |   1 +
 dev-cpp/tbb/tbb-2019.8.ebuild | 141 ++
 2 files changed, 142 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 1ee27c600fb..7990c68b4ec 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,5 +1,6 @@
 DIST tbb-2017.20170226.tar.gz 2856407 BLAKE2B 
10c9f1230a57e0cc778f4f7ad9395a7dc9044b7f203e704cfdc479632e2aaf35f05caa168d9caea490abc6d96ec7d77ea6e7effbc9d5b589a6e41e3374b8b9cb
 SHA512 
d07eeca53138432a4ac20145169907f5271e234bedfb53e0eabbed2b6fafaecdc0a2ad7bdbead205993f822e7c415233cce9afd7575d366c17a117d5cc971a65
 DIST tbb-2018.20180312.tar.gz 2911740 BLAKE2B 
5c6dab4a892f3b61ed0b02ea36dc41bebd5b33a22bcc3d5f2960f21e134f2eb9bccf1466193a573489e12638c0bb0bccc2da83f699968ffd62417f2d0f093289
 SHA512 
7ac74e714122e25f7704630d3d52992dbea54d1e761b5e487251a771f401aa864f78b8ddf11d78f38758088df387abb6987f6a2db562c86cbb28ba8f33a25680
+DIST tbb-2019.8.tar.gz 2580540 BLAKE2B 
1cddb0c8ade6f6363811b7f9b323a2bb7739a18114acd56e1b4a13f33904ddff8cb6aec9b4b0add995cd307ff7815f0b55ce33fa64b7dd92c0062fbaa13d0833
 SHA512 
924a8dde011452a2c46c5152942a9835e76fe5610e08b69eb0e985de3fb46bdb49f0f628d10fa7704428f6e61ec63f7002da5399d47da6ee6004fa236d346dc8
 DIST tbb2017_20161128oss_src.tgz 2965854 BLAKE2B 
8c5aed6d8477297922767803617346feebb712d1f4b2df6d71a86f039b5563afc666454985e68a528a812aaad40b5fd0562bb91d357c45156fec46e5389ec542
 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c
 DIST tbb43_20150611oss_src.tgz 2757631 BLAKE2B 
d1a00b531b747aeae05d052ac2d894b4d5dbee628988794ac9721058e5b3cd7efb60877ff1183d155d75bc2a0b413863911c438da9db1c30ec8e74e2de442118
 SHA512 
83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8
 DIST tbb44_20160803oss_src.tgz 2874050 BLAKE2B 
097e4e4fb2c14b6ab073409b26c7d5044cd7f2edb56efb0b307b1e07b4496a668d34eec88086d2f8e68eb050df9e2b48af81b5e47c860b15786e0c48df736d9c
 SHA512 
01b1dcdaffa96c3d503e44d7b236b1115f419c122dab0f40de4c9dc90db315a1f3755cc91adf9df91d5d31d8927df115230db94cf175edac09ae438b46374a92

diff --git a/dev-cpp/tbb/tbb-2019.8.ebuild b/dev-cpp/tbb/tbb-2019.8.ebuild
new file mode 100644
index 000..fd77782aba4
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2019.8.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils flag-o-matic multilib-minimal multilib toolchain-funcs
+
+PV1="$(ver_cut 1)"
+PV2="$(ver_cut 2)"
+MY_PV="${PV1}_U${PV2}"
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="https://www.threadingbuildingblocks.org;
+SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug examples"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+DOCS=( CHANGES README README.md doc/Release_Notes.txt )
+
+src_prepare() {
+   default
+
+   find include -name \*.html -delete || die
+
+   # Give it a soname on FreeBSD
+   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
+   # Set proper versionning on FreeBSD
+   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
+
+   use debug || sed -i -e '/_debug/d' Makefile
+}
+
+multilib_src_configure() {
+   # pc files are for debian and fedora compatibility
+   # some deps use them
+   cat <<-EOF > ${PN}.pc.template
+   prefix=${EPREFIX}/usr
+   libdir=\${prefix}/$(get_libdir)
+   includedir=\${prefix}/include
+   Name: ${PN}
+   Description: ${DESCRIPTION}
+   Version: ${PV}
+   URL: ${HOMEPAGE}
+   Cflags: -I\${includedir}
+   EOF
+   cp ${PN}.pc.template ${PN}.pc || die
+   cat <<-EOF >> ${PN}.pc
+   Libs: -L\${libdir} -ltbb
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc.pc || die
+   cat <<-EOF >> ${PN}malloc.pc
+   Libs: -L\${libdir} -ltbbmalloc
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
+   cat <<-EOF >> ${PN}malloc_proxy.pc
+   Libs: -L\${libdir} -ltbbmalloc_proxy
+   Libs.private: -lrt
+   

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2019-05-16 Thread Aaron Bauman
commit: 173b21aa7d3b00ca58422fb5ce2d80dce26ed93d
Author: Aaron Bauman  gentoo  org>
AuthorDate: Thu May 16 15:08:33 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu May 16 19:27:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=173b21aa

dev-cpp/tbb: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="arm64"

 dev-cpp/tbb/tbb-2017.20161128.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2017.20161128.ebuild 
b/dev-cpp/tbb/tbb-2017.20161128.ebuild
index bd54a0a8891..2f6b0f5a8f2 100644
--- a/dev-cpp/tbb/tbb-2017.20161128.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20161128.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.threadingbuildingblocks.org;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ppc ppc64 x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2019-05-07 Thread Michał Górny
commit: cc25d85e0df48005a4a160dcb5442f63da9c1db0
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  7 19:37:19 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  7 19:39:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc25d85e

dev-cpp/tbb: Mask abi_ppc* flag usage

The abi_ppc* flags are going to be removed from multilib-build.eclass.
The older version seems to have worked fine without them, so commit them
out for now.

Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/tbb/tbb-2017.20161128.ebuild | 4 ++--
 dev-cpp/tbb/tbb-2017.20170226.ebuild | 4 ++--
 dev-cpp/tbb/tbb-2018.20180312.ebuild | 4 ++--
 dev-cpp/tbb/tbb-4.4.20160803.ebuild  | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2017.20161128.ebuild 
b/dev-cpp/tbb/tbb-2017.20161128.ebuild
index 466e1e756f7..bd54a0a8891 100644
--- a/dev-cpp/tbb/tbb-2017.20161128.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20161128.ebuild
@@ -78,8 +78,8 @@ local_src_compile() {
case ${MULTILIB_ABI_FLAG} in
abi_x86_64) arch=x86_64 ;;
abi_x86_32) arch=ia32 ;;
-   abi_ppc_64) arch=ppc64 ;;
-   abi_ppc_32) arch=ppc32 ;;
+#  abi_ppc_64) arch=ppc64 ;;
+#  abi_ppc_32) arch=ppc32 ;;
esac
 
case "$(tc-getCXX)" in

diff --git a/dev-cpp/tbb/tbb-2017.20170226.ebuild 
b/dev-cpp/tbb/tbb-2017.20170226.ebuild
index a265095c4bb..34be8b2f6e9 100644
--- a/dev-cpp/tbb/tbb-2017.20170226.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20170226.ebuild
@@ -78,8 +78,8 @@ local_src_compile() {
case ${MULTILIB_ABI_FLAG} in
abi_x86_64) arch=x86_64 ;;
abi_x86_32) arch=ia32 ;;
-   abi_ppc_64) arch=ppc64 ;;
-   abi_ppc_32) arch=ppc32 ;;
+#  abi_ppc_64) arch=ppc64 ;;
+#  abi_ppc_32) arch=ppc32 ;;
esac
 
case "$(tc-getCXX)" in

diff --git a/dev-cpp/tbb/tbb-2018.20180312.ebuild 
b/dev-cpp/tbb/tbb-2018.20180312.ebuild
index 7879da6125e..acefb36e9bb 100644
--- a/dev-cpp/tbb/tbb-2018.20180312.ebuild
+++ b/dev-cpp/tbb/tbb-2018.20180312.ebuild
@@ -78,8 +78,8 @@ local_src_compile() {
case ${MULTILIB_ABI_FLAG} in
abi_x86_64) arch=x86_64 ;;
abi_x86_32) arch=ia32 ;;
-   abi_ppc_64) arch=ppc64 ;;
-   abi_ppc_32) arch=ppc32 ;;
+#  abi_ppc_64) arch=ppc64 ;;
+#  abi_ppc_32) arch=ppc32 ;;
esac
 
case "$(tc-getCXX)" in

diff --git a/dev-cpp/tbb/tbb-4.4.20160803.ebuild 
b/dev-cpp/tbb/tbb-4.4.20160803.ebuild
index f6cd3e24a60..d1d21c561ce 100644
--- a/dev-cpp/tbb/tbb-4.4.20160803.ebuild
+++ b/dev-cpp/tbb/tbb-4.4.20160803.ebuild
@@ -79,8 +79,8 @@ local_src_compile() {
case ${MULTILIB_ABI_FLAG} in
abi_x86_64) arch=x86_64 ;;
abi_x86_32) arch=ia32 ;;
-   abi_ppc_64) arch=ppc64 ;;
-   abi_ppc_32) arch=ppc32 ;;
+#  abi_ppc_64) arch=ppc64 ;;
+#  abi_ppc_32) arch=ppc32 ;;
esac
 
case "$(tc-getCXX)" in



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2018-05-16 Thread Aaron Bauman
commit: 312e027294ffd8ecb94f876d635316700a39c3b7
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue May 15 10:14:00 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed May 16 22:56:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=312e0272

dev-cpp/tbb: use HTTPS

Closes: https://github.com/gentoo/gentoo/pull/8421

 dev-cpp/tbb/tbb-2017.20161128.ebuild | 2 +-
 dev-cpp/tbb/tbb-2017.20170226.ebuild | 2 +-
 dev-cpp/tbb/tbb-2018.20180312.ebuild | 2 +-
 dev-cpp/tbb/tbb-4.3.20150611.ebuild  | 4 ++--
 dev-cpp/tbb/tbb-4.4.20160803.ebuild  | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2017.20161128.ebuild 
b/dev-cpp/tbb/tbb-2017.20161128.ebuild
index 42598e74ad8..466e1e756f7 100644
--- a/dev-cpp/tbb/tbb-2017.20161128.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20161128.ebuild
@@ -10,7 +10,7 @@ PV2="$(get_version_component_range 2)"
 MYP="${PN}${PV1}_${PV2}oss"
 
 DESCRIPTION="High level abstract threading library"
-HOMEPAGE="http://www.threadingbuildingblocks.org/;
+HOMEPAGE="https://www.threadingbuildingblocks.org;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="Apache-2.0"
 SLOT="0"

diff --git a/dev-cpp/tbb/tbb-2017.20170226.ebuild 
b/dev-cpp/tbb/tbb-2017.20170226.ebuild
index c2780f710a8..a265095c4bb 100644
--- a/dev-cpp/tbb/tbb-2017.20170226.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20170226.ebuild
@@ -10,7 +10,7 @@ PV2=5
 MY_PV="${PV1}_U${PV2}"
 
 DESCRIPTION="High level abstract threading library"
-HOMEPAGE="http://www.threadingbuildingblocks.org/;
+HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/01org/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"

diff --git a/dev-cpp/tbb/tbb-2018.20180312.ebuild 
b/dev-cpp/tbb/tbb-2018.20180312.ebuild
index 3d6b1e11f0b..7879da6125e 100644
--- a/dev-cpp/tbb/tbb-2018.20180312.ebuild
+++ b/dev-cpp/tbb/tbb-2018.20180312.ebuild
@@ -10,7 +10,7 @@ PV2=3
 MY_PV="${PV1}_U${PV2}"
 
 DESCRIPTION="High level abstract threading library"
-HOMEPAGE="http://www.threadingbuildingblocks.org/;
+HOMEPAGE="https://www.threadingbuildingblocks.org;
 SRC_URI="https://github.com/01org/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"

diff --git a/dev-cpp/tbb/tbb-4.3.20150611.ebuild 
b/dev-cpp/tbb/tbb-4.3.20150611.ebuild
index 6e59a338c11..d5efb48803d 100644
--- a/dev-cpp/tbb/tbb-4.3.20150611.ebuild
+++ b/dev-cpp/tbb/tbb-4.3.20150611.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ PV3="$(get_version_component_range 3)"
 MYP="${PN}${PV1}${PV2}_${PV3}oss"
 
 DESCRIPTION="High level abstract threading library"
-HOMEPAGE="http://www.threadingbuildingblocks.org/;
+HOMEPAGE="https://www.threadingbuildingblocks.org;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="GPL-2-with-exceptions"
 SLOT="0"

diff --git a/dev-cpp/tbb/tbb-4.4.20160803.ebuild 
b/dev-cpp/tbb/tbb-4.4.20160803.ebuild
index fb62b61be4a..f6cd3e24a60 100644
--- a/dev-cpp/tbb/tbb-4.4.20160803.ebuild
+++ b/dev-cpp/tbb/tbb-4.4.20160803.ebuild
@@ -11,7 +11,7 @@ PV3="$(get_version_component_range 3)"
 MYP="${PN}${PV1}${PV2}_${PV3}oss"
 
 DESCRIPTION="High level abstract threading library"
-HOMEPAGE="http://www.threadingbuildingblocks.org/;
+HOMEPAGE="https://www.threadingbuildingblocks.org;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="GPL-2-with-exceptions"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2018-04-24 Thread Matthias Maier
commit: c5f15046dc1de2ee05ed4622b18c09abc35075d5
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Apr 24 15:56:13 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Apr 24 15:57:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f15046

dev-cpp/tbb: version bump to 2018.20180312

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 dev-cpp/tbb/Manifest |   1 +
 dev-cpp/tbb/tbb-2018.20180312.ebuild | 144 +++
 2 files changed, 145 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index a8dc9eeea6f..1ee27c600fb 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,4 +1,5 @@
 DIST tbb-2017.20170226.tar.gz 2856407 BLAKE2B 
10c9f1230a57e0cc778f4f7ad9395a7dc9044b7f203e704cfdc479632e2aaf35f05caa168d9caea490abc6d96ec7d77ea6e7effbc9d5b589a6e41e3374b8b9cb
 SHA512 
d07eeca53138432a4ac20145169907f5271e234bedfb53e0eabbed2b6fafaecdc0a2ad7bdbead205993f822e7c415233cce9afd7575d366c17a117d5cc971a65
+DIST tbb-2018.20180312.tar.gz 2911740 BLAKE2B 
5c6dab4a892f3b61ed0b02ea36dc41bebd5b33a22bcc3d5f2960f21e134f2eb9bccf1466193a573489e12638c0bb0bccc2da83f699968ffd62417f2d0f093289
 SHA512 
7ac74e714122e25f7704630d3d52992dbea54d1e761b5e487251a771f401aa864f78b8ddf11d78f38758088df387abb6987f6a2db562c86cbb28ba8f33a25680
 DIST tbb2017_20161128oss_src.tgz 2965854 BLAKE2B 
8c5aed6d8477297922767803617346feebb712d1f4b2df6d71a86f039b5563afc666454985e68a528a812aaad40b5fd0562bb91d357c45156fec46e5389ec542
 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c
 DIST tbb43_20150611oss_src.tgz 2757631 BLAKE2B 
d1a00b531b747aeae05d052ac2d894b4d5dbee628988794ac9721058e5b3cd7efb60877ff1183d155d75bc2a0b413863911c438da9db1c30ec8e74e2de442118
 SHA512 
83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8
 DIST tbb44_20160803oss_src.tgz 2874050 BLAKE2B 
097e4e4fb2c14b6ab073409b26c7d5044cd7f2edb56efb0b307b1e07b4496a668d34eec88086d2f8e68eb050df9e2b48af81b5e47c860b15786e0c48df736d9c
 SHA512 
01b1dcdaffa96c3d503e44d7b236b1115f419c122dab0f40de4c9dc90db315a1f3755cc91adf9df91d5d31d8927df115230db94cf175edac09ae438b46374a92

diff --git a/dev-cpp/tbb/tbb-2018.20180312.ebuild 
b/dev-cpp/tbb/tbb-2018.20180312.ebuild
new file mode 100644
index 000..3d6b1e11f0b
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2018.20180312.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic multilib-minimal multilib toolchain-funcs 
versionator
+
+PV1="$(get_version_component_range 1)"
+PV2=3
+MY_PV="${PV1}_U${PV2}"
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="http://www.threadingbuildingblocks.org/;
+SRC_URI="https://github.com/01org/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug doc examples"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.4.20160803-underlinking.patch
+   "${FILESDIR}"/${PN}-2017.20161128-build.patch
+)
+
+src_prepare() {
+   default
+
+   find include -name \*.html -delete || die
+
+   # Give it a soname on FreeBSD
+   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
+   # Set proper versionning on FreeBSD
+   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
+
+   use debug || sed -i -e '/_debug/d' Makefile
+}
+
+multilib_src_configure() {
+   # pc files are for debian and fedora compatibility
+   # some deps use them
+   cat <<-EOF > ${PN}.pc.template
+   prefix=${EPREFIX}/usr
+   libdir=\${prefix}/$(get_libdir)
+   includedir=\${prefix}/include
+   Name: ${PN}
+   Description: ${DESCRIPTION}
+   Version: ${PV}
+   URL: ${HOMEPAGE}
+   Cflags: -I\${includedir}
+   EOF
+   cp ${PN}.pc.template ${PN}.pc || die
+   cat <<-EOF >> ${PN}.pc
+   Libs: -L\${libdir} -ltbb
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc.pc || die
+   cat <<-EOF >> ${PN}malloc.pc
+   Libs: -L\${libdir} -ltbbmalloc
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
+   cat <<-EOF >> ${PN}malloc_proxy.pc
+   Libs: -L\${libdir} -ltbbmalloc_proxy
+   Libs.private: -lrt
+   Requires: tbbmalloc
+   EOF
+}
+
+local_src_compile() {
+   cd "${S}"
+
+   local comp arch
+
+   case ${MULTILIB_ABI_FLAG} in
+   abi_x86_64) arch=x86_64 ;;
+   abi_x86_32) arch=ia32 ;;
+  

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2018-04-19 Thread Amy Liffey
commit: 15c118b7175f99581d50b6788579202ce5dfef9c
Author: Marty E. Plummer  startmail  com>
AuthorDate: Wed Apr 18 21:51:47 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Thu Apr 19 12:37:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15c118b7

dev-cpp/tbb: point PATCHES at remaining deduped patch.

Closes: https://bugs.gentoo.org/653308
Closes: https://github.com/gentoo/gentoo/pull/8061
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-cpp/tbb/tbb-2017.20170226.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2017.20170226.ebuild 
b/dev-cpp/tbb/tbb-2017.20170226.ebuild
index 187f9ac0615..c2780f710a8 100644
--- a/dev-cpp/tbb/tbb-2017.20170226.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20170226.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,7 +22,7 @@ RDEPEND="${DEPEND}"
 S="${WORKDIR}/${PN}-${MY_PV}"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-2017.20161128-underlinking.patch
+   "${FILESDIR}"/${PN}-4.4.20160803-underlinking.patch
"${FILESDIR}"/${PN}-2017.20161128-build.patch
 )
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/files/, dev-cpp/tbb/

2018-04-15 Thread Amy Liffey
commit: 68a56794e2d35c9233511ec1c2da89c2d10d6473
Author: Marty E. Plummer  startmail  com>
AuthorDate: Sun Apr  8 20:23:42 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Sun Apr 15 14:22:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a56794

dev-cpp/tbb: clean duplicate patches

Closes: https://github.com/gentoo/gentoo/pull/7898
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-cpp/tbb/files/tbb-2017.20161128-build.patch|  6 --
 dev-cpp/tbb/files/tbb-2017.20161128-underlinking.patch | 15 ---
 dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch   |  4 ++--
 dev-cpp/tbb/files/tbb-4.3.20150611-build.patch | 11 ---
 dev-cpp/tbb/files/tbb-4.4.20160803-build.patch |  6 --
 dev-cpp/tbb/tbb-2017.20161128.ebuild   |  6 +++---
 dev-cpp/tbb/tbb-4.4.20160803.ebuild|  6 +++---
 7 files changed, 8 insertions(+), 46 deletions(-)

diff --git a/dev-cpp/tbb/files/tbb-2017.20161128-build.patch 
b/dev-cpp/tbb/files/tbb-2017.20161128-build.patch
index 0806d6a522b..e952bfbc434 100644
--- a/dev-cpp/tbb/files/tbb-2017.20161128-build.patch
+++ b/dev-cpp/tbb/files/tbb-2017.20161128-build.patch
@@ -1,5 +1,3 @@
-diff --git a/build/FreeBSD.gcc.inc b/build/FreeBSD.gcc.inc
-index e93f8f4..2b43c51 100644
 --- a/build/FreeBSD.gcc.inc
 +++ b/build/FreeBSD.gcc.inc
 @@ -28,8 +28,8 @@ WARNING_KEY = -Wall
@@ -46,8 +44,6 @@ index e93f8f4..2b43c51 100644
  TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
  MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
  endif 
-diff --git a/build/linux.clang.inc b/build/linux.clang.inc
-index 237caae..8d6914e 100644
 --- a/build/linux.clang.inc
 +++ b/build/linux.clang.inc
 @@ -31,15 +31,15 @@ DYLIB_KEY = -shared
@@ -107,8 +103,6 @@ index 237caae..8d6914e 100644
  ifeq ($(cfg),debug)
  ASM_FLAGS += -g
  endif
-diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc
-index b7ed0c5..a8e8f85 100644
 --- a/build/linux.gcc.inc
 +++ b/build/linux.gcc.inc
 @@ -32,12 +32,12 @@ DYLIB_KEY = -shared

diff --git a/dev-cpp/tbb/files/tbb-2017.20161128-underlinking.patch 
b/dev-cpp/tbb/files/tbb-2017.20161128-underlinking.patch
deleted file mode 100644
index 5935017a325..000
--- a/dev-cpp/tbb/files/tbb-2017.20161128-underlinking.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=418447
-
 a/build/Makefile.test
-+++ b/build/Makefile.test
-@@ -44,8 +44,8 @@
- USE_PROXY_FLAG = $(DEFINE_KEY)HARNESS_USE_PROXY
- CPLUS_FLAGS += $(USE_PROXY_FLAG)
- LINK_TBB.LIB = $(PROXY.LIB)
--LIBS += $(LIBDL)
--endif
-+endif
-+LIBS += $(LIBDL)
- 
- TEST_SUFFIXES=secondary compiler_builtins pic
- include $(tbb_root)/build/common_rules.inc

diff --git a/dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch 
b/dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch
index 099bb39d214..ed318cab838 100644
--- a/dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch
+++ b/dev-cpp/tbb/files/tbb-4.0.297-underlinking.patch
@@ -5,8 +5,8 @@ Subject: build system
 fix underlinking in test phase
 wrt https://bugs.gentoo.org/show_bug.cgi?id=418447
 
 build/Makefile.test
-+++ build/Makefile.test
+--- a/build/Makefile.test
 b/build/Makefile.test
 @@ -48,8 +48,8 @@
  USE_PROXY_FLAG = $(DEFINE_KEY)HARNESS_USE_PROXY
  CPLUS_FLAGS += $(USE_PROXY_FLAG)

diff --git a/dev-cpp/tbb/files/tbb-4.3.20150611-build.patch 
b/dev-cpp/tbb/files/tbb-4.3.20150611-build.patch
index 42a8bae4640..8f806989e44 100644
--- a/dev-cpp/tbb/files/tbb-4.3.20150611-build.patch
+++ b/dev-cpp/tbb/files/tbb-4.3.20150611-build.patch
@@ -1,10 +1,3 @@
- build/FreeBSD.gcc.inc | 18 --
- build/linux.clang.inc | 26 +++---
- build/linux.gcc.inc   | 38 +++---
- 3 files changed, 14 insertions(+), 68 deletions(-)
-
-diff --git a/build/FreeBSD.gcc.inc b/build/FreeBSD.gcc.inc
-index 20f0027..8bbdeba 100644
 --- a/build/FreeBSD.gcc.inc
 +++ b/build/FreeBSD.gcc.inc
 @@ -28,14 +28,14 @@ WARNING_KEY = -Wall
@@ -49,8 +42,6 @@ index 20f0027..8bbdeba 100644
  TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
  MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
  endif 
-diff --git a/build/linux.clang.inc b/build/linux.clang.inc
-index de9aee5..3a366f1 100644
 --- a/build/linux.clang.inc
 +++ b/build/linux.clang.inc
 @@ -31,15 +31,15 @@ DYLIB_KEY = -shared
@@ -110,8 +101,6 @@ index de9aee5..3a366f1 100644
  ifeq ($(cfg),debug)
  ASM_FLAGS += -g
  endif
-diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc
-index 4b7122b..e8ba711 100644
 --- a/build/linux.gcc.inc
 +++ b/build/linux.gcc.inc
 @@ -32,12 +32,12 @@ DYLIB_KEY = -shared

diff --git a/dev-cpp/tbb/files/tbb-4.4.20160803-build.patch 
b/dev-cpp/tbb/files/tbb-4.4.20160803-build.patch
index 9c66c132fff..f4af5de9e50 100644
--- a/dev-cpp/tbb/files/tbb-4.4.20160803-build.patch
+++ b/dev-cpp/tbb/files/tbb-4.4.20160803-build.patch
@@ -1,5 +1,3 @@
-diff 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2017-12-29 Thread Fabian Groffen
commit: 5bfd22c5b483ee6b15d3dfba66b6a8256d7c415e
Author: Fabian Groffen  gentoo  org>
AuthorDate: Fri Dec 29 13:34:53 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Fri Dec 29 13:34:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bfd22c5

dev-cpp/tbb: use get_libname to deal with the right files, bug #638526

Thanks Anton for the suggestion.

Closes: https://bugs.gentoo.org/638526
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-cpp/tbb/tbb-2017.20170226.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2017.20170226.ebuild 
b/dev-cpp/tbb/tbb-2017.20170226.ebuild
index 62fadf88307..187f9ac0615 100644
--- a/dev-cpp/tbb/tbb-2017.20170226.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20170226.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils flag-o-matic multilib-minimal toolchain-funcs versionator
+inherit eutils flag-o-matic multilib-minimal multilib toolchain-funcs 
versionator
 
 PV1="$(get_version_component_range 1)"
 PV2=5
@@ -117,10 +117,10 @@ multilib_src_install() {
for bt in ${buildtypes}; do
cd "${BUILD_DIR}_${bt}" || die
local l
-   for l in $(find . -name lib\*.so.\*); do
+   for l in $(find . -name lib\*$(get_libname \*)); do
dolib.so ${l}
local bl=$(basename ${l})
-   dosym ${bl} /usr/$(get_libdir)/${bl%.*}
+   dosym ${bl} /usr/$(get_libdir)/${bl%%.*}$(get_libname)
done
done
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2017-11-27 Thread Sergei Trofimovich
commit: ef506c1ee1d8ff48293910ce98a776c325cf98bc
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Nov 27 19:40:06 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Nov 27 19:46:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef506c1e

dev-cpp/tbb: keyworded 2017.20170226 for sparc, bug #575366 (thanks to Rolf 
Eike Beer)

Package-Manager: Portage-2.3.16, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 dev-cpp/tbb/Manifest | 4 ++--
 dev-cpp/tbb/tbb-2017.20170226.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 9ce11ceae62..82ae82b74d2 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,4 +1,4 @@
 DIST tbb-2017.20170226.tar.gz 2856407 SHA256 
780baf0ad520f23b54dd20dc97bf5aae4bc562019e0a70f53bfc4c1afec6e545 SHA512 
d07eeca53138432a4ac20145169907f5271e234bedfb53e0eabbed2b6fafaecdc0a2ad7bdbead205993f822e7c415233cce9afd7575d366c17a117d5cc971a65
 WHIRLPOOL 
18095aa7fec6a6766f9d8456c34a346bc51c2525263f03ae00f6a37899cafea0b83d67fd199372983561543f197f797b50f99966ea24591114958ff115e80b6f
-DIST tbb2017_20161128oss_src.tgz 2965854 SHA256 
c009166233c8ea0e34530a1c5f870b79314316d19e6876b37a7e7c854080a540 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c
 WHIRLPOOL 
d1ce8d07ac002c617afa7c0aa1d5cad41928a6eefd064a744b4efdd0192dd310ad8cb32b949858a7c2c44211477deffc05dbd65e8101184d4cae26744143b922
-DIST tbb43_20150611oss_src.tgz 2757631 SHA256 
221f85fe64e11c9638e43b3c57d5750c26683905fc90827c0bcfefdb286e79c9 SHA512 
83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8
 WHIRLPOOL 
8e98162b2307c759fb26923d76ab784dea81e166c8bf5323869d234da59641c333e5ae30b4a224bccbf20d4f5f6b75c658589f519a165ea3ad7658322f148c72
+DIST tbb2017_20161128oss_src.tgz 2965854 BLAKE2B 
8c5aed6d8477297922767803617346feebb712d1f4b2df6d71a86f039b5563afc666454985e68a528a812aaad40b5fd0562bb91d357c45156fec46e5389ec542
 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c
+DIST tbb43_20150611oss_src.tgz 2757631 BLAKE2B 
d1a00b531b747aeae05d052ac2d894b4d5dbee628988794ac9721058e5b3cd7efb60877ff1183d155d75bc2a0b413863911c438da9db1c30ec8e74e2de442118
 SHA512 
83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8
 DIST tbb44_20160803oss_src.tgz 2874050 SHA256 
23fb69a16b5daccef8e1ffe194d1dd5c6b1d225c0de87e54bc30c958aa244fb0 SHA512 
01b1dcdaffa96c3d503e44d7b236b1115f419c122dab0f40de4c9dc90db315a1f3755cc91adf9df91d5d31d8927df115230db94cf175edac09ae438b46374a92
 WHIRLPOOL 
2b93bfabc0eadb1a10ad34f1a475322a04554bd8b5e4ac90505ec285f7727a537249a045f7a464fb3c266f9ece6c83fa259a099cc052da16cdd6c05cd9a1fb42

diff --git a/dev-cpp/tbb/tbb-2017.20170226.ebuild 
b/dev-cpp/tbb/tbb-2017.20170226.ebuild
index f13c39fff0a..62fadf88307 100644
--- a/dev-cpp/tbb/tbb-2017.20170226.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20170226.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 SRC_URI="https://github.com/01org/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2017-07-08 Thread Alexis Ballier
commit: 1d6a0ea72f9fb1f1fd31ea60d1be9985373a1390
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sat Jul  8 10:51:48 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sat Jul  8 10:51:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6a0ea7

dev-cpp/tbb: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-cpp/tbb/tbb-2017.20170226.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2017.20170226.ebuild 
b/dev-cpp/tbb/tbb-2017.20170226.ebuild
index 830e5e189af..f13c39fff0a 100644
--- a/dev-cpp/tbb/tbb-2017.20170226.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20170226.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 SRC_URI="https://github.com/01org/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd 
~amd64-linux ~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2017-07-01 Thread Sergei Trofimovich
commit: 592f67db756e3815585999f3a004cc638dd4a8c6
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jul  1 09:36:20 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jul  1 09:36:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=592f67db

dev-cpp/tbb: ia64 keyworded, bug #575366

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-cpp/tbb/tbb-2017.20170226.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2017.20170226.ebuild 
b/dev-cpp/tbb/tbb-2017.20170226.ebuild
index f4733d08e60..830e5e189af 100644
--- a/dev-cpp/tbb/tbb-2017.20170226.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20170226.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 SRC_URI="https://github.com/01org/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd 
~amd64-linux ~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2017-04-29 Thread Jeroen Roovers
commit: d90848f38912fd76165028fb9b5e8e2592c9cf1f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Apr 29 12:37:59 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Apr 29 12:37:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d90848f3

dev-cpp/tbb: Mark ~hppa (bug #575366).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 dev-cpp/tbb/tbb-2017.20161128.ebuild | 2 +-
 dev-cpp/tbb/tbb-2017.20170226.ebuild | 2 +-
 dev-cpp/tbb/tbb-4.3.20150611.ebuild  | 4 ++--
 dev-cpp/tbb/tbb-4.4.20160803.ebuild  | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-cpp/tbb/tbb-2017.20161128.ebuild 
b/dev-cpp/tbb/tbb-2017.20161128.ebuild
index 911c9c71ed8..f88fe955918 100644
--- a/dev-cpp/tbb/tbb-2017.20161128.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20161128.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""

diff --git a/dev-cpp/tbb/tbb-2017.20170226.ebuild 
b/dev-cpp/tbb/tbb-2017.20170226.ebuild
index c647ba1f579..f4733d08e60 100644
--- a/dev-cpp/tbb/tbb-2017.20170226.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20170226.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 SRC_URI="https://github.com/01org/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""

diff --git a/dev-cpp/tbb/tbb-4.3.20150611.ebuild 
b/dev-cpp/tbb/tbb-4.3.20150611.ebuild
index 49ffe078c51..6e59a338c11 100644
--- a/dev-cpp/tbb/tbb-4.3.20150611.ebuild
+++ b/dev-cpp/tbb/tbb-4.3.20150611.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="GPL-2-with-exceptions"
 SLOT="0"
-KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""

diff --git a/dev-cpp/tbb/tbb-4.4.20160803.ebuild 
b/dev-cpp/tbb/tbb-4.4.20160803.ebuild
index e4e6af1dd1d..c05b588 100644
--- a/dev-cpp/tbb/tbb-4.4.20160803.ebuild
+++ b/dev-cpp/tbb/tbb-4.4.20160803.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="GPL-2-with-exceptions"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2017-03-31 Thread Agostino Sarubbo
commit: 868381a6d018f5b60a83cc80cae15af89e67fe37
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Mar 31 12:08:27 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Mar 31 12:08:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=868381a6

dev-cpp/tbb: amd64 stable wrt bug #614322

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/tbb/tbb-2017.20161128.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2017.20161128.ebuild 
b/dev-cpp/tbb/tbb-2017.20161128.ebuild
index 313f6d20fcf..3444bc6f2a6 100644
--- a/dev-cpp/tbb/tbb-2017.20161128.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20161128.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ppc ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ppc ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2017-03-31 Thread Michael Weber
commit: 4cf528fa6e25341eee76659023faffdaca216ef8
Author: Michael Weber  gentoo  org>
AuthorDate: Fri Mar 31 08:48:36 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Fri Mar 31 08:52:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf528fa

dev-cpp/tbb: ppc ppc64 stable (bug 614322).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="arm arm64 ppc ppc64"

 dev-cpp/tbb/tbb-2017.20161128.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2017.20161128.ebuild 
b/dev-cpp/tbb/tbb-2017.20161128.ebuild
index 80201f881df..313f6d20fcf 100644
--- a/dev-cpp/tbb/tbb-2017.20161128.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20161128.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ppc ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2017-03-30 Thread Matthias Maier
commit: 48daedc3c2e0570a4a160b41d9689e1a2d92b131
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Mar 31 02:20:36 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Fri Mar 31 02:20:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48daedc3

dev-cpp/tbb: drop old

Package-Manager: Portage-2.3.3, Repoman-2.3.2

 dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild | 142 -
 1 file changed, 142 deletions(-)

diff --git a/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild 
b/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild
deleted file mode 100644
index a482af8fd15..000
--- a/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils flag-o-matic multilib-minimal toolchain-funcs versionator
-
-PV1="$(get_version_component_range 1)"
-PV2="$(get_version_component_range 2)"
-PV3="$(get_version_component_range 3)"
-MYP="${PN}${PV1}${PV2}_${PV3}oss"
-
-DESCRIPTION="High level abstract threading library"
-HOMEPAGE="http://www.threadingbuildingblocks.org/;
-SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
-LICENSE="GPL-2-with-exceptions"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
-IUSE="debug doc examples"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-S="${WORKDIR}/${MYP}"
-
-src_prepare() {
-   epatch \
-   "${FILESDIR}"/${PN}-4.0.297-underlinking.patch \
-   "${FILESDIR}"/${P}-build.patch
-
-   find include -name \*.html -delete || die
-
-   # Give it a soname on FreeBSD
-   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
-   # Set proper versionning on FreeBSD
-   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
-
-   use debug || sed -i -e '/_debug/d' Makefile
-}
-
-multilib_src_configure() {
-   # pc files are for debian and fedora compatibility
-   # some deps use them
-   cat <<-EOF > ${PN}.pc.template
-   prefix=${EPREFIX}/usr
-   libdir=\${prefix}/$(get_libdir)
-   includedir=\${prefix}/include
-   Name: ${PN}
-   Description: ${DESCRIPTION}
-   Version: ${PV}
-   URL: ${HOMEPAGE}
-   Cflags: -I\${includedir}
-   EOF
-   cp ${PN}.pc.template ${PN}.pc || die
-   cat <<-EOF >> ${PN}.pc
-   Libs: -L\${libdir} -ltbb
-   Libs.private: -lm -lrt
-   EOF
-   cp ${PN}.pc.template ${PN}malloc.pc || die
-   cat <<-EOF >> ${PN}malloc.pc
-   Libs: -L\${libdir} -ltbbmalloc
-   Libs.private: -lm -lrt
-   EOF
-   cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
-   cat <<-EOF >> ${PN}malloc_proxy.pc
-   Libs: -L\${libdir} -ltbbmalloc_proxy
-   Libs.private: -lrt
-   Requires: tbbmalloc
-   EOF
-}
-
-local_src_compile() {
-   cd "${S}"
-
-   local comp arch
-
-   case ${MULTILIB_ABI_FLAG} in
-   abi_x86_64) arch=x86_64 ;;
-   abi_x86_32) arch=ia32 ;;
-   abi_ppc_64) arch=ppc64 ;;
-   abi_ppc_32) arch=ppc32 ;;
-   esac
-
-   case "$(tc-getCXX)" in
-   *g++*) comp="gcc" ;;
-   *ic*c) comp="icc" ;;
-   *clang*) comp="clang" ;;
-   *) die "compiler $(tc-getCXX) not supported by build system" ;;
-   esac
-
-   CXX="$(tc-getCXX)" \
-   CC="$(tc-getCC)" \
-   AS="$(tc-getAS)" \
-   arch=${arch} \
-   CPLUS_FLAGS="${CXXFLAGS}" \
-   emake compiler=${comp} work_dir="${BUILD_DIR}" tbb_root="${S}" $@
-}
-
-multilib_src_compile() {
-   local_src_compile tbb tbbmalloc
-}
-
-multilib_src_test() {
-   CXXFLAGS="${CXXFLAGS} -fabi-version=4" \
-   local_src_compile -j1 test
-}
-
-multilib_src_install() {
-   local bt
-   local buildtypes
-   if use debug ; then
-   buildtypes="release debug"
-   else
-   buildtypes="release"
-   fi
-   for bt in ${buildtypes}; do
-   cd "${BUILD_DIR}_${bt}" || die
-   local l
-   for l in $(find . -name lib\*.so.\*); do
-   dolib.so ${l}
-   local bl=$(basename ${l})
-   dosym ${bl} /usr/$(get_libdir)/${bl%.*}
-   done
-   done
-
-   cd "${BUILD_DIR}" || die
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins *.pc
-}
-
-multilib_src_install_all() {
-   doheader -r include/*
-
-   dodoc README CHANGES doc/Release_Notes.txt
-   use doc && dohtml -r doc/html/*
-
-   if use examples ; then
-   insinto /usr/share/doc/${PF}/examples/build
-   doins build/*.inc
-   insinto /usr/share/doc/${PF}/examples
-   doins 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/files/, dev-cpp/tbb/

2017-03-30 Thread Matthias Maier
commit: 0451d48fdba160cc23c46611d1cf4decf10946e3
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Mar 31 02:06:23 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Fri Mar 31 02:15:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0451d48f

dev-cpp/tbb: version bump to 4.4.20160803, bug #596130

Package-Manager: Portage-2.3.3, Repoman-2.3.2

 dev-cpp/tbb/Manifest   |   1 +
 dev-cpp/tbb/files/tbb-4.4.20160803-build.patch | 193 +
 .../tbb/files/tbb-4.4.20160803-underlinking.patch  |  15 ++
 dev-cpp/tbb/tbb-4.4.20160803.ebuild| 145 
 4 files changed, 354 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 71f464d6d4d..a7b1897ff55 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,2 +1,3 @@
 DIST tbb2017_20161128oss_src.tgz 2965854 SHA256 
c009166233c8ea0e34530a1c5f870b79314316d19e6876b37a7e7c854080a540 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c
 WHIRLPOOL 
d1ce8d07ac002c617afa7c0aa1d5cad41928a6eefd064a744b4efdd0192dd310ad8cb32b949858a7c2c44211477deffc05dbd65e8101184d4cae26744143b922
 DIST tbb43_20150611oss_src.tgz 2757631 SHA256 
221f85fe64e11c9638e43b3c57d5750c26683905fc90827c0bcfefdb286e79c9 SHA512 
83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8
 WHIRLPOOL 
8e98162b2307c759fb26923d76ab784dea81e166c8bf5323869d234da59641c333e5ae30b4a224bccbf20d4f5f6b75c658589f519a165ea3ad7658322f148c72
+DIST tbb44_20160803oss_src.tgz 2874050 SHA256 
23fb69a16b5daccef8e1ffe194d1dd5c6b1d225c0de87e54bc30c958aa244fb0 SHA512 
01b1dcdaffa96c3d503e44d7b236b1115f419c122dab0f40de4c9dc90db315a1f3755cc91adf9df91d5d31d8927df115230db94cf175edac09ae438b46374a92
 WHIRLPOOL 
2b93bfabc0eadb1a10ad34f1a475322a04554bd8b5e4ac90505ec285f7727a537249a045f7a464fb3c266f9ece6c83fa259a099cc052da16cdd6c05cd9a1fb42

diff --git a/dev-cpp/tbb/files/tbb-4.4.20160803-build.patch 
b/dev-cpp/tbb/files/tbb-4.4.20160803-build.patch
new file mode 100644
index 000..9c66c132fff
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-4.4.20160803-build.patch
@@ -0,0 +1,193 @@
+diff --git a/build/FreeBSD.gcc.inc b/build/FreeBSD.gcc.inc
+index dc22ca3..65dfb6e 100644
+--- a/build/FreeBSD.gcc.inc
 b/build/FreeBSD.gcc.inc
+@@ -28,8 +28,8 @@ WARNING_KEY = -Wall
+ DYLIB_KEY = -shared
+ WARNING_SUPPRESS = -Wno-parentheses
+ 
+-CPLUS = g++ 
+-CONLY = gcc
++CPLUS = $(CXX)
++CONLY = $(CC)
+ LIB_LINK_FLAGS = -shared
+ LIBS = -lpthread 
+ C_FLAGS = $(CPLUS_FLAGS)
+@@ -42,7 +42,7 @@ ifneq (,$(shell gcc -dumpversion | egrep  "^([6-9])"))
+ endif
+ 
+ ifeq ($(cfg), release)
+-CPLUS_FLAGS = -g -O2 -DUSE_PTHREAD
++CPLUS_FLAGS = -g -DUSE_PTHREAD
+ endif
+ ifeq ($(cfg), debug)
+ CPLUS_FLAGS = -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD
+@@ -59,22 +59,12 @@ ifeq (ia64,$(arch))
+ CPLUS_FLAGS += $(PIC_KEY)
+ endif 
+ 
+-ifeq (intel64,$(arch))
+-CPLUS_FLAGS += -m64
+-LIB_LINK_FLAGS += -m64
+-endif 
+-
+-ifeq (ia32,$(arch))
+-CPLUS_FLAGS += -m32
+-LIB_LINK_FLAGS += -m32
+-endif 
+-
+ 
#--
+ # Setting assembler data.
+ 
#--
+ ASSEMBLY_SOURCE=$(arch)-gas
+ ifeq (ia64,$(arch))
+-ASM=as
++ASM=$(AS)
+ TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
+ MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
+ endif 
+diff --git a/build/linux.clang.inc b/build/linux.clang.inc
+index fc8d7de..21ad5d4 100644
+--- a/build/linux.clang.inc
 b/build/linux.clang.inc
+@@ -31,15 +31,15 @@ DYLIB_KEY = -shared
+ EXPORT_KEY = -Wl,--version-script,
+ LIBDL = -ldl
+ 
+-CPLUS = clang++
+-CONLY = clang
++CPLUS := $(CXX)
++CONLY := $(CC)
+ LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
+ LIBS += -lpthread -lrt
+ LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
+ C_FLAGS = $(CPLUS_FLAGS)
+ 
+ ifeq ($(cfg), release)
+-CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
++CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
+ endif
+ ifeq ($(cfg), debug)
+ CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
+@@ -55,24 +55,10 @@ MALLOC_ASM.OBJ=
+ 
+ ifeq (intel64,$(arch))
+ ITT_NOTIFY = -DDO_ITT_NOTIFY
+-CPLUS_FLAGS += -m64
+-LIB_LINK_FLAGS += -m64
+ endif
+ 
+ ifeq (ia32,$(arch))
+ ITT_NOTIFY = -DDO_ITT_NOTIFY
+-CPLUS_FLAGS += -m32 -march=pentium4
+-LIB_LINK_FLAGS += -m32
+-endif
+-
+-ifeq (ppc64,$(arch))
+-CPLUS_FLAGS += -m64
+-LIB_LINK_FLAGS += -m64
+-endif
+-
+-ifeq (ppc32,$(arch))
+-CPLUS_FLAGS += -m32
+-LIB_LINK_FLAGS += -m32
+ endif
+ 
+ ifeq (bg,$(arch))
+@@ -84,12 +70,6 @@ endif
+ # Setting assembler data.
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2017-03-30 Thread Matthias Maier
commit: 47a81396e5806d5faa0cfe5879aadb12b25cfd7b
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Mar 31 01:54:36 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Fri Mar 31 02:15:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a81396

dev-cpp/tbb: Fix license

Package-Manager: Portage-2.3.3, Repoman-2.3.2

 dev-cpp/tbb/tbb-2017.20161128.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-2017.20161128.ebuild 
b/dev-cpp/tbb/tbb-2017.20161128.ebuild
index 96926672bc8..80201f881df 100644
--- a/dev-cpp/tbb/tbb-2017.20161128.ebuild
+++ b/dev-cpp/tbb/tbb-2017.20161128.ebuild
@@ -12,7 +12,7 @@ MYP="${PN}${PV1}_${PV2}oss"
 DESCRIPTION="High level abstract threading library"
 HOMEPAGE="http://www.threadingbuildingblocks.org/;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
-LICENSE="GPL-2-with-exceptions"
+LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
 IUSE="debug doc examples"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2017-03-30 Thread Matthias Maier
commit: d83b58a15ac52dd23cce857445c8972e446c5938
Author: Matthias Maier  gentoo  org>
AuthorDate: Fri Mar 31 02:15:10 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Fri Mar 31 02:15:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d83b58a1

dev-cpp/tbb: version bump to 2017.20170226

Package-Manager: Portage-2.3.3, Repoman-2.3.2

 dev-cpp/tbb/Manifest |   1 +
 dev-cpp/tbb/tbb-2017.20170226.ebuild | 144 +++
 2 files changed, 145 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index a7b1897ff55..9ce11ceae62 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,3 +1,4 @@
+DIST tbb-2017.20170226.tar.gz 2856407 SHA256 
780baf0ad520f23b54dd20dc97bf5aae4bc562019e0a70f53bfc4c1afec6e545 SHA512 
d07eeca53138432a4ac20145169907f5271e234bedfb53e0eabbed2b6fafaecdc0a2ad7bdbead205993f822e7c415233cce9afd7575d366c17a117d5cc971a65
 WHIRLPOOL 
18095aa7fec6a6766f9d8456c34a346bc51c2525263f03ae00f6a37899cafea0b83d67fd199372983561543f197f797b50f99966ea24591114958ff115e80b6f
 DIST tbb2017_20161128oss_src.tgz 2965854 SHA256 
c009166233c8ea0e34530a1c5f870b79314316d19e6876b37a7e7c854080a540 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c
 WHIRLPOOL 
d1ce8d07ac002c617afa7c0aa1d5cad41928a6eefd064a744b4efdd0192dd310ad8cb32b949858a7c2c44211477deffc05dbd65e8101184d4cae26744143b922
 DIST tbb43_20150611oss_src.tgz 2757631 SHA256 
221f85fe64e11c9638e43b3c57d5750c26683905fc90827c0bcfefdb286e79c9 SHA512 
83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8
 WHIRLPOOL 
8e98162b2307c759fb26923d76ab784dea81e166c8bf5323869d234da59641c333e5ae30b4a224bccbf20d4f5f6b75c658589f519a165ea3ad7658322f148c72
 DIST tbb44_20160803oss_src.tgz 2874050 SHA256 
23fb69a16b5daccef8e1ffe194d1dd5c6b1d225c0de87e54bc30c958aa244fb0 SHA512 
01b1dcdaffa96c3d503e44d7b236b1115f419c122dab0f40de4c9dc90db315a1f3755cc91adf9df91d5d31d8927df115230db94cf175edac09ae438b46374a92
 WHIRLPOOL 
2b93bfabc0eadb1a10ad34f1a475322a04554bd8b5e4ac90505ec285f7727a537249a045f7a464fb3c266f9ece6c83fa259a099cc052da16cdd6c05cd9a1fb42

diff --git a/dev-cpp/tbb/tbb-2017.20170226.ebuild 
b/dev-cpp/tbb/tbb-2017.20170226.ebuild
new file mode 100644
index 000..c647ba1f579
--- /dev/null
+++ b/dev-cpp/tbb/tbb-2017.20170226.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic multilib-minimal toolchain-funcs versionator
+
+PV1="$(get_version_component_range 1)"
+PV2=5
+MY_PV="${PV1}_U${PV2}"
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="http://www.threadingbuildingblocks.org/;
+SRC_URI="https://github.com/01org/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
+IUSE="debug doc examples"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2017.20161128-underlinking.patch
+   "${FILESDIR}"/${PN}-2017.20161128-build.patch
+)
+
+src_prepare() {
+   default
+
+   find include -name \*.html -delete || die
+
+   # Give it a soname on FreeBSD
+   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
+   # Set proper versionning on FreeBSD
+   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
+
+   use debug || sed -i -e '/_debug/d' Makefile
+}
+
+multilib_src_configure() {
+   # pc files are for debian and fedora compatibility
+   # some deps use them
+   cat <<-EOF > ${PN}.pc.template
+   prefix=${EPREFIX}/usr
+   libdir=\${prefix}/$(get_libdir)
+   includedir=\${prefix}/include
+   Name: ${PN}
+   Description: ${DESCRIPTION}
+   Version: ${PV}
+   URL: ${HOMEPAGE}
+   Cflags: -I\${includedir}
+   EOF
+   cp ${PN}.pc.template ${PN}.pc || die
+   cat <<-EOF >> ${PN}.pc
+   Libs: -L\${libdir} -ltbb
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc.pc || die
+   cat <<-EOF >> ${PN}malloc.pc
+   Libs: -L\${libdir} -ltbbmalloc
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
+   cat <<-EOF >> ${PN}malloc_proxy.pc
+   Libs: -L\${libdir} -ltbbmalloc_proxy
+   Libs.private: -lrt
+   Requires: tbbmalloc
+   EOF
+}
+
+local_src_compile() {
+   cd "${S}"
+
+   local comp arch
+
+   case ${MULTILIB_ABI_FLAG} in
+   abi_x86_64) arch=x86_64 ;;
+   abi_x86_32) arch=ia32 ;;
+   abi_ppc_64) arch=ppc64 ;;
+   

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/, dev-cpp/tbb/files/

2017-02-01 Thread Matthias Maier
commit: 215c304cb21e7400fd4fea5bb2eb82654e063d83
Author: Matthias Maier  gentoo  org>
AuthorDate: Wed Feb  1 21:37:30 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Wed Feb  1 21:38:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=215c304c

dev-cpp/tbb: version bump to 2017.20161128

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-cpp/tbb/Manifest   |   1 +
 dev-cpp/tbb/files/tbb-2017.20161128-build.patch| 193 +
 .../tbb/files/tbb-2017.20161128-underlinking.patch |  15 ++
 dev-cpp/tbb/tbb-2017.20161128.ebuild   | 145 
 4 files changed, 354 insertions(+)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 2f8b59e..71f464d 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1 +1,2 @@
+DIST tbb2017_20161128oss_src.tgz 2965854 SHA256 
c009166233c8ea0e34530a1c5f870b79314316d19e6876b37a7e7c854080a540 SHA512 
3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c
 WHIRLPOOL 
d1ce8d07ac002c617afa7c0aa1d5cad41928a6eefd064a744b4efdd0192dd310ad8cb32b949858a7c2c44211477deffc05dbd65e8101184d4cae26744143b922
 DIST tbb43_20150611oss_src.tgz 2757631 SHA256 
221f85fe64e11c9638e43b3c57d5750c26683905fc90827c0bcfefdb286e79c9 SHA512 
83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8
 WHIRLPOOL 
8e98162b2307c759fb26923d76ab784dea81e166c8bf5323869d234da59641c333e5ae30b4a224bccbf20d4f5f6b75c658589f519a165ea3ad7658322f148c72

diff --git a/dev-cpp/tbb/files/tbb-2017.20161128-build.patch 
b/dev-cpp/tbb/files/tbb-2017.20161128-build.patch
new file mode 100644
index ..0806d6a
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2017.20161128-build.patch
@@ -0,0 +1,193 @@
+diff --git a/build/FreeBSD.gcc.inc b/build/FreeBSD.gcc.inc
+index e93f8f4..2b43c51 100644
+--- a/build/FreeBSD.gcc.inc
 b/build/FreeBSD.gcc.inc
+@@ -28,8 +28,8 @@ WARNING_KEY = -Wall
+ DYLIB_KEY = -shared
+ WARNING_SUPPRESS = -Wno-parentheses
+ 
+-CPLUS = g++ 
+-CONLY = gcc
++CPLUS = $(CXX)
++CONLY = $(CC)
+ LIB_LINK_FLAGS = -shared
+ LIBS = -lpthread 
+ C_FLAGS = $(CPLUS_FLAGS)
+@@ -42,7 +42,7 @@ ifneq (,$(shell gcc -dumpversion | egrep  "^([6-9])"))
+ endif
+ 
+ ifeq ($(cfg), release)
+-CPLUS_FLAGS = -g -O2 -DUSE_PTHREAD
++CPLUS_FLAGS = -g -DUSE_PTHREAD
+ endif
+ ifeq ($(cfg), debug)
+ CPLUS_FLAGS = -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD
+@@ -59,22 +59,12 @@ ifeq (ia64,$(arch))
+ CPLUS_FLAGS += $(PIC_KEY)
+ endif 
+ 
+-ifeq (intel64,$(arch))
+-CPLUS_FLAGS += -m64
+-LIB_LINK_FLAGS += -m64
+-endif 
+-
+-ifeq (ia32,$(arch))
+-CPLUS_FLAGS += -m32
+-LIB_LINK_FLAGS += -m32
+-endif 
+-
+ 
#--
+ # Setting assembler data.
+ 
#--
+ ASSEMBLY_SOURCE=$(arch)-gas
+ ifeq (ia64,$(arch))
+-ASM=as
++ASM=$(AS)
+ TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
+ MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
+ endif 
+diff --git a/build/linux.clang.inc b/build/linux.clang.inc
+index 237caae..8d6914e 100644
+--- a/build/linux.clang.inc
 b/build/linux.clang.inc
+@@ -31,15 +31,15 @@ DYLIB_KEY = -shared
+ EXPORT_KEY = -Wl,--version-script,
+ LIBDL = -ldl
+ 
+-CPLUS = clang++
+-CONLY = clang
++CPLUS := $(CXX)
++CONLY := $(CC)
+ LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
+ LIBS += -lpthread -lrt
+ LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
+ C_FLAGS = $(CPLUS_FLAGS)
+ 
+ ifeq ($(cfg), release)
+-CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
++CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
+ endif
+ ifeq ($(cfg), debug)
+ CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
+@@ -60,24 +60,10 @@ MALLOC_ASM.OBJ=
+ 
+ ifeq (intel64,$(arch))
+ ITT_NOTIFY = -DDO_ITT_NOTIFY
+-CPLUS_FLAGS += -m64
+-LIB_LINK_FLAGS += -m64
+ endif
+ 
+ ifeq (ia32,$(arch))
+ ITT_NOTIFY = -DDO_ITT_NOTIFY
+-CPLUS_FLAGS += -m32 -march=pentium4
+-LIB_LINK_FLAGS += -m32
+-endif
+-
+-ifeq (ppc64,$(arch))
+-CPLUS_FLAGS += -m64
+-LIB_LINK_FLAGS += -m64
+-endif
+-
+-ifeq (ppc32,$(arch))
+-CPLUS_FLAGS += -m32
+-LIB_LINK_FLAGS += -m32
+ endif
+ 
+ ifeq (bg,$(arch))
+@@ -89,12 +75,6 @@ endif
+ # Setting assembler data.
+ 
#--
+ ASM = as
+-ifeq (intel64,$(arch))
+-ASM_FLAGS += --64
+-endif
+-ifeq (ia32,$(arch))
+-ASM_FLAGS += --32
+-endif
+ ifeq ($(cfg),debug)
+ ASM_FLAGS += -g
+ endif
+diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc
+index b7ed0c5..a8e8f85 100644
+--- a/build/linux.gcc.inc
 b/build/linux.gcc.inc
+@@ -32,12 +32,12 @@ DYLIB_KEY = -shared
+ EXPORT_KEY = -Wl,--version-script,
+ LIBDL = 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2016-06-07 Thread Tobias Klausmann
commit: d10a6771061e603d82f30d6ec551ce66fafa1eee
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Jun  7 16:46:41 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Jun  7 16:47:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d10a6771

dev-cpp/tbb-4.3.20150611-r1: add ~alpha keyword

Gentoo-Bug: 575366

Package-Manager: portage-2.3.0_rc1

 dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild 
b/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild
index 2a45353..14c7da9 100644
--- a/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild
+++ b/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="GPL-2-with-exceptions"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2015-11-26 Thread Justin Lecher
commit: 57a9ac7abe3ebe88b28cd02c2ea6a2621d9f4b6d
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Nov 26 10:33:01 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Nov 26 10:33:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a9ac7a

dev-cpp/tbb: Fix MULTILIB_ABI_FLAG on PowerPC

thanks
 Marcus Comstedt for the patch

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566758

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher  gentoo.org>

 dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild 
b/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild
index 31f7343..2a45353 100644
--- a/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild
+++ b/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild
@@ -77,6 +77,8 @@ local_src_compile() {
case ${MULTILIB_ABI_FLAG} in
abi_x86_64) arch=x86_64 ;;
abi_x86_32) arch=ia32 ;;
+   abi_ppc_64) arch=ppc64 ;;
+   abi_ppc_32) arch=ppc32 ;;
esac
 
case "$(tc-getCXX)" in



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2015-11-08 Thread Justin Lecher
commit: ccb7ff1a98f902c510ba58052a0ad428384224f0
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Nov  8 17:47:33 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Nov  8 17:47:42 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccb7ff1a

dev-cpp/tbb: Properly install debug libs

thanks Konstantin (elxa) for the patch

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564678

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild | 141 +
 1 file changed, 141 insertions(+)

diff --git a/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild 
b/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild
new file mode 100644
index 000..31f7343
--- /dev/null
+++ b/dev-cpp/tbb/tbb-4.3.20150611-r1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib-minimal toolchain-funcs versionator
+
+PV1="$(get_version_component_range 1)"
+PV2="$(get_version_component_range 2)"
+PV3="$(get_version_component_range 3)"
+MYP="${PN}${PV1}${PV2}_${PV3}oss"
+
+DESCRIPTION="High level abstract threading library"
+HOMEPAGE="http://www.threadingbuildingblocks.org/;
+SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
+LICENSE="GPL-2-with-exceptions"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug doc examples"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${MYP}"
+
+src_prepare() {
+   epatch \
+   "${FILESDIR}"/${PN}-4.0.297-underlinking.patch \
+   "${FILESDIR}"/${P}-build.patch
+
+   find include -name \*.html -delete || die
+
+   # Give it a soname on FreeBSD
+   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
+   # Set proper versionning on FreeBSD
+   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
+
+   use debug || sed -i -e '/_debug/d' Makefile
+}
+
+multilib_src_configure() {
+   # pc files are for debian and fedora compatibility
+   # some deps use them
+   cat <<-EOF > ${PN}.pc.template
+   prefix=${EPREFIX}/usr
+   libdir=\${prefix}/$(get_libdir)
+   includedir=\${prefix}/include
+   Name: ${PN}
+   Description: ${DESCRIPTION}
+   Version: ${PV}
+   URL: ${HOMEPAGE}
+   Cflags: -I\${includedir}
+   EOF
+   cp ${PN}.pc.template ${PN}.pc || die
+   cat <<-EOF >> ${PN}.pc
+   Libs: -L\${libdir} -ltbb
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc.pc || die
+   cat <<-EOF >> ${PN}malloc.pc
+   Libs: -L\${libdir} -ltbbmalloc
+   Libs.private: -lm -lrt
+   EOF
+   cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
+   cat <<-EOF >> ${PN}malloc_proxy.pc
+   Libs: -L\${libdir} -ltbbmalloc_proxy
+   Libs.private: -lrt
+   Requires: tbbmalloc
+   EOF
+}
+
+local_src_compile() {
+   cd "${S}"
+
+   local comp arch
+
+   case ${MULTILIB_ABI_FLAG} in
+   abi_x86_64) arch=x86_64 ;;
+   abi_x86_32) arch=ia32 ;;
+   esac
+
+   case "$(tc-getCXX)" in
+   *g++*) comp="gcc" ;;
+   *ic*c) comp="icc" ;;
+   *clang*) comp="clang" ;;
+   *) die "compiler $(tc-getCXX) not supported by build system" ;;
+   esac
+
+   CXX="$(tc-getCXX)" \
+   CC="$(tc-getCC)" \
+   AS="$(tc-getAS)" \
+   arch=${arch} \
+   CPLUS_FLAGS="${CXXFLAGS}" \
+   emake compiler=${comp} work_dir="${BUILD_DIR}" tbb_root="${S}" $@
+}
+
+multilib_src_compile() {
+   local_src_compile tbb tbbmalloc
+}
+
+multilib_src_test() {
+   CXXFLAGS="${CXXFLAGS} -fabi-version=4" \
+   local_src_compile -j1 test
+}
+
+multilib_src_install() {
+   local bt
+   local buildtypes
+   if use debug ; then
+   buildtypes="release debug"
+   else
+   buildtypes="release"
+   fi
+   for bt in ${buildtypes}; do
+   cd "${BUILD_DIR}_${bt}" || die
+   local l
+   for l in $(find . -name lib\*.so.\*); do
+   dolib.so ${l}
+   local bl=$(basename ${l})
+   dosym ${bl} /usr/$(get_libdir)/${bl%.*}
+   done
+   done
+
+   cd "${BUILD_DIR}" || die
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins *.pc
+}
+
+multilib_src_install_all() {
+   doheader -r include/*
+
+   dodoc README CHANGES doc/Release_Notes.txt
+   use doc && dohtml -r doc/html/*
+
+   if use examples ; then
+   insinto /usr/share/doc/${PF}/examples/build
+   doins build/*.inc
+   insinto 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2015-09-23 Thread Justin Lecher
commit: 96ff8d893a1f0ff086c9c55d36f84e22a3e22993
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Sep 23 13:04:23 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Sep 23 13:04:30 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ff8d89

dev-cpp/tbb: Drop old

Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher  gentoo.org>

 dev-cpp/tbb/Manifest|   1 -
 dev-cpp/tbb/tbb-4.3.20141023.ebuild | 127 
 2 files changed, 128 deletions(-)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index b19a8e5..2f8b59e 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,2 +1 @@
-DIST tbb43_20141023oss_src.tgz 2777177 SHA256 
247a8d22d6850caa37d376aaeaf8bfcb06525ec5561fb6f6ed09cdad2c1f6414 SHA512 
0718e7bf5f0b9525da9eb45beedc1c3832ccd813d72b10a7ed7c6a281d342325d04c65f797c29e2551d4f2bd470e57c81f38db0d6bd983f7871a90f2b5fe5020
 WHIRLPOOL 
7a6bc75e9404cbfc9f1e1bc53ff195e63c605aae1cc2883147d69bdd394694d21f916fa6d1c2708ff397a01c620fdb38966d0da5085df6d23dcba235de18c6a8
 DIST tbb43_20150611oss_src.tgz 2757631 SHA256 
221f85fe64e11c9638e43b3c57d5750c26683905fc90827c0bcfefdb286e79c9 SHA512 
83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8
 WHIRLPOOL 
8e98162b2307c759fb26923d76ab784dea81e166c8bf5323869d234da59641c333e5ae30b4a224bccbf20d4f5f6b75c658589f519a165ea3ad7658322f148c72

diff --git a/dev-cpp/tbb/tbb-4.3.20141023.ebuild 
b/dev-cpp/tbb/tbb-4.3.20141023.ebuild
deleted file mode 100644
index 5edd369..000
--- a/dev-cpp/tbb/tbb-4.3.20141023.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils flag-o-matic multilib versionator toolchain-funcs
-
-PV1="$(get_version_component_range 1)"
-PV2="$(get_version_component_range 2)"
-PV3="$(get_version_component_range 3)"
-MYP="${PN}${PV1}${PV2}_${PV3}oss"
-
-DESCRIPTION="High level abstract threading library"
-HOMEPAGE="http://www.threadingbuildingblocks.org/;
-SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
-LICENSE="GPL-2-with-exceptions"
-
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
-IUSE="debug doc examples"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-S="${WORKDIR}/${MYP}"
-
-src_prepare() {
-   epatch \
-   "${FILESDIR}"/${PN}-4.0.297-underlinking.patch
-   # use fully qualified gcc compilers. do not force march/mcpu
-   # not tested with icc
-   # order in sed expressions is important
-   sed -i \
-   -e "s/g++/$(tc-getCXX)/g" \
-   -e "s/gcc/$(tc-getCC)/g" \
-   -e 's/-m\(arch\|cpu\)=*[[:space:]]//g' \
-   -e 's/-\(m\|-\)\(64\|32\)//g' \
-   -e 's/-O2/$(CXXFLAGS)/g' \
-   -e "/^ASM/s/as/$(tc-getAS)/g" \
-   build/*.gcc.inc || die
-
-   # Give it a soname on FreeBSD
-   echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> 
build/FreeBSD.gcc.inc
-   # Set proper versionning on FreeBSD
-   sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
-
-   # force 64bit where applicable, 32bit where applicable...
-   # built-in detection is based on running kernel, which messes up
-   # e.g. in a x86 chroot on amd64 kernel. Bug 462130
-   # see build/linux.inc for values
-   use amd64 && export arch=x86_64
-   use amd64-linux && export arch=x86_64
-   use x86 && export arch=ia32
-   use x86-linux && export arch=ia32
-   # no idea what to do with ppc but so far it seems to work
-
-   find include -name \*.html -delete || die
-
-   # pc files are for debian and fedora compatibility
-   # some deps use them
-   cat <<-EOF > ${PN}.pc.template
-   prefix=${EPREFIX}/usr
-   libdir=\${prefix}/$(get_libdir)
-   includedir=\${prefix}/include
-   Name: ${PN}
-   Description: ${DESCRIPTION}
-   Version: ${PV}
-   URL: ${HOMEPAGE}
-   Cflags: -I\${includedir}
-   EOF
-   cp ${PN}.pc.template ${PN}.pc
-   cat <<-EOF >> ${PN}.pc
-   Libs: -L\${libdir} -ltbb
-   Libs.private: -lm -lrt
-   EOF
-   cp ${PN}.pc.template ${PN}malloc.pc
-   cat <<-EOF >> ${PN}malloc.pc
-   Libs: -L\${libdir} -ltbbmalloc
-   Libs.private: -lm -lrt
-   EOF
-   cp ${PN}.pc.template ${PN}malloc_proxy.pc
-   cat <<-EOF >> ${PN}malloc_proxy.pc
-   Libs: -L\${libdir} -ltbbmalloc_proxy
-   Libs.private: -lrt
-   Requires: tbbmalloc
-   EOF
-   use debug || sed -i -e '/_debug/d' Makefile
-}
-
-src_compile() {
-   if [[ $(tc-getCXX) == *g++* ]]; then
-   comp="gcc"
-   elif [[ 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/, dev-cpp/tbb/files/

2015-09-20 Thread Justin Lecher
commit: bb6ead9708a9825f32e7ea306d4460fa77aa2eb9
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Sep 20 10:01:52 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Sep 20 10:01:52 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb6ead97

dev-cpp/tbb: Drop old

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher  gentoo.org>

 dev-cpp/tbb/Manifest |   1 -
 dev-cpp/tbb/files/tbb-4.1.20121003-ppc.patch |  16 ---
 dev-cpp/tbb/files/tbb-4.3-build.patch| 185 ---
 dev-cpp/tbb/tbb-4.1.20121003-r1.ebuild   | 124 --
 dev-cpp/tbb/tbb-4.3.20141023-r1.ebuild   | 132 ---
 5 files changed, 458 deletions(-)

diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest
index 6bb73c5..b19a8e5 100644
--- a/dev-cpp/tbb/Manifest
+++ b/dev-cpp/tbb/Manifest
@@ -1,3 +1,2 @@
-DIST tbb41_20121003oss_src.tgz 2250789 SHA256 
5383727b9582a54cf4c4adbf22186b70e8eba276fcd3be81d746a937c5b47afc SHA512 
fada6e32a09be2a151746caf3a15729c9ec6043b17e2f0aeb1bd903542310cdc6fe9ad85017ff5b2cfb16ae955c81c8b39ad8cf97f871bfcbd19d4948ef1d821
 WHIRLPOOL 
6c2a094e1dc6efed7189903bf8a6bbb8688ab1b15134c9f3c09fd5ed6a72315140505f5df410c89b65cd160a896222d71e01b3bfcbcd933281fb18a69eaf33f1
 DIST tbb43_20141023oss_src.tgz 2777177 SHA256 
247a8d22d6850caa37d376aaeaf8bfcb06525ec5561fb6f6ed09cdad2c1f6414 SHA512 
0718e7bf5f0b9525da9eb45beedc1c3832ccd813d72b10a7ed7c6a281d342325d04c65f797c29e2551d4f2bd470e57c81f38db0d6bd983f7871a90f2b5fe5020
 WHIRLPOOL 
7a6bc75e9404cbfc9f1e1bc53ff195e63c605aae1cc2883147d69bdd394694d21f916fa6d1c2708ff397a01c620fdb38966d0da5085df6d23dcba235de18c6a8
 DIST tbb43_20150611oss_src.tgz 2757631 SHA256 
221f85fe64e11c9638e43b3c57d5750c26683905fc90827c0bcfefdb286e79c9 SHA512 
83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8
 WHIRLPOOL 
8e98162b2307c759fb26923d76ab784dea81e166c8bf5323869d234da59641c333e5ae30b4a224bccbf20d4f5f6b75c658589f519a165ea3ad7658322f148c72

diff --git a/dev-cpp/tbb/files/tbb-4.1.20121003-ppc.patch 
b/dev-cpp/tbb/files/tbb-4.1.20121003-ppc.patch
deleted file mode 100644
index c50e051..000
--- a/dev-cpp/tbb/files/tbb-4.1.20121003-ppc.patch
+++ /dev/null
@@ -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.0 +0200
-+++ tbb40_20120408oss/include/tbb/tbb_machine.h2012-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
-
-Diff finished.  Tue Aug 28 13:20:58 2012

diff --git a/dev-cpp/tbb/files/tbb-4.3-build.patch 
b/dev-cpp/tbb/files/tbb-4.3-build.patch
deleted file mode 100644
index a9119ef..000
--- a/dev-cpp/tbb/files/tbb-4.3-build.patch
+++ /dev/null
@@ -1,185 +0,0 @@
 a/build/linux.gcc.inc  2014-10-31 09:08:38.0 -0400
-+++ b/build/linux.gcc.inc  2015-06-08 19:22:49.855807841 -0400
-@@ -32,12 +32,12 @@
- EXPORT_KEY = -Wl,--version-script,
- LIBDL = -ldl
- 
--CPLUS = g++
--CONLY = gcc
-+CPLUS := $(CXX)
-+CONLY := $(CC)
- LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
- LIBS += -lpthread -lrt
- LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
--C_FLAGS = $(CPLUS_FLAGS)
-+C_FLAGS := $(CPLUS_FLAGS)
- # gcc 4.4 and higher support -std=c++0x
- ifneq (,$(shell gcc -dumpversion | egrep  "^(4\.[4-9]|[5-9])"))
- CPP11_FLAGS = -std=c++0x -D_TBB_CPP0X
-@@ -54,7 +54,7 @@
- endif
- 
- ifeq ($(cfg), release)
--CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
-+CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
- endif
- ifeq ($(cfg), debug)
- CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
-@@ -74,24 +74,12 @@
- 
- ifeq (intel64,$(arch))
- ITT_NOTIFY = -DDO_ITT_NOTIFY
--CPLUS_FLAGS += -m64 $(RTM_KEY)
--LIB_LINK_FLAGS += -m64
-+CPLUS_FLAGS += $(RTM_KEY)
- endif
- 
- ifeq (ia32,$(arch))
- ITT_NOTIFY = -DDO_ITT_NOTIFY
--CPLUS_FLAGS += -m32 -march=pentium4 $(RTM_KEY)
--LIB_LINK_FLAGS += -m32
--endif
--
--ifeq (ppc64,$(arch))
--CPLUS_FLAGS += -m64
--LIB_LINK_FLAGS += -m64
--endif
--
--ifeq (ppc32,$(arch))
--CPLUS_FLAGS += -m32
--LIB_LINK_FLAGS += -m32
-+CPLUS_FLAGS += $(RTM_KEY)
- endif
- 
- ifeq (bg,$(arch))
-@@ -99,12 +87,6 @@
- CONLY = mpicc
- endif
- 
--# for some gcc 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2015-09-20 Thread Jeroen Roovers
commit: 749122bd3576025972ca8f24312caa19872e50c1
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Sep 20 08:31:07 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Sep 20 08:32:04 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749122bd

dev-cpp/tbb: Stable for PPC64 (bug #552218).

Package-Manager: portage-2.2.20.1
RepoMan-Options: --ignore-arches

 dev-cpp/tbb/tbb-4.3.20141023.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-4.3.20141023.ebuild 
b/dev-cpp/tbb/tbb-4.3.20141023.ebuild
index ed80e14..5edd369 100644
--- a/dev-cpp/tbb/tbb-4.3.20141023.ebuild
+++ b/dev-cpp/tbb/tbb-4.3.20141023.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_release
 LICENSE="GPL-2-with-exceptions"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/

2015-09-06 Thread Agostino Sarubbo
commit: 45d2a274f839ec83eae94600454dfe83a1a9a243
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep  6 12:43:18 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep  6 12:43:18 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45d2a274

dev-cpp/tbb: ppc stable wrt bug #556038

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"

 dev-cpp/tbb/tbb-4.3.20150611.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/tbb/tbb-4.3.20150611.ebuild 
b/dev-cpp/tbb/tbb-4.3.20150611.ebuild
index 8bcd247..e36e9c3 100644
--- a/dev-cpp/tbb/tbb-4.3.20150611.ebuild
+++ b/dev-cpp/tbb/tbb-4.3.20150611.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="http://www.threadingbuildingblocks.org/;
 
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz;
 LICENSE="GPL-2-with-exceptions"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="debug doc examples"
 
 DEPEND=""