From 85e34598f956d52771c052c20105406fc73d3d8f Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Thu, 31 Aug 2023 14:18:31 -0400 Subject: [PATCH] more circleci --- .circleci/continue_config.yml | 4 ++-- gpt4all-backend/CMakeLists.txt | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index 9ddf57c9..4d950032 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -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 diff --git a/gpt4all-backend/CMakeLists.txt b/gpt4all-backend/CMakeLists.txt index 392240cf..840bce67 100644 --- a/gpt4all-backend/CMakeLists.txt +++ b/gpt4all-backend/CMakeLists.txt @@ -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)