]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml-cpu: detect correct cpu flags for arm64 (#16229) (llama/16239)
authoriron <redacted>
Fri, 7 Nov 2025 16:18:14 +0000 (00:18 +0800)
committerGeorgi Gerganov <redacted>
Sun, 9 Nov 2025 16:30:22 +0000 (18:30 +0200)
commitf6ac55c3d121052756cb4a4145cba4dbde75fed5
tree8e3bbce0e69d7676cfabb99f23f1f09ae884562e
parent99af50850b0b5f39ccfd2088dd6f0a6a5206630a
ggml-cpu: detect correct cpu flags for arm64 (#16229) (llama/16239)

When using GCC 9 and GCC 12 on the arm64 platform of ubuntu 2004,
the command "gcc -mcpu=native -E -v -" fails to detect the correct CPU flags,
which results in compilation failures for certain extended instructions,
but the correct CPU flags can be obtained by using gcc -march.

Signed-off-by: lizhenneng <redacted>
Co-authored-by: lizhenneng <redacted>
src/ggml-cpu/CMakeLists.txt