Mesa (master): gitlab-ci: Enable llvmpipe in ARM build jobs

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Oct 22 11:06:19 UTC 2019


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

Author: Michel Dänzer <mdaenzer at redhat.com>
Date:   Tue Oct  8 19:48:41 2019 +0200

gitlab-ci: Enable llvmpipe in ARM build jobs

v2:
* Use LLVM 8 from buster-backports
v3:
* Use LLVM 7 again for armhf, llvmpipe is still broken there with LLVM 8

Acked-by: Eric Engestrom <eric.engestrom at intel.com>

---

 .gitlab-ci.yml                     | 4 ++--
 .gitlab-ci/debian-arm64-install.sh | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7cde2945b58..d534345a4d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -202,14 +202,13 @@ meson-main:
       -D gallium-va=false
       -D gallium-xa=false
       -D gallium-nine=false
-      -D llvm=false
 
 .meson-arm:
   extends: .meson-cross
   image: $DEBIAN_ARM64_IMAGE
   variables:
     VULKAN_DRIVERS: freedreno
-    GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,tegra,v3d,vc4"
+    GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
     EXTRA_OPTION: >
       -D I-love-half-baked-turnips=true
   needs:
@@ -221,6 +220,7 @@ meson-armhf:
   extends: .meson-arm
   variables:
     CROSS: armhf
+    LLVM_VERSION: "7"
 
 meson-arm64:
   extends:
diff --git a/.gitlab-ci/debian-arm64-install.sh b/.gitlab-ci/debian-arm64-install.sh
index 1dac7b99593..40edd783a30 100644
--- a/.gitlab-ci/debian-arm64-install.sh
+++ b/.gitlab-ci/debian-arm64-install.sh
@@ -6,6 +6,7 @@ set -o xtrace
 ############### Install packages for building
 apt-get -y install ca-certificates
 sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
+echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list
 dpkg --add-architecture armhf
 apt-get update
 apt-get -y install \
@@ -30,6 +31,8 @@ apt-get -y install \
 	libgles2-mesa-dev \
 	libpng-dev \
 	libssl-dev \
+	llvm-7-dev:armhf \
+	llvm-8-dev \
 	meson \
 	ninja-build \
 	pkg-config \




More information about the mesa-commit mailing list