Skip to content

Commit

Permalink
fix: compilation for MSVC Windows compilation (#32)
Browse files Browse the repository at this point in the history
Thanks @bachittle ! Much appreciated :) 
I guess now is time to include some CIs for Windows ;)

Would you like to give it a try? I guess a good starting point is here: https://github.com/ggerganov/llama.cpp/blob/master/.github/workflows/build.yml#L291
  • Loading branch information
bachittle authored Jan 9, 2024
1 parent 484ddca commit 80799dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set(ENCODEC_LIB encodec)

add_subdirectory(ggml)

add_library(${ENCODEC_LIB} encodec.cpp encodec.h)
add_library(${ENCODEC_LIB} STATIC encodec.cpp encodec.h)

if (ENCODEC_BUILD_EXAMPLES)
add_subdirectory(examples)
Expand Down
2 changes: 1 addition & 1 deletion ggml
Submodule ggml updated 1 files
+2 −2 src/ggml.c

0 comments on commit 80799dd

Please sign in to comment.