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