Updated to work with newer version of shaderc

This commit is contained in:
2022-05-27 17:11:31 +02:00
parent 87667f0618
commit 6729ad02e3
4 changed files with 41 additions and 9 deletions

View File

@@ -6,3 +6,15 @@ echo deb https://apt.llvm.org/bullseye llvm-toolchain-bullseye-14 main >/etc/apt
apt install llvm-14-tools clang build-essential cmake git \
llvm-14-dev libboost-log-dev spirv-headers spirv-tools
```
Clone the source, then in the source dir:
```shell
git submodule update --init vendor/shaderc
vendor/shaderc/utils/git-sync-deps
mkdir build
cd build
cmake -DCMAKE_BUILD_PROFILE=Release ..
# Note: just running `make` will fail with a link error in render_stub.c; ignore this.
make bluebell
```