]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cmake : set `CMAKE_RUNTIME_OUTPUT_DIRECTORY` for non standalone build (ggml/1394)
authorCongcong Cai <redacted>
Fri, 12 Dec 2025 14:37:38 +0000 (22:37 +0800)
committerGeorgi Gerganov <redacted>
Sun, 14 Dec 2025 06:33:51 +0000 (08:33 +0200)
commit615655aafe46339f04e2879d14d7d0d68fc2cfcd
tree58e19fab050df6325c8fcec27117c47157da2fae
parentc00ff929dcfd150234e62f30e863bca4f1337aee
cmake : set `CMAKE_RUNTIME_OUTPUT_DIRECTORY` for non standalone build (ggml/1394)

Some backend depends on CMAKE_RUNTIME_OUTPUT_DIRECTORY to create temporary file like metal backened.
Missing CMAKE_RUNTIME_OUTPUT_DIRECTORY will cause some cmake error like permission denied (try to copy file to root).
This PR wants to setup a default path for CMAKE_RUNTIME_OUTPUT_DIRECTORY when it does not exist.
ggml/CMakeLists.txt