mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-05 08:14:57 +08:00
e8246ad5f4
To be more consistent and to declutter the .gitlab-ci dir. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Michel Dänzer <mdaenzer@redhat.com> Reviewed-by: Andres Gomez <agomez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8757>
18 lines
538 B
Bash
18 lines
538 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
RENDERDOC_VERSION=da02e88201dc3b64316fc33ce6ff69cc729689aa
|
|
|
|
git clone https://github.com/baldurk/renderdoc.git --single-branch --no-checkout /renderdoc
|
|
pushd /renderdoc
|
|
git checkout "$RENDERDOC_VERSION"
|
|
cmake -S . -B _build -G Ninja -DENABLE_QRENDERDOC=false -DCMAKE_BUILD_TYPE=Release $EXTRA_CMAKE_ARGS
|
|
ninja -C _build
|
|
mkdir -p build/lib
|
|
${STRIP_CMD:-strip} _build/lib/*.so
|
|
cp _build/lib/renderdoc.so build/lib
|
|
cp _build/lib/librenderdoc.so build/lib
|
|
find . -not -path './build' -not -path './build/*' -delete
|
|
popd
|