ci: make sure all lava-builders have libvulkan

In the next commit, we'll start building Zink in the meson-testing step,
and because mega-drivers end up stuffing all dependencies in the same
shared-object, we end up requiring libvulkan for other drivers as well.

So let's no longer track separately who needs vulkan and who doesn't,
and just always install it.

Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8879>
This commit is contained in:
Erik Faye-Lund 2021-02-09 18:28:17 +01:00
parent c7725ad4aa
commit ef36de243c
4 changed files with 5 additions and 8 deletions

View File

@ -450,7 +450,7 @@ arm64_test:
extends:
- .use-arm_test-base
variables:
MESA_IMAGE_TAG: &arm64_test "2021-02-08-container-reorg"
MESA_IMAGE_TAG: &arm64_test "2021-02-10-zink"
.use-arm64_test:
extends:
@ -467,7 +467,7 @@ armhf_test:
extends:
- .use-arm_test-base
variables:
MESA_IMAGE_TAG: &armhf_test "2021-02-08-container-reorg"
MESA_IMAGE_TAG: &armhf_test "2021-02-10-zink"
.use-armhf_test:
extends:

View File

@ -54,7 +54,7 @@ mkdir /var/cache/apt/archives/$arch
############### Create rootfs
KERNEL_URL=https://github.com/anholt/linux/archive/mesa-ci-2021-01-27-5.11rc5.tar.gz
DEBIAN_ARCH=$arch INCLUDE_VK_CTS=1 . .gitlab-ci/container/lava_build.sh
DEBIAN_ARCH=$arch . .gitlab-ci/container/lava_build.sh
############### Uninstall the build software

View File

@ -17,10 +17,6 @@ elif [ $DEBIAN_ARCH = amd64 ]; then
"
fi
if [ -n "$INCLUDE_VK_CTS" ]; then
VK_CTS_PACKAGES="libvulkan1"
fi
if [ -n "$INCLUDE_PIGLIT" ]; then
PIGLIT_PACKAGES="libwaffle-1-0
libxkbcommon0
@ -50,6 +46,7 @@ apt-get -y install --no-install-recommends \
libpng16-16 \
libpython3.7 \
libsensors5 \
libvulkan1 \
libwaffle-1-0 \
libx11-6 \
libx11-xcb1 \

View File

@ -1,5 +1,5 @@
variables:
MESA_LAVA_TAG: "2021-02-08-subdir-move"
MESA_LAVA_TAG: "2021-02-10-zink"
.kernel+rootfs:
stage: container-2