]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Use GGML_NATIVE=ON on Ubuntu arm64
authorMathieu Baudier <redacted>
Mon, 29 Dec 2025 12:06:46 +0000 (13:06 +0100)
committerMathieu Baudier <redacted>
Mon, 29 Dec 2025 12:06:46 +0000 (13:06 +0100)
debian/rules

index ecb3fa5b130b8bcfcac5fce29a22444d0bad5187..b68d5e8630d8418b4e0030c9d6be73797872e725 100755 (executable)
@@ -37,7 +37,8 @@ CMAKE_FLAGS = \
 ifeq ($(DEB_TARGET_ARCH),arm64)
 ifeq ($(distribution),Ubuntu)
 # Optimize for Raspberry Pi 5 on Ubuntu
-FLAGS_ARGEO += -mcpu=cortex-a76+crc+crypto
+#FLAGS_ARGEO += -mcpu=cortex-a76+crc+crypto
+CMAKE_OPTS += -DGGML_NATIVE=ON
 else
 CMAKE_FLAGS += -DGGML_CPU_ARM_ARCH=armv8-a
 endif