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: |
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
$env:Path += ";C:\VulkanSDK\1.3.261.1\bin"
- run:
name: Install dependencies
command:
@ -305,7 +304,8 @@ jobs:
cd gpt4all-backend
mkdir 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
- run:
name: Build wheel

View File

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