mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-11 07:19:10 +02:00
Update CMakeLists.txt - Fix source for ggml-cpu (#1474)
* Update CMakeLists.txt - Fix source for ggml-cpu * Fixes std::min adding compile define NOMINMAX seems to fix the further compile issues
This commit is contained in:
+6
-5
@@ -65,6 +65,7 @@ find_package(Threads REQUIRED)
|
||||
add_compile_definitions(LOG_DISABLE_LOGS)
|
||||
add_compile_definitions(GGML_USE_CPU)
|
||||
add_compile_definitions(GGML_USE_CPU_AARCH64)
|
||||
add_compile_definitions(NOMINMAX)
|
||||
|
||||
if (MSVC)
|
||||
add_compile_options("$<$<COMPILE_LANGUAGE:C>:/utf-8>")
|
||||
@@ -423,11 +424,11 @@ add_library(ggml
|
||||
ggml/src/ggml-cpu/binary-ops.cpp
|
||||
ggml/src/ggml-cpu/unary-ops.h
|
||||
ggml/src/ggml-cpu/unary-ops.cpp
|
||||
ggml-cpu/simd-mappings.h
|
||||
ggml-cpu/vec.h
|
||||
ggml-cpu/vec.cpp
|
||||
ggml-cpu/ops.h
|
||||
ggml-cpu/ops.cpp
|
||||
ggml/src/ggml-cpu/simd-mappings.h
|
||||
ggml/src/ggml-cpu/vec.h
|
||||
ggml/src/ggml-cpu/vec.cpp
|
||||
ggml/src/ggml-cpu/ops.h
|
||||
ggml/src/ggml-cpu/ops.cpp
|
||||
ggml/src/ggml-backend-reg.cpp
|
||||
ggml/include/gguf.h
|
||||
ggml/src/gguf.cpp
|
||||
|
||||
Reference in New Issue
Block a user