]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
cmake : fix ARM feature verification (llama/17170)
authorAdrien Gallouët <redacted>
Mon, 17 Nov 2025 20:37:29 +0000 (21:37 +0100)
committerGeorgi Gerganov <redacted>
Thu, 11 Dec 2025 13:32:39 +0000 (15:32 +0200)
commitde92fe22455bc478706b141af07560b95a4fb373
tree73466269f694891a49c21100bec8e300a84fd61a
parenta871bcdd0b3480ea3ba82896704d933711ccc800
cmake : fix ARM feature verification (llama/17170)

* cmake : fix ARM feature verification

Use check_cxx_source_compiles to prevent conflicts with
the existing GGML_NATIVE detection code.

Signed-off-by: Adrien Gallouët <redacted>
* cmake : unset __ARM_FEATURE when feature is disabled

Signed-off-by: Adrien Gallouët <redacted>
* cmake : fix scope, this is really a macro

Signed-off-by: Adrien Gallouët <redacted>
* arm_neon.h is useless

Signed-off-by: Adrien Gallouët <redacted>
---------

Signed-off-by: Adrien Gallouët <redacted>
src/ggml-cpu/CMakeLists.txt