Makefile uses -march=native
unconditionally, it will break building on PowerPC where it is not supported
#1269
Labels
bug
Something isn't working
On PowerPC
-mtune=native
and-mcpu=native
are supported but not-march=native
. This should be fixed in Makefile: https://github.com/LostRuins/koboldcpp/blob/concedo/MakefileCMakeLists have correct flags but wrong arch detection, which will omit
ppc
: https://github.com/LostRuins/koboldcpp/blob/concedo/CMakeLists.txtCorrect check will be
elseif (${CMAKE_SYSTEM_PROCESSOR} MATCHES "ppc|powerpc")
(it does not matter if it is 32- or 64-bit, same flags are used).The text was updated successfully, but these errors were encountered: