LLM inference in C/C++
C++ ggml
cmake: leave the timestamp out of precompiled headers on clang (#28816)
Pascal737e0980fef1
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 86b09dfd46..4052fa3d61 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -197,6 +197,16 @@ llama_option_depr(WARNING LLAMA_CURL)include("cmake/license.cmake")license_add_file("llama.cpp" "LICENSE")+#+# compile options+#++# clang stores the modification time of the precompiled header sources inside the+# header and rejects it when they differ, so the timestamp is left out of it+add_compile_options(+ "$<$<COMPILE_LANG_AND_ID:C,Clang,IntelLLVM>:SHELL:-Xclang -fno-pch-timestamp>"+ "$<$<COMPILE_LANG_AND_ID:CXX,Clang,IntelLLVM>:SHELL:-Xclang -fno-pch-timestamp>")+## 3rd-party#