mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-cpp/tbb: Compatibility with CMake < 3.5 removed
Closes: https://bugs.gentoo.org/965731 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
33
dev-cpp/tbb/files/tbb-2022.3.0-cmake.patch
Normal file
33
dev-cpp/tbb/files/tbb-2022.3.0-cmake.patch
Normal file
@@ -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")
|
||||
@@ -27,6 +27,7 @@ PATCHES=(
|
||||
"${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() {
|
||||
|
||||
Reference in New Issue
Block a user