llama.cpp icon indicating copy to clipboard operation
llama.cpp copied to clipboard

Port to Visual C++.

Open jaykrell opened this issue 1 year ago • 1 comments

  • 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.

jaykrell avatar Mar 12 '23 06:03 jaykrell

We will merge #31 first and then see how to update the build system - either CMake or what you suggested here

ggerganov avatar Mar 12 '23 09:03 ggerganov

We already merged CMake support which provide Windows build

ggerganov avatar Mar 14 '23 17:03 ggerganov