May you release a windows build binary?
progressionnetwork opened this issue · 4 comments
Seems like llama.cpp added support for Windows, would be great to add the same changes to this repo as well: ggerganov/llama.cpp#31
Seems like a nice first contribution for anyone who is interested!
Any preference on offering binaries built with MSVC (Microsoft Visual C++) or GCC (via MinGW?
Or even producing and publishing builds from both.
I used mingw32-make to build it in Windows, but got an error:
mingw32-make CC=gcc.exe CXX=g++.exe
I llama.cpp build info:
I UNAME_S: MSYS_NT-10.0-17763
I UNAME_P: unknown
I UNAME_M: x86_64
I CFLAGS: -I. -O3 -DNDEBUG -std=c11 -fPIC -mfma -mf16c -mavx -mavx2
I CXXFLAGS: -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC
I LDFLAGS:
I CC: gcc.exe (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders) 12.2.0
I CXX: g++.exe (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders) 12.2.0
g++.exe -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC main.cpp ggml.o utils.o -o main
./main -h
mingw32-make: *** [makefile:200: main] Error -1073741511
It would be great if someone can provide me some instructions on how to add support for Windows.
Thank you.