File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ option(GGML_OPENCL_EMBED_KERNELS "ggml: embed kernels"
186186option (GGML_OPENCL_USE_ADRENO_KERNELS "ggml: use optimized kernels for Adreno" ON )
187187
188188# toolchain for vulkan-shaders-gen
189- set (GGML_SHADERS_GEN_TOOLCHAIN "" CACHE FILEPATH "ggml: toolchain file for vulkan-shaders-gen" )
189+ set (GGML_VULKAN_SHADERS_GEN_TOOLCHAIN "" CACHE FILEPATH "ggml: toolchain file for vulkan-shaders-gen" )
190190
191191# extra artifacts
192192option (GGML_BUILD_TESTS "ggml: build tests" ${GGML_STANDALONE} )
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ if (Vulkan_FOUND)
9898 endforeach ()
9999 endif ()
100100 else ()
101- if (GGML_SHADERS_GEN_TOOLCHAIN )
102- set (HOST_CMAKE_TOOLCHAIN_FILE ${GGML_SHADERS_GEN_TOOLCHAIN } )
101+ if (GGML_VULKAN_SHADERS_GEN_TOOLCHAIN )
102+ set (HOST_CMAKE_TOOLCHAIN_FILE ${GGML_VULKAN_SHADERS_GEN_TOOLCHAIN } )
103103 else ()
104104 detect_host_compiler()
105105 if (NOT HOST_C_COMPILER OR NOT HOST_CXX_COMPILER)
You can’t perform that action at this time.
0 commit comments