egl: fix _eglMatchDriver() return type
[mesa.git] / .gitlab-ci / build-gfxreconstruct.sh
1 #!/bin/bash
2
3 set -ex
4
5 GFXRECONSTRUCT_VERSION=57c588c04af631d1d6d381a48e2b9283f9d9d528
6
7 # Using the "dev" branch by now because it solves a crash and will allow us to
8 # use the gfxreconstruct-info tool
9 git clone https://github.com/LunarG/gfxreconstruct.git --single-branch -b dev --no-checkout /gfxreconstruct
10 pushd /gfxreconstruct
11 git checkout "$GFXRECONSTRUCT_VERSION"
12 git submodule update --init
13 git submodule update
14 cmake -G Ninja -B_build -H. -DCMAKE_BUILD_TYPE=Release
15 ninja -C _build gfxrecon-replay gfxrecon-info
16 mkdir -p build/bin
17 install _build/tools/replay/gfxrecon-replay build/bin
18 install _build/tools/info/gfxrecon-info build/bin
19 strip build/bin/*
20 find . -not -path './build' -not -path './build/*' -delete
21 popd