mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-06 09:20:33 +00:00
6 lines
474 B
PowerShell
6 lines
474 B
PowerShell
|
Remove-Item -Force -Recurse .\runtimes\win-x64\msvc -ErrorAction SilentlyContinue
|
||
|
mkdir .\runtimes\win-x64\msvc\build | Out-Null
|
||
|
cmake -G "Visual Studio 17 2022" -A Win64 -S ..\..\gpt4all-backend -B .\runtimes\win-x64\msvc\build
|
||
|
cmake --build .\runtimes\win-x64\msvc\build --parallel --config Release
|
||
|
cp .\runtimes\win-x64\msvc\build\Release\llmodel.dll .\runtimes\win-x64\libllmodel.dll
|
||
|
cp .\runtimes\win-x64\msvc\build\bin\Release\llama.dll .\runtimes\win-x64\libllama.dll
|