Open bandoti opened 3 days ago
The ubuntu-22-cmake-vulkan
build is failing due to missing glslc
executable. Looks like there's a couple ways to get the dependency on Ubuntu.
It's worth noting here that this will add glslc
as a dependency on top of the Vulkan libs for anyone wishing to build this from scratch. This pretty much makes the Vulkan SDK a requirement unless they can get glslc
from somewhere else.
I agree the Vulkan SDK is somewhat heavy dependency and pulls in lots of graphics-related dependencies. For Arch and MSYS2 there are the vulkan-devel
and shaderc
packages. There appears to be similar packages for Ubuntu (newer than v 22) though I haven't been able to test those.
I have completed all the required code changes including fixes from source refactor in master branch. So please feel free to begin review now! :)
This change introduces a
make
andCMake
build target for Vulkan shaders per #5356. This ensuresggml-vulkan-shaders.hpp
is generated at build time (instead of storing in SCM). In addition,ggml-vulkan-shaders.cpp
is added to move compiled shaders into its own translation unit.In addition, this change updates the relocatable CMake package to link against the new
ggml
library.