mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-14 10:59:41 +00: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:
parent
8acec907bb
commit
e2fefc373f
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue