21 lines
634 B
Markdown
21 lines
634 B
Markdown
Installing on RPi (3 or 4):
|
|
|
|
```shell
|
|
curl https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
|
|
echo deb https://apt.llvm.org/bullseye llvm-toolchain-bullseye-14 main >/etc/apt/sources.list.d/llvm14.list
|
|
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
|
|
```
|