Dave Airlie | b0df97b | 2020-10-09 12:07:31 +1000 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | set -ex | ||||
4 | |||||
5 | git clone --depth 1 https://github.com/KhronosGroup/SPIRV-Tools SPIRV-Tools | ||||
6 | pushd SPIRV-Tools | ||||
7 | pushd external | ||||
8 | git clone --depth 1 https://github.com/KhronosGroup/SPIRV-Headers | ||||
9 | popd | ||||
10 | cmake -G Ninja -B_build -H. -DCMAKE_BUILD_TYPE=Release | ||||
11 | ninja -C _build | ||||
12 | ninja -C _build install | ||||
13 | popd | ||||
14 | rm -rf SPIRV-Tools |