]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cmake: Factor out CPU architecture detection (#13883)
authorChristian Kastner <redacted>
Thu, 29 May 2025 10:50:25 +0000 (12:50 +0200)
committerGitHub <redacted>
Thu, 29 May 2025 10:50:25 +0000 (12:50 +0200)
commit21fcc21ad5e5de2daa5da8d08dbbcc86b8d815d7
treef80d0bbbc58e4d059fb0e6baae3c0e9e1c710ca0
parentdd8ba93416f492c168f7e20f0b1434c08ebeaeb5
cmake: Factor out CPU architecture detection (#13883)

* cmake: Define function for querying architecture

The tests and results match exactly those of ggml/src/CMakeLists.txt

* Switch arch detection over to new function
ggml/cmake/common.cmake
ggml/src/CMakeLists.txt
ggml/src/ggml-cpu/CMakeLists.txt