more circleci

This commit is contained in:
Adam Treat 2023-08-31 14:18:31 -04:00
parent 9f1cbad4f1
commit 85e34598f9
2 changed files with 5 additions and 3 deletions

View File

@ -289,7 +289,6 @@ jobs:
command: | command: |
Invoke-WebRequest -Uri https://sdk.lunarg.com/sdk/download/1.3.261.1/windows/VulkanSDK-1.3.261.1-Installer.exe -OutFile VulkanSDK-1.3.261.1-Installer.exe Invoke-WebRequest -Uri https://sdk.lunarg.com/sdk/download/1.3.261.1/windows/VulkanSDK-1.3.261.1-Installer.exe -OutFile VulkanSDK-1.3.261.1-Installer.exe
.\VulkanSDK-1.3.261.1-Installer.exe --accept-licenses --default-answer --confirm-command install .\VulkanSDK-1.3.261.1-Installer.exe --accept-licenses --default-answer --confirm-command install
$env:Path += ";C:\VulkanSDK\1.3.261.1\bin"
- run: - run:
name: Install dependencies name: Install dependencies
command: command:
@ -305,7 +304,8 @@ jobs:
cd gpt4all-backend cd gpt4all-backend
mkdir build mkdir build
cd build cd build
cmake -G "MinGW Makefiles" .. $env:Path += ";C:\VulkanSDK\1.3.261.1\bin"
cmake -G "MinGW Makefiles" .. -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON
cmake --build . --parallel cmake --build . --parallel
- run: - run:
name: Build wheel name: Build wheel

View File

@ -39,7 +39,9 @@ else()
message(STATUS "Interprocedural optimization support detected") message(STATUS "Interprocedural optimization support detected")
endif() endif()
set(LLAMA_KOMPUTE YES) if(NOT APPLE)
set(LLAMA_KOMPUTE YES)
endif()
include(llama.cpp.cmake) include(llama.cpp.cmake)