From c953b321b7fb0d2c99e85290cb81a6e9a6b79b6e Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Tue, 12 Sep 2023 14:26:33 -0400 Subject: [PATCH] Don't link against libvulkan. --- gpt4all-backend/llama.cpp-mainline | 2 +- gpt4all-backend/llama.cpp.cmake | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gpt4all-backend/llama.cpp-mainline b/gpt4all-backend/llama.cpp-mainline index a2ad58e3..0412ec28 160000 --- a/gpt4all-backend/llama.cpp-mainline +++ b/gpt4all-backend/llama.cpp-mainline @@ -1 +1 @@ -Subproject commit a2ad58e3cb1037cfe0f582b07b22450ad8bf06a7 +Subproject commit 0412ec287ccc648bf691f3309546d69dca18ae8c diff --git a/gpt4all-backend/llama.cpp.cmake b/gpt4all-backend/llama.cpp.cmake index a99b14ee..aa6c6d54 100644 --- a/gpt4all-backend/llama.cpp.cmake +++ b/gpt4all-backend/llama.cpp.cmake @@ -154,6 +154,7 @@ if (LLAMA_OPENBLAS) endif() if (LLAMA_KOMPUTE) + add_compile_definitions(VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1) find_package(Vulkan COMPONENTS glslc REQUIRED) find_program(glslc_executable NAMES glslc HINTS Vulkan::glslc) if (NOT glslc_executable)