public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/
Date: Sat, 15 Apr 2023 02:10:57 +0000 (UTC)	[thread overview]
Message-ID: <1681524644.a25ad1d366b2806cf907da8fda7583c9e8d6818c.sam@gentoo> (raw)

commit:     a25ad1d366b2806cf907da8fda7583c9e8d6818c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 15 02:10:15 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 15 02:10:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a25ad1d3

dev-cpp/tbb: add 2021.9.0

Signed-off-by: Sam James <sam <AT> 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 000000000000..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<SONAME>-libtbbmalloc<SONAME>-libtbbbind<SONAME>
+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
+}


             reply	other threads:[~2023-04-15  2:11 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-15  2:10 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-27 16:15 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/tbb/ Sam James
2024-12-20 10:28 Nowa Ammerlaan
2024-12-19 15:17 Nowa Ammerlaan
2024-08-23 15:28 Fabian Groffen
2024-07-20 21:44 James Le Cuirot
2024-07-14 22:39 James Le Cuirot
2024-04-19 12:24 Sam James
2024-01-28 22:14 Sam James
2023-12-04 10:52 Sam James
2023-07-26  4:08 Sam James
2023-06-09 17:22 Arthur Zamarin
2023-06-09 16:43 Arthur Zamarin
2023-06-09 16:13 Arthur Zamarin
2023-06-09 14:38 Sam James
2023-01-13 12:37 Arthur Zamarin
2023-01-05  4:38 Sam James
2023-01-05  4:38 Sam James
2023-01-05  4:38 Sam James
2023-01-05  4:38 Sam James
2023-01-05  4:38 Sam James
2022-12-03  4:47 WANG Xuerui
2022-11-25 12:08 Arthur Zamarin
2022-11-25 12:05 Arthur Zamarin
2022-11-23 17:33 Andrew Ammerlaan
2022-11-23 14:12 Jakov Smolić
2022-11-22 20:16 Sam James
2022-11-19  4:03 Sam James
2022-11-19  4:03 Sam James
2022-11-19  3:34 Sam James
2022-10-10 20:39 Sam James
2022-10-10 18:34 Sam James
2022-09-22  5:48 Sam James
2022-07-03  7:06 Fabian Groffen
2022-05-19 13:36 Agostino Sarubbo
2022-05-19  9:29 Agostino Sarubbo
2022-05-16 12:51 Agostino Sarubbo
2022-05-13 20:09 Jakov Smolić
2022-03-21 15:20 Agostino Sarubbo
2022-01-02 22:49 Sam James
2022-01-02 22:42 Sam James
2022-01-02 22:32 Sam James
2021-10-06  8:33 Jakov Smolić
2021-07-14 16:15 Marek Szuba
2021-01-07 16:52 Sam James
2021-01-07 10:09 Sam James
2021-01-06  8:09 Sam James
2021-01-06  8:09 Sam James
2020-07-15 22:28 Guilherme Amadio
2020-04-16 15:10 Agostino Sarubbo
2020-04-15 12:15 Guilherme Amadio
2020-04-15 12:15 Guilherme Amadio
2020-04-01  8:51 Guilherme Amadio
2020-03-21 15:53 Agostino Sarubbo
2020-03-20 11:29 Agostino Sarubbo
2020-03-20  9:04 Agostino Sarubbo
2020-03-20  8:59 Agostino Sarubbo
2019-10-03  9:34 Guilherme Amadio
2019-08-16 14:35 Guilherme Amadio
2019-08-16 14:35 Guilherme Amadio
2019-08-16 14:35 Guilherme Amadio
2019-05-16 19:30 Aaron Bauman
2019-05-07 19:39 Michał Górny
2018-05-16 22:57 Aaron Bauman
2018-04-24 15:58 Matthias Maier
2018-04-19 12:37 Amy Liffey
2017-12-29 13:35 Fabian Groffen
2017-11-27 19:46 Sergei Trofimovich
2017-07-08 10:51 Alexis Ballier
2017-07-01  9:52 Sergei Trofimovich
2017-04-29 12:38 Jeroen Roovers
2017-03-31 12:09 Agostino Sarubbo
2017-03-31  8:52 Michael Weber
2017-03-31  2:20 Matthias Maier
2017-03-31  2:16 Matthias Maier
2017-03-31  2:16 Matthias Maier
2016-06-07 16:47 Tobias Klausmann
2015-11-26 10:36 Justin Lecher
2015-11-08 17:47 Justin Lecher
2015-09-23 13:04 Justin Lecher
2015-09-20  8:32 Jeroen Roovers
2015-09-06 12:43 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1681524644.a25ad1d366b2806cf907da8fda7583c9e8d6818c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox