commit:     b228272c6c4d9a2d51f473a6357c7341c1531396
Author:     Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sat Feb  1 11:19:51 2025 +0000
Commit:     Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Sat Feb  1 11:19:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b228272c

sci-misc/llama-cpp: strip march=native

Closes: https://bugs.gentoo.org/949130
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>

 sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild | 1 +
 sci-misc/llama-cpp/llama-cpp-9999.ebuild      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild 
b/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
index 18a0a72d9..39210dddf 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre4576.ebuild
@@ -27,6 +27,7 @@ src_configure() {
                -DLLAMA_BUILD_TESTS=OFF
                -DLLAMA_BUILD_SERVER=ON
                -DCMAKE_SKIP_BUILD_RPATH=ON
+               -DGGML_NATIVE=0 # don't set march
                -DBUILD_NUMBER="1"
        )
        cmake_src_configure

diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild 
b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index 18a0a72d9..39210dddf 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -27,6 +27,7 @@ src_configure() {
                -DLLAMA_BUILD_TESTS=OFF
                -DLLAMA_BUILD_SERVER=ON
                -DCMAKE_SKIP_BUILD_RPATH=ON
+               -DGGML_NATIVE=0 # don't set march
                -DBUILD_NUMBER="1"
        )
        cmake_src_configure

Reply via email to