gitlab-ci: Enable llvmpipe in ARM build jobs
authorMichel Dänzer <mdaenzer@redhat.com>
Tue, 8 Oct 2019 17:48:41 +0000 (19:48 +0200)
committerMichel Dänzer <michel@daenzer.net>
Tue, 22 Oct 2019 10:26:29 +0000 (10:26 +0000)
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@intel.com>
.gitlab-ci.yml
.gitlab-ci/debian-arm64-install.sh

index 7cde2945b58f7fbdcf7a60f86091769b71901296..d534345a4d386c793c43664276fb64b503d2c4e8 100644 (file)
@@ -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:
index 1dac7b995930c3520ac74f67e6a75341471c9b37..40edd783a30170a871a800542bec4c4a3cc5af9c 100644 (file)
@@ -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 \