commit:     0636d6ac31249b37904f45e1c7e8893be5866e97
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Thu Dec 18 21:04:02 2025 +0000
Commit:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
CommitDate: Thu Dec 18 21:05:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0636d6ac

sci-ml/ollama: add 0.13.4, update mkl detection

Without Fortran the detection requires `libmkl_intel_thread.so` which we
provide only for `sci-libs/mkl[llvm-openmp]`.

Closes: https://bugs.gentoo.org/967657
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>

 sci-ml/ollama/Manifest                                     | 2 ++
 sci-ml/ollama/{ollama-9999.ebuild => ollama-0.13.4.ebuild} | 4 ++--
 sci-ml/ollama/ollama-9999.ebuild                           | 4 ++--
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/sci-ml/ollama/Manifest b/sci-ml/ollama/Manifest
index 10a141402e..0bccb51fb6 100644
--- a/sci-ml/ollama/Manifest
+++ b/sci-ml/ollama/Manifest
@@ -4,3 +4,5 @@ DIST ollama-0.13.1-deps.tar.xz 49906880 BLAKE2B 
efd7b64921784b1d68a27d07c1de8083
 DIST ollama-0.13.1.gh.tar.gz 20813055 BLAKE2B 
588ddb803868b3be49ac25f3798a6ad762cdb6a05c355876ab5f1b9b86457f5cebad3f023d6f2ba6f622ff130e4af2a8bfbb7a48284988643bba7e713b07d079
 SHA512 
91369ec02b7cfa001707b10226db805497df34e24dbc01d4408825775ba305f2c7ff3eccba508843c3e5f659624ced77bd88b1857c75bf08322bdda279dc7c13
 DIST ollama-0.13.2-deps.tar.xz 49906880 BLAKE2B 
efd7b64921784b1d68a27d07c1de80836a57f163fc4a17748e52ac0e78480c8811f68149d8f75eff9ba2e19c8be62683c9e75d2b92cfef84100a0de2e7818e3c
 SHA512 
0af9f5fc1d5633b6ac9934e5a7d232aa20c5e2f8d4eaeb0152c6fcf77e1922dc7b67fcc039933562832939553dc3861ca35cf2e604fd310934669227666aee3e
 DIST ollama-0.13.2.gh.tar.gz 20871489 BLAKE2B 
97fdec1c45eeca4394e3455655460e8363e5d70bcfcde8f5993107d5cf7229aea99ea60727d5240fd338546a93cb07f48c47d0adb6bd51f82642d3ea9a37e52a
 SHA512 
4c29e7933c5cc3114382ba32ee9bf6f57ceab03963520e552885ff67ab0ab22f7e6cd1933e237ab22bfbe73ff366be63068a139955293e282819b492a64f8f7d
+DIST ollama-0.13.4-deps.tar.xz 49906880 BLAKE2B 
efd7b64921784b1d68a27d07c1de80836a57f163fc4a17748e52ac0e78480c8811f68149d8f75eff9ba2e19c8be62683c9e75d2b92cfef84100a0de2e7818e3c
 SHA512 
0af9f5fc1d5633b6ac9934e5a7d232aa20c5e2f8d4eaeb0152c6fcf77e1922dc7b67fcc039933562832939553dc3861ca35cf2e604fd310934669227666aee3e
+DIST ollama-0.13.4.gh.tar.gz 20941151 BLAKE2B 
76ae6bcd668f1f25477084f20ae549fbd5c9ac389f323661fa434af20ec3455a174dbdfcd99f68e045d55cd36aa46580b612e93037c669173534fb5032f9d054
 SHA512 
fc6e341fce5c40cd8d046bc9e303af9e6ab789b3ed9d48dc3565c7e52d3553062e0fa8acd587fb43c3710ab53e9b42ee126df8064e9c86f79e7149488d4b8d7d

diff --git a/sci-ml/ollama/ollama-9999.ebuild 
b/sci-ml/ollama/ollama-0.13.4.ebuild
similarity index 99%
copy from sci-ml/ollama/ollama-9999.ebuild
copy to sci-ml/ollama/ollama-0.13.4.ebuild
index e437e32c45..96d77bea52 100644
--- a/sci-ml/ollama/ollama-9999.ebuild
+++ b/sci-ml/ollama/ollama-0.13.4.ebuild
@@ -50,7 +50,7 @@ COMMON_DEPEND="
                        virtual/blas
                )
                mkl? (
-                       sci-libs/mkl
+                       sci-libs/mkl[llvm-openmp]
                )
        )
        cuda? (
@@ -253,7 +253,7 @@ src_configure() {
        if use blas; then
                if use mkl; then
                        mycmakeargs+=(
-                               -DGGML_BLAS_VENDOR="Intel"
+                               -DGGML_BLAS_VENDOR="Intel10_64lp"
                        )
                else
                        mycmakeargs+=(

diff --git a/sci-ml/ollama/ollama-9999.ebuild b/sci-ml/ollama/ollama-9999.ebuild
index e437e32c45..96d77bea52 100644
--- a/sci-ml/ollama/ollama-9999.ebuild
+++ b/sci-ml/ollama/ollama-9999.ebuild
@@ -50,7 +50,7 @@ COMMON_DEPEND="
                        virtual/blas
                )
                mkl? (
-                       sci-libs/mkl
+                       sci-libs/mkl[llvm-openmp]
                )
        )
        cuda? (
@@ -253,7 +253,7 @@ src_configure() {
        if use blas; then
                if use mkl; then
                        mycmakeargs+=(
-                               -DGGML_BLAS_VENDOR="Intel"
+                               -DGGML_BLAS_VENDOR="Intel10_64lp"
                        )
                else
                        mycmakeargs+=(

Reply via email to