]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml-cpu: detect correct cpu flags for arm64 (ggml/16229) (llama/16239)
authoriron <redacted>
Fri, 7 Nov 2025 16:18:14 +0000 (00:18 +0800)
committerGeorgi Gerganov <redacted>
Sun, 9 Nov 2025 21:38:03 +0000 (23:38 +0200)
commit512592513cf5a623bd3b151a27b924a9bddb4dac
tree8798db591eb83f4177c6c03e789f9dec7b2ab1fd
parent5bce732795c5ad2f2c5a416d15409cefcb88a9dc
ggml-cpu: detect correct cpu flags for arm64 (ggml/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>
ggml/src/ggml-cpu/CMakeLists.txt