mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 23:41:13 +00:00
b0df97b576
This causes a lot of hiccups on the CL tests, but I've got most of them fixed in another MR in pieces. This should at least give a much more realistic baseline. v2: use script in both places Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7073>
15 lines
321 B
Bash
15 lines
321 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
git clone --depth 1 https://github.com/KhronosGroup/SPIRV-Tools SPIRV-Tools
|
|
pushd SPIRV-Tools
|
|
pushd external
|
|
git clone --depth 1 https://github.com/KhronosGroup/SPIRV-Headers
|
|
popd
|
|
cmake -G Ninja -B_build -H. -DCMAKE_BUILD_TYPE=Release
|
|
ninja -C _build
|
|
ninja -C _build install
|
|
popd
|
|
rm -rf SPIRV-Tools
|