llama.cpp
llama.cpp copied to clipboard
Port to Visual C++.
- Combined nmake/Unix Makefile.
- _alloca instead of variable size array.
- Do not do math on void*, could cast to char*, but in this case, move the uint8_t* cast.
- C++20 for designated initializers.
- Conditionalize on _WIN32, not specific compilers.
It builds. I haven't run it yet.
We will merge #31 first and then see how to update the build system - either CMake or what you suggested here
We already merged CMake support which provide Windows build