commit:     aa80e6a9f16c63f776451279b3fe933bdbd90e00
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  3 15:50:56 2026 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Feb  3 15:51:22 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa80e6a9

sci-ml/caffe2: fix again aarch64 mimalloc

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

 sci-ml/caffe2/files/caffe2-2.10.0-mimalloc.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sci-ml/caffe2/files/caffe2-2.10.0-mimalloc.patch 
b/sci-ml/caffe2/files/caffe2-2.10.0-mimalloc.patch
index ed859776febe..41de6be09a99 100644
--- a/sci-ml/caffe2/files/caffe2-2.10.0-mimalloc.patch
+++ b/sci-ml/caffe2/files/caffe2-2.10.0-mimalloc.patch
@@ -12,3 +12,13 @@
    endif()
  
    if(LINUX)
+--- a/CMakeLists.txt   2026-02-03 16:47:46.949580063 +0100
++++ b/CMakeLists.txt   2026-02-03 16:48:57.348716061 +0100
+@@ -404,7 +404,6 @@
+ # on Windows and AArch64.
+ option(USE_MIMALLOC_ON_MKL "Use mimalloc on MKL" OFF)
+ if(WIN32 OR (CPU_AARCH64 AND NOT APPLE))
+-  set(USE_MIMALLOC ON)
+ 
+   # Not enable USE_MIMALLOC_ON_MKL due to it caused issue:
+   # https://github.com/pytorch/pytorch/issues/138994

Reply via email to