]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cmake : fix ARM feature verification (#17170)
authorAdrien Gallouët <redacted>
Mon, 17 Nov 2025 20:37:29 +0000 (21:37 +0100)
committerGitHub <redacted>
Mon, 17 Nov 2025 20:37:29 +0000 (21:37 +0100)
commitcb44fc84e8450acf88e913611f5c26a0c8b1aefa
tree0aca28d04d25c52ddf9864c7a264376ca2f550dd
parentcb623de3fc61011e5062522b4d05721a22f2e916
cmake : fix ARM feature verification (#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>
ggml/src/ggml-cpu/CMakeLists.txt