sci-ml/oneDNN: fix min cmake version

Closes: https://bugs.gentoo.org/953418
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-04-08 22:08:08 +02:00
parent ac41dea06a
commit ad785d4a96
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/CMakeLists.txt 2025-04-08 22:04:35.298750813 +0200
+++ b/CMakeLists.txt 2025-04-08 22:04:47.430599644 +0200
@@ -14,7 +14,7 @@
# limitations under the License.
#===============================================================================
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.5)
if(POLICY CMP0022)
cmake_policy(SET CMP0022 NEW)

View File

@@ -39,6 +39,8 @@ BDEPEND="
)
"
PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}