mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
11
sci-ml/oneDNN/files/oneDNN-3.6.2-cmake.patch
Normal file
11
sci-ml/oneDNN/files/oneDNN-3.6.2-cmake.patch
Normal 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)
|
||||
@@ -39,6 +39,8 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user