Mesa (master): ci: Add a few more drivers to the cross builds

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jan 10 21:34:07 UTC 2021


Module: Mesa
Branch: master
Commit: 55ccc9eca5216f860777a8b6d746cb6fbfe32d42
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=55ccc9eca5216f860777a8b6d746cb6fbfe32d42

Author: Adam Jackson <ajax at redhat.com>
Date:   Fri Jan  8 10:10:53 2021 -0500

ci: Add a few more drivers to the cross builds

This is mostly to get additional -Werror coverage to avoid introducing
unforced ILP32 or big-endian errors. i386 adds lavapipe, r600, nouveau,
zink, and all the classic drivers. ppc64le adds lavapipe and zink, and
also adds -Werror for symmetry with the other cross builds. s390x also
adds lavapipe and zink.

Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8394>

---

 .gitlab-ci.yml                        | 23 +++++++++++++----------
 .gitlab-ci/container/cross_build.sh   |  1 +
 .gitlab-ci/container/ppc64el_build.sh |  3 ---
 3 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 74abe0efb20..7a373214419 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -260,7 +260,7 @@ x86_build-base:
     - .fdo.container-build at debian
     - .container
   variables:
-    MESA_IMAGE_TAG: &x86_build-base "2020-12-17-use-ephemeral"
+    MESA_IMAGE_TAG: &x86_build-base "2021-01-08-more-vulkan-cross"
 
 .use-x86_build-base:
   extends:
@@ -291,7 +291,7 @@ i386_build:
   extends:
     - .use-x86_build-base
   variables:
-    MESA_IMAGE_TAG: &i386_build "2020-12-23-opengl"
+    MESA_IMAGE_TAG: &i386_build "2021-01-08-more-vulkan-cross"
 
 .use-i386_build:
   variables:
@@ -305,7 +305,7 @@ ppc64el_build:
   extends:
     - .use-x86_build-base
   variables:
-    MESA_IMAGE_TAG: &ppc64el_build "2020-12-23-opengl"
+    MESA_IMAGE_TAG: &ppc64el_build "2021-01-08-more-vulkan-cross"
 
 .use-ppc64el_build:
   variables:
@@ -319,7 +319,7 @@ s390x_build:
   extends:
     - .use-x86_build-base
   variables:
-    MESA_IMAGE_TAG: &s390x_build "2020-12-23-opengl"
+    MESA_IMAGE_TAG: &s390x_build "2021-01-08-more-vulkan-cross"
 
 .use-s390x_build:
   variables:
@@ -915,8 +915,9 @@ meson-i386:
     - .use-i386_build
   variables:
     CROSS: i386
-    VULKAN_DRIVERS: intel,amd
-    GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
+    VULKAN_DRIVERS: intel,amd,swrast
+    GALLIUM_DRIVERS: "iris,nouveau,r300,r600,radeonsi,swrast,virgl,zink"
+    DRI_DRIVERS: "i915,i965,r100,r200,nouveau"
     EXTRA_OPTION: >
       -D vulkan-overlay-layer=true
       -D vulkan-device-select-layer=true
@@ -932,7 +933,8 @@ meson-s390x:
     CROSS: s390x
     EXTRA_OPTION: >
       -D werror=true
-    GALLIUM_DRIVERS: "swrast"
+    GALLIUM_DRIVERS: "swrast,zink"
+    VULKAN_DRIVERS: "swrast"
 
 meson-ppc64el:
   extends:
@@ -940,9 +942,10 @@ meson-ppc64el:
     - .use-ppc64el_build
   variables:
     CROSS: ppc64el
-    EXTRA_OPTION: ""
-    GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
-    VULKAN_DRIVERS: "amd"
+    EXTRA_OPTION: >
+      -D werror=true
+    GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl,zink"
+    VULKAN_DRIVERS: "amd,swrast"
 
 meson-mingw32-x86_64:
   extends: .meson-build
diff --git a/.gitlab-ci/container/cross_build.sh b/.gitlab-ci/container/cross_build.sh
index ed3a188ec61..8d74cf23e41 100644
--- a/.gitlab-ci/container/cross_build.sh
+++ b/.gitlab-ci/container/cross_build.sh
@@ -21,6 +21,7 @@ apt-get install -y --no-remove \
         libffi-dev:$arch \
         libstdc++6:$arch \
         libtinfo-dev:$arch \
+        libvulkan-dev:$arch \
         libx11-dev:$arch \
         libx11-xcb-dev:$arch \
         libxcb-dri2-0-dev:$arch \
diff --git a/.gitlab-ci/container/ppc64el_build.sh b/.gitlab-ci/container/ppc64el_build.sh
index 3519192e8ea..6c8b2282a5c 100644
--- a/.gitlab-ci/container/ppc64el_build.sh
+++ b/.gitlab-ci/container/ppc64el_build.sh
@@ -3,6 +3,3 @@
 arch=ppc64el
 
 . .gitlab-ci/container/cross_build.sh
-
-apt-get install -y --no-remove \
-        libvulkan-dev:$arch



More information about the mesa-commit mailing list