mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 12:14:10 +08:00
8b8da551c1
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977>
20 lines
605 B
Bash
20 lines
605 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
GFXRECONSTRUCT_VERSION=761837794a1e57f918a85af7000b12e531b178ae
|
|
|
|
git clone https://github.com/LunarG/gfxreconstruct.git \
|
|
--single-branch \
|
|
-b master \
|
|
--no-checkout \
|
|
/gfxreconstruct
|
|
pushd /gfxreconstruct
|
|
git checkout "$GFXRECONSTRUCT_VERSION"
|
|
git submodule update --init
|
|
git submodule update
|
|
cmake -S . -B _build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/gfxreconstruct/build -DBUILD_WERROR=OFF
|
|
cmake --build _build --parallel --target tools/{replay,info}/install/strip
|
|
find . -not -path './build' -not -path './build/*' -delete
|
|
popd
|