mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Fix for windows circleci
This commit is contained in:
parent
b9fd0c25b2
commit
a69d23ecc4
@ -125,6 +125,7 @@ jobs:
|
|||||||
"-DCMAKE_BUILD_TYPE=Release" `
|
"-DCMAKE_BUILD_TYPE=Release" `
|
||||||
"-DCMAKE_PREFIX_PATH:PATH=C:\Qt\6.5.1\msvc2019_64" `
|
"-DCMAKE_PREFIX_PATH:PATH=C:\Qt\6.5.1\msvc2019_64" `
|
||||||
"-DCMAKE_MAKE_PROGRAM:FILEPATH=C:\Qt\Tools\Ninja\ninja.exe" `
|
"-DCMAKE_MAKE_PROGRAM:FILEPATH=C:\Qt\Tools\Ninja\ninja.exe" `
|
||||||
|
"-DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON" `
|
||||||
"-S ..\gpt4all-chat" `
|
"-S ..\gpt4all-chat" `
|
||||||
"-B ."
|
"-B ."
|
||||||
& "C:\Qt\Tools\Ninja\ninja.exe"
|
& "C:\Qt\Tools\Ninja\ninja.exe"
|
||||||
@ -448,7 +449,7 @@ jobs:
|
|||||||
cd gpt4all-backend
|
cd gpt4all-backend
|
||||||
mkdir runtimes/win-x64
|
mkdir runtimes/win-x64
|
||||||
cd runtimes/win-x64
|
cd runtimes/win-x64
|
||||||
cmake -G "MinGW Makefiles" ../..
|
cmake -G "MinGW Makefiles" -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON ../..
|
||||||
cmake --build . --parallel --config Release
|
cmake --build . --parallel --config Release
|
||||||
cp "$MinGWBin\libgcc*.dll" .
|
cp "$MinGWBin\libgcc*.dll" .
|
||||||
cp "$MinGWBin\libstdc++*.dll" .
|
cp "$MinGWBin\libstdc++*.dll" .
|
||||||
@ -488,7 +489,7 @@ jobs:
|
|||||||
cd gpt4all-backend
|
cd gpt4all-backend
|
||||||
mkdir runtimes/win-x64_msvc
|
mkdir runtimes/win-x64_msvc
|
||||||
cd runtimes/win-x64_msvc
|
cd runtimes/win-x64_msvc
|
||||||
cmake -G "Visual Studio 17 2022" -A X64 ../..
|
cmake -G "Visual Studio 17 2022" -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON -A X64 ../..
|
||||||
cmake --build . --parallel --config Release
|
cmake --build . --parallel --config Release
|
||||||
cp bin/Release/*.dll .
|
cp bin/Release/*.dll .
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
Loading…
Reference in New Issue
Block a user