diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-28 00:31:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-28 00:31:34 +0000 |
commit | c44ae5c03130467400468d0e9a7f83e723c99f35 (patch) | |
tree | 2d60ad3f56cca90a1579a548a1bae0851fb4e091 /dev-cpp/tbb | |
parent | 3d05d0025c6d74a6b677a172283a0b25c4cf4012 (diff) |
gentoo auto-resync : 28:03:2025 - 00:31:34
Diffstat (limited to 'dev-cpp/tbb')
-rw-r--r-- | dev-cpp/tbb/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/tbb/tbb-2022.1.0.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest index 78aff0a2f871..10b0d839056b 100644 --- a/dev-cpp/tbb/Manifest +++ b/dev-cpp/tbb/Manifest @@ -10,10 +10,12 @@ DIST tbb-2021.13.0.tar.gz 2613916 BLAKE2B 0edd2d8a966dba673e50827629491924140a30 DIST tbb-2021.7.0.tar.gz 2571727 BLAKE2B 2977ef1a33d9bc7baa40e0e57c02e62798a09c6c66cdbe369f2702d87fd9877c3d97f8d83f71384028995ea0956f5c5630d4aaf4edbe68538e7c514d3b87085c SHA512 d314e3d88b85c96607a9eda15e3d808bf361eb562a534c59101929236e90c187883e7718e5435b5e7f01f4ee652c9765af95f5f173368b83997e4666b7403a49 DIST tbb-2021.9.0.tar.gz 2579150 BLAKE2B f6f701df1605913770222689063ff422416f86f132fb3fbc80f383b7c52762d3804e75200ca4826906b16c66f674918bcfd78b16a1dafb499ca53a9d2b6652ec SHA512 2ece7f678ad7c8968c0ad5cda9f987e4b318c6d9735169e1039beb0ff8dfca18815835875211acc6c7068913d9b0bdd4c9ded22962b0bb48f4a0ce0f7b78f31c DIST tbb-2022.0.0.tar.gz 2654343 BLAKE2B eac1a8065e401f1329527ccb1db0a8d30eb54ca2d9180560cd3be2263a779d250a0bda4fc3fb11fede3c63e964490420f09d664a7e39071d9b6a6cf743349f8f SHA512 c87b84964b2c323f61895a532968dfa6413a774c177cffbf6e798a07e74e8da5d449144875771df0a1b02657eeb2a7ae4d41c6c432dbf7ea50e3d5a9ea9f8cd3 +DIST tbb-2022.1.0.tar.gz 3434602 BLAKE2B a6441be4830ac79d648eee37a534bb74e2298612237059e2d22778c3aebda7e9a73c58948c8f9e89603cb05270d63d412b28bdc13a7cc6b3f6683ed21f1c221a SHA512 7582748f7d0e0ab46ea6ee7771dfaf7fc08ca7ab7f274fb3373eae0e3411aaafbac192ece15008d9a3d9e8566f8737f96f3f4b5ccf11449ac089d5cd9ebb9eab EBUILD tbb-2020.3.ebuild 3431 BLAKE2B b283e9afa2d918f8915d3e8f3e5f8a9730ab8424bd1587393c5e6254e1a2b767b7c0fecc0997f3970b37bab499bff13943cf099547b4da664a12b0c9f5bc5816 SHA512 b4b51539006965353ff8759dfad12053071db5cfb8479bea1b0c5f9c58d22d70d12859e13412959844a7104744454a0290a46aff332040c0af15a6d09423306a EBUILD tbb-2021.12.0.ebuild 1417 BLAKE2B 2af0947eb0bc96fbda1ef7c48731fbd62836d0a9ff14baee03732ffb69dabaf166814812ece873c0993f1510672a19774e858fa20f1af857bad9f11bc9f3d631 SHA512 4f3045557f16df3c6963f0a9d157c178cbdcecca56b7d1abcf29001e750cd43c77dbf4ba5cf8056d6ba00026572930dfc4049c906878ce9385309724659708aa EBUILD tbb-2021.13.0.ebuild 1417 BLAKE2B 2af0947eb0bc96fbda1ef7c48731fbd62836d0a9ff14baee03732ffb69dabaf166814812ece873c0993f1510672a19774e858fa20f1af857bad9f11bc9f3d631 SHA512 4f3045557f16df3c6963f0a9d157c178cbdcecca56b7d1abcf29001e750cd43c77dbf4ba5cf8056d6ba00026572930dfc4049c906878ce9385309724659708aa EBUILD tbb-2021.7.0-r1.ebuild 1086 BLAKE2B c513c44a8d03d23986f7fb2d636f081e9b9e5c46fec30f63ba91dda7af6f62a90b92a2e8bcaca07be0da4ec9e4230628fad6bde8aeadbb7c05e75e9267d542b8 SHA512 4b37456c7d580f7717cebd522cb0934c1303971333a12d9e905dcdb302987d3cb9fa62a66e9d2a29088e60edabac58d8708b3d3ba2250ca12162ddd61c0afb11 EBUILD tbb-2021.9.0.ebuild 1425 BLAKE2B c303fc9f13ff1d35e6338a16fdf26345beab1e341427932b557eef04867e6849f3d6dbe4909e60aeaedd06f912cf88757a8be41dbba63ca272d9b77728e674f5 SHA512 2a25e8ab9509bfc4b81c104fbc04c28721cb1526e447b9e489e6f8a77e427aeb8c5beff6e0a82c602a0e2cdebc5d2566844dac5e8355da4d6d927c99ce7cf38e EBUILD tbb-2022.0.0-r1.ebuild 1483 BLAKE2B f4acb5d8dec3acc8a4c1e535d3937809f758a4db74ea328163003b7d405aa89449e1654f4d696c608ebde70925c546f17da96c9247a93403f4a4c72553bd1c97 SHA512 bb04ff4c77a1ac21dec0d7064b1c0d2e901268347c70ec44a52d76e2811a4b4cdc567968c8494137710fdf9d56e90c14b935d9e0ba8678972333dc8ed507e1e6 +EBUILD tbb-2022.1.0.ebuild 1483 BLAKE2B 891f9619a38621762134facaedfe9e7fe946851a06b6c77b9525cd7015c3326b7a78118d1b2c09a67f6385dab16986576493673bba223e59c74d68c167e5d38e SHA512 d17eb59859d2ba65d3a3f1aaf7268d3889aee0e34b458a39935d5e3e569f7423da6f18fc7313ddcbc893d280dae3e2a8213634590cd32896c86fb3c5faa62f32 MISC metadata.xml 857 BLAKE2B 7764cec8972b71a929671a8dc1a64ecb7f3952bd28ebaf2d1a195bc46b04a52eaa4108598fbabba59e7d2c68e07824048888d2e8950f1c495f09053f3f8f4649 SHA512 5d1f8002f1d3d9e1cc79bd454992cad217b7f552106ea8e932c3c6ac697136642a317f533a5075c4c72e35e2521fab93bd3d9a073470721c992b8c01856e1d1a diff --git a/dev-cpp/tbb/tbb-2022.1.0.ebuild b/dev-cpp/tbb/tbb-2022.1.0.ebuild new file mode 100644 index 000000000000..edfcdf42ad9a --- /dev/null +++ b/dev-cpp/tbb/tbb-2022.1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 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/uxlfoundation/oneTBB" +SRC_URI="https://github.com/uxlfoundation/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.15-2.15-3.15" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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.13.0-test-atomics.patch + "${FILESDIR}"/${PN}-2022.0.0_do-not-fortify-source.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_EXAMPLES=OFF # TODO: add this + -DTBB_ENABLE_IPO=OFF + -DTBB_STRICT=OFF + ) + + cmake-multilib_src_configure +} |