You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building on a system missing expected CPU flags, it is actually possible for the CMakeLists.txt to never set the GGML_C_FLAGS variable. This causes this line to be called with no value:
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- x86 detected
-- Linux detected
-- x86 detected
-- Linux detected
CMake Error at tests/CMakeLists.txt:145 (set_target_properties):
set_target_properties called with incorrect number of arguments.
-- Configuring incomplete, errors occurred!
See also "/path/to/ggml/build/CMakeFiles/CMakeOutput.log".
See also "/path/to/ggml/build/CMakeFiles/CMakeError.log".
In my case, I simply chosen incorrect settings in my KVM vm, so I was able to reboot with the correct configuration. I still didn't expect a missing CPU flag to cause a compile error. At the very least, it should warn whether those flags are required. If they aren't it should build without them.
The text was updated successfully, but these errors were encountered:
When building on a system missing expected CPU flags, it is actually possible for the CMakeLists.txt to never set the
GGML_C_FLAGS
variable. This causes this line to be called with no value:ggml/tests/CMakeLists.txt
Line 143 in 43ffec5
Here are the flags from cpuinfo:
In my case, I simply chosen incorrect settings in my KVM vm, so I was able to reboot with the correct configuration. I still didn't expect a missing CPU flag to cause a compile error. At the very least, it should warn whether those flags are required. If they aren't it should build without them.
The text was updated successfully, but these errors were encountered: