commit:     de476863a8113542d076564b80f6a06883cbdc1b
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 26 15:46:52 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 18:10:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de476863

sci-libs/caffe2: avoid the use of MKL

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

 sci-libs/caffe2/caffe2-1.13.1-r4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-libs/caffe2/caffe2-1.13.1-r4.ebuild 
b/sci-libs/caffe2/caffe2-1.13.1-r4.ebuild
index 133fd14a1f9d..afc6a29fc8df 100644
--- a/sci-libs/caffe2/caffe2-1.13.1-r4.ebuild
+++ b/sci-libs/caffe2/caffe2-1.13.1-r4.ebuild
@@ -144,6 +144,7 @@ src_configure() {
                -DPYBIND11_PYTHON_VERSION="${EPYTHON#python}"
                -DPYTHON_EXECUTABLE="${PYTHON}"
                -DUSE_ITT=OFF
+               -DBLAS=Eigen # avoid the use of MKL, if found on the system
                -DUSE_SYSTEM_EIGEN_INSTALL=ON
                -DUSE_SYSTEM_PTHREADPOOL=ON
                -DUSE_SYSTEM_FXDIV=ON

Reply via email to