summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/tbb/files/tbb-2021.9.0-ppc.patch12
-rw-r--r--dev-cpp/tbb/files/tbb-2022.3.0-cmake.patch33
-rw-r--r--dev-cpp/tbb/tbb-2021.12.0.ebuild1
-rw-r--r--dev-cpp/tbb/tbb-2021.13.0.ebuild2
-rw-r--r--dev-cpp/tbb/tbb-2021.9.0.ebuild1
-rw-r--r--dev-cpp/tbb/tbb-2022.0.0-r1.ebuild1
-rw-r--r--dev-cpp/tbb/tbb-2022.1.0.ebuild1
-rw-r--r--dev-cpp/tbb/tbb-2022.3.0.ebuild2
8 files changed, 53 insertions, 0 deletions
diff --git a/dev-cpp/tbb/files/tbb-2021.9.0-ppc.patch b/dev-cpp/tbb/files/tbb-2021.9.0-ppc.patch
new file mode 100644
index 000000000000..38a505c0384d
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2021.9.0-ppc.patch
@@ -0,0 +1,12 @@
+--- a/cmake/compilers/GNU.cmake 2026-04-04 21:14:34.206944192 +0200
++++ b/cmake/compilers/GNU.cmake 2026-04-04 21:15:30.092303279 +0200
+@@ -75,6 +75,9 @@
+ set(TBB_TEST_COMPILE_FLAGS ${TBB_TEST_COMPILE_FLAGS} -DTBB_TEST_LOW_WORKLOAD $<$<CONFIG:DEBUG>:-fPIE -mxgot>)
+ set(TBB_TEST_LINK_FLAGS ${TBB_TEST_LINK_FLAGS} $<$<CONFIG:DEBUG>:-pie>)
+ endif()
++if ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "ppc")
++ set(TBB_TEST_COMPILE_FLAGS ${TBB_TEST_COMPILE_FLAGS} -DTBB_TEST_LOW_WORKLOAD)
++endif()
+
+ set(TBB_IPO_COMPILE_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
+ set(TBB_IPO_LINK_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
diff --git a/dev-cpp/tbb/files/tbb-2022.3.0-cmake.patch b/dev-cpp/tbb/files/tbb-2022.3.0-cmake.patch
new file mode 100644
index 000000000000..707d7c8ee53e
--- /dev/null
+++ b/dev-cpp/tbb/files/tbb-2022.3.0-cmake.patch
@@ -0,0 +1,33 @@
+--- a/examples/sycl/tbb-resumable-tasks-sycl/CMakeLists.txt 2026-04-04 22:48:28.264634270 +0200
++++ b/examples/sycl/tbb-resumable-tasks-sycl/CMakeLists.txt 2026-04-04 22:49:13.703104323 +0200
+@@ -12,7 +12,7 @@
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+-cmake_minimum_required (VERSION 3.4)
++cmake_minimum_required (VERSION 3.10)
+
+ if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
+ set(CMAKE_CXX_COMPILER "icx-cl")
+--- a/examples/sycl/tbb-async-sycl/CMakeLists.txt 2026-04-04 22:49:28.902927039 +0200
++++ b/examples/sycl/tbb-async-sycl/CMakeLists.txt 2026-04-04 22:49:47.044715444 +0200
+@@ -12,7 +12,7 @@
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+-cmake_minimum_required (VERSION 3.4)
++cmake_minimum_required (VERSION 3.10)
+
+ if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
+ set(CMAKE_CXX_COMPILER "icx-cl")
+--- a/examples/sycl/tbb-task-sycl/CMakeLists.txt 2026-04-04 22:50:02.325537219 +0200
++++ b/examples/sycl/tbb-task-sycl/CMakeLists.txt 2026-04-04 22:50:13.249409806 +0200
+@@ -12,7 +12,7 @@
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+-cmake_minimum_required (VERSION 3.4)
++cmake_minimum_required (VERSION 3.10)
+
+ if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
+ set(CMAKE_CXX_COMPILER "icx-cl")
diff --git a/dev-cpp/tbb/tbb-2021.12.0.ebuild b/dev-cpp/tbb/tbb-2021.12.0.ebuild
index 4f8b60d8680f..1bd9cb9fa412 100644
--- a/dev-cpp/tbb/tbb-2021.12.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.12.0.ebuild
@@ -24,6 +24,7 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-2021.8.0-gcc-13.patch
+ "${FILESDIR}"/${PN}-2021.9.0-ppc.patch
"${FILESDIR}"/${PN}-2021.13.0-test-atomics.patch
)
diff --git a/dev-cpp/tbb/tbb-2021.13.0.ebuild b/dev-cpp/tbb/tbb-2021.13.0.ebuild
index 4f8b60d8680f..4cc18d3ee0cd 100644
--- a/dev-cpp/tbb/tbb-2021.13.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.13.0.ebuild
@@ -24,7 +24,9 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-2021.8.0-gcc-13.patch
+ "${FILESDIR}"/${PN}-2021.9.0-ppc.patch
"${FILESDIR}"/${PN}-2021.13.0-test-atomics.patch
+ "${FILESDIR}"/${PN}-2022.0.0_do-not-fortify-source.patch
)
src_prepare() {
diff --git a/dev-cpp/tbb/tbb-2021.9.0.ebuild b/dev-cpp/tbb/tbb-2021.9.0.ebuild
index 427685c031c1..210049d0641c 100644
--- a/dev-cpp/tbb/tbb-2021.9.0.ebuild
+++ b/dev-cpp/tbb/tbb-2021.9.0.ebuild
@@ -24,6 +24,7 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-2021.8.0-gcc-13.patch
+ "${FILESDIR}"/${PN}-2021.9.0-ppc.patch
"${FILESDIR}"/${PN}-2021.13.0-test-atomics.patch
"${FILESDIR}"/${P}-dynamicLink.patch
)
diff --git a/dev-cpp/tbb/tbb-2022.0.0-r1.ebuild b/dev-cpp/tbb/tbb-2022.0.0-r1.ebuild
index 28c442dd7707..158dc20d4dc7 100644
--- a/dev-cpp/tbb/tbb-2022.0.0-r1.ebuild
+++ b/dev-cpp/tbb/tbb-2022.0.0-r1.ebuild
@@ -23,6 +23,7 @@ DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
+ "${FILESDIR}"/${PN}-2021.9.0-ppc.patch
"${FILESDIR}"/${PN}-2021.13.0-test-atomics.patch
"${FILESDIR}"/${PN}-2022.0.0_do-not-fortify-source.patch
)
diff --git a/dev-cpp/tbb/tbb-2022.1.0.ebuild b/dev-cpp/tbb/tbb-2022.1.0.ebuild
index 71bca17587ad..ad520d93a9e0 100644
--- a/dev-cpp/tbb/tbb-2022.1.0.ebuild
+++ b/dev-cpp/tbb/tbb-2022.1.0.ebuild
@@ -23,6 +23,7 @@ DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
+ "${FILESDIR}"/${PN}-2021.9.0-ppc.patch
"${FILESDIR}"/${PN}-2021.13.0-test-atomics.patch
"${FILESDIR}"/${PN}-2022.0.0_do-not-fortify-source.patch
)
diff --git a/dev-cpp/tbb/tbb-2022.3.0.ebuild b/dev-cpp/tbb/tbb-2022.3.0.ebuild
index a4d5e9ff1a82..3e70e56bd082 100644
--- a/dev-cpp/tbb/tbb-2022.3.0.ebuild
+++ b/dev-cpp/tbb/tbb-2022.3.0.ebuild
@@ -23,9 +23,11 @@ DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
+ "${FILESDIR}"/${PN}-2021.9.0-ppc.patch
"${FILESDIR}"/${PN}-2021.13.0-test-atomics.patch
"${FILESDIR}"/${PN}-2022.0.0_do-not-fortify-source.patch
"${FILESDIR}"/${PN}-2022.3.0-no-clobber-hardened.patch
+ "${FILESDIR}"/${PN}-2022.3.0-cmake.patch
)
src_prepare() {