gitlab-ci: build gfxreconstruct from the "dev" branch
We want to use the fix for https://github.com/LunarG/gfxreconstruct/issues/328 while it is yet not available in the "master" branch. Additionally, we get the gfxreconstruct-info tool as an extra. Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5890>
This commit is contained in:
@@ -299,7 +299,7 @@ x86_test-gl:
|
|||||||
x86_test-vk:
|
x86_test-vk:
|
||||||
extends: .use-x86_test-base
|
extends: .use-x86_test-base
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-07-21-tracie"
|
FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-07-21-gfxreconstruct-dev"
|
||||||
|
|
||||||
# Debian 9 based x86 build image (old LLVM)
|
# Debian 9 based x86 build image (old LLVM)
|
||||||
x86_build_old:
|
x86_build_old:
|
||||||
|
@@ -2,18 +2,20 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
# https://github.com/LunarG/gfxreconstruct/issues/328
|
GFXRECONSTRUCT_VERSION=57c588c04af631d1d6d381a48e2b9283f9d9d528
|
||||||
GFXRECONSTRUCT_VERSION=b66cd392a84b226cb60ad9d4130ddeb58a1559cb
|
|
||||||
|
|
||||||
git clone https://github.com/LunarG/gfxreconstruct.git --single-branch --no-checkout /gfxreconstruct
|
# Using the "dev" branch by now because it solves a crash and will allow us to
|
||||||
|
# use the gfxreconstruct-info tool
|
||||||
|
git clone https://github.com/LunarG/gfxreconstruct.git --single-branch -b dev --no-checkout /gfxreconstruct
|
||||||
pushd /gfxreconstruct
|
pushd /gfxreconstruct
|
||||||
git checkout "$GFXRECONSTRUCT_VERSION"
|
git checkout "$GFXRECONSTRUCT_VERSION"
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
git submodule update
|
git submodule update
|
||||||
cmake -G Ninja -B_build -H. -DCMAKE_BUILD_TYPE=Release
|
cmake -G Ninja -B_build -H. -DCMAKE_BUILD_TYPE=Release
|
||||||
ninja -C _build gfxrecon-replay
|
ninja -C _build gfxrecon-replay gfxrecon-info
|
||||||
mkdir -p build/bin
|
mkdir -p build/bin
|
||||||
install _build/tools/replay/gfxrecon-replay build/bin
|
install _build/tools/replay/gfxrecon-replay build/bin
|
||||||
|
install _build/tools/info/gfxrecon-info build/bin
|
||||||
strip build/bin/*
|
strip build/bin/*
|
||||||
find . -not -path './build' -not -path './build/*' -delete
|
find . -not -path './build' -not -path './build/*' -delete
|
||||||
popd
|
popd
|
||||||
|
@@ -16,10 +16,10 @@ STABLE_EPHEMERAL=" \
|
|||||||
libpng-dev \
|
libpng-dev \
|
||||||
libvulkan-dev \
|
libvulkan-dev \
|
||||||
libxcb-ewmh-dev \
|
libxcb-ewmh-dev \
|
||||||
libxcb-keysyms1-dev \
|
|
||||||
libxkbcommon-dev \
|
libxkbcommon-dev \
|
||||||
libxrandr-dev \
|
libxrandr-dev \
|
||||||
libxrender-dev \
|
libxrender-dev \
|
||||||
|
libzstd-dev \
|
||||||
meson \
|
meson \
|
||||||
p7zip \
|
p7zip \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
@@ -27,7 +27,13 @@ STABLE_EPHEMERAL=" \
|
|||||||
wget \
|
wget \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
# Unfortunately, gfxreconstruct needs the -dev packages:
|
||||||
|
# https://github.com/LunarG/gfxreconstruct/issues/402
|
||||||
apt-get install -y --no-remove \
|
apt-get install -y --no-remove \
|
||||||
|
libwayland-dev \
|
||||||
|
libx11-xcb-dev \
|
||||||
|
libxcb-keysyms1-dev \
|
||||||
|
libxcb1-dev \
|
||||||
$STABLE_EPHEMERAL
|
$STABLE_EPHEMERAL
|
||||||
|
|
||||||
# We need multiarch for Wine
|
# We need multiarch for Wine
|
||||||
|
Reference in New Issue
Block a user