Bug: Bug: Cmake fail to build when find MATH_LIBRARY but GGML_SYCL=OFF on windows #9908
Labels
bug-unconfirmed
high severity
Used to report high severity bugs in llama.cpp (Malfunctioning hinder important workflow)
stale
What happened?
Cmake fail to build on windows with Error:
When
GGML_SYCL=OFF
by default and find_library(MATH_LIBRARY m) is true, the error of adding link flag-lm.lib
causes compilation failure on windows.build/build.ninja
Related problem code:
llama.cpp/ggml/src/CMakeLists.txt
Lines 1360 to 1364 in 10433e8
Line 1361 should be correct:
if (NOT WIN32 AND NOT GGML_SYCL)
?Name and Version
git show:
commit 1f66b69 (HEAD -> b3091)
What operating system are you seeing the problem on?
Windows
Relevant log output
No response
The text was updated successfully, but these errors were encountered: