commit:     137582c24c34691fddf0cb7f04193cc2a46bc906
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 26 10:25:07 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Oct 26 10:25:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137582c2

sci-ml/caffe2: merge cmake patches

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/caffe2/caffe2-2.9.0.ebuild            | 1 -
 sci-ml/caffe2/files/caffe2-2.9.0-cmake.patch | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/sci-ml/caffe2/caffe2-2.9.0.ebuild 
b/sci-ml/caffe2/caffe2-2.9.0.ebuild
index 58002595e3b3..6c189b4d66f6 100644
--- a/sci-ml/caffe2/caffe2-2.9.0.ebuild
+++ b/sci-ml/caffe2/caffe2-2.9.0.ebuild
@@ -157,7 +157,6 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.5.1-glog-0.6.0.patch
        "${FILESDIR}"/${PN}-2.5.1-newfix-functorch-install.patch
        "${FILESDIR}"/${PN}-2.6.0-rocm-fix-std-cpp17.patch
-       "${FILESDIR}"/${PN}-2.8.0-cmake.patch
        "${FILESDIR}"/${PN}-2.7.0-glog-0.7.1.patch
        "${FILESDIR}"/${PN}-2.7.1-aotriton-fixes.patch
        "${FILESDIR}"/${PN}-2.8.0-rocm-minus-flash.patch

diff --git a/sci-ml/caffe2/files/caffe2-2.9.0-cmake.patch 
b/sci-ml/caffe2/files/caffe2-2.9.0-cmake.patch
index 4249d28f941d..3c2bb13a3cc0 100644
--- a/sci-ml/caffe2/files/caffe2-2.9.0-cmake.patch
+++ b/sci-ml/caffe2/files/caffe2-2.9.0-cmake.patch
@@ -1,7 +1,7 @@
 --- a/.ci/pytorch/test_example_code/CMakeLists.txt     2025-10-24 
18:25:10.584717735 +0200
 +++ b/.ci/pytorch/test_example_code/CMakeLists.txt     2025-10-24 
18:25:17.195639297 +0200
 @@ -1,4 +1,4 @@
--cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
+-cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
 +cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
  project(simple-torch-test)
  

Reply via email to