From: Mathieu Baudier Date: Mon, 29 Dec 2025 12:06:46 +0000 (+0100) Subject: Use GGML_NATIVE=ON on Ubuntu arm64 X-Git-Tag: debian/0.0.7599-1~10 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=b2bf46a6d3cbb04a284c4bc1d8b59357e0919e0d;p=pkg%2Fggml%2Fsources%2Fllama.cpp Use GGML_NATIVE=ON on Ubuntu arm64 --- diff --git a/debian/rules b/debian/rules index ecb3fa5b..b68d5e86 100755 --- a/debian/rules +++ b/debian/rules @@ -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