1#!/bin/bash 2 3set -ex 4 5GFXRECONSTRUCT_VERSION=5ed3caeecc46e976c4df31e263df8451ae176c26 6 7git clone https://github.com/LunarG/gfxreconstruct.git \ 8 --single-branch \ 9 -b master \ 10 --no-checkout \ 11 /gfxreconstruct 12pushd /gfxreconstruct 13git checkout "$GFXRECONSTRUCT_VERSION" 14git submodule update --init 15git submodule update 16cmake -S . -B _build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/gfxreconstruct/build -DBUILD_WERROR=OFF 17cmake --build _build --parallel --target tools/{replay,info}/install/strip 18find . -not -path './build' -not -path './build/*' -delete 19popd 20