summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2025-07-08 08:26:43 +0200
committerAlfredo Tupone <tupone@gentoo.org>2025-07-08 08:26:43 +0200
commite496ba2bba91c3b10a251e76f373ecc54d2245f3 (patch)
treef6088024627d11b5e7b71827dab336058c43d564 /dev-cpp
parentf798f444d2f35496e96e0971c2db2d45cfe68894 (diff)
downloadgentoo-e496ba2bba91c3b10a251e76f373ecc54d2245f3.tar.gz
gentoo-e496ba2bba91c3b10a251e76f373ecc54d2245f3.tar.bz2
gentoo-e496ba2bba91c3b10a251e76f373ecc54d2245f3.zip
dev-cpp/xsimd: require cmake >= 3.8
Closes: https://bugs.gentoo.org/957422 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch22
-rw-r--r--dev-cpp/xsimd/xsimd-13.2.0.ebuild1
2 files changed, 23 insertions, 0 deletions
diff --git a/dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch b/dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch
new file mode 100644
index 000000000000..42adc96cf855
--- /dev/null
+++ b/dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch
@@ -0,0 +1,22 @@
+--- a/benchmark/CMakeLists.txt 2025-07-08 08:23:10.926630364 +0200
++++ b/benchmark/CMakeLists.txt 2025-07-08 08:23:21.764513856 +0200
+@@ -9,7 +9,7 @@
+ # The full license is in the file LICENSE, distributed with this software. #
+ ############################################################################
+
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.8)
+
+ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
+ project(xsimd-benchmark)
+--- a/examples/CMakeLists.txt 2025-07-08 08:23:32.134402377 +0200
++++ b/examples/CMakeLists.txt 2025-07-08 08:23:42.504290895 +0200
+@@ -9,7 +9,7 @@
+ # The full license is in the file LICENSE, distributed with this software. #
+ ############################################################################
+
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.8)
+ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
+ project(xsimd-examples)
+
diff --git a/dev-cpp/xsimd/xsimd-13.2.0.ebuild b/dev-cpp/xsimd/xsimd-13.2.0.ebuild
index bdf7e6be681b..c485908fa4f8 100644
--- a/dev-cpp/xsimd/xsimd-13.2.0.ebuild
+++ b/dev-cpp/xsimd/xsimd-13.2.0.ebuild
@@ -31,6 +31,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-11.1.0-c++17.patch
"${FILESDIR}"/${PN}-12.1.1-no-march.patch
+ "${FILESDIR}"/${P}-cmake.patch
)
python_check_deps() {