ci: make sure all lava-builders have libvulkan
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 9 Feb 2021 17:28:17 +0000 (18:28 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 10 Feb 2021 16:14:02 +0000 (17:14 +0100)
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>

.gitlab-ci.yml
.gitlab-ci/container/baremetal_build.sh
.gitlab-ci/container/create-rootfs.sh
.gitlab-ci/lava-gitlab-ci.yml

index 57bdce6..ea3ccd4 100644 (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:
index e3a4b24..b3f5cb0 100644 (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
 
index 72cdae2..0e13dc3 100644 (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 \
index 6fbd96e..1322e1e 100644 (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