gitlab-ci: only build the default (=latest) and oldest llvm versions
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 6 Mar 2019 17:59:03 +0000 (17:59 +0000)
committerEric Engestrom <eric@engestrom.ch>
Fri, 8 Mar 2019 15:59:27 +0000 (15:59 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
.gitlab-ci.yml
.gitlab-ci/Dockerfile.ubuntu

index 7d6d6bdc4510b680063b95f52ebd95e43793f075..19f531975983442f4ce9147b433c27748c79ea4b 100644 (file)
@@ -270,7 +270,7 @@ meson-gallium-drivers-other:
     GALLIUM_DRIVERS: "i915,iris,nouveau,kmsro,r300,r600,freedreno,svga,swrast,v3d,vc4,virgl,etnaviv"
     LLVM_VERSION: "5.0"
 
-meson-gallium-clover-llvm5:
+meson-gallium-clover-llvm:
   extends: .meson-build
   variables:
     UNWIND: "true"
@@ -287,19 +287,13 @@ meson-gallium-clover-llvm5:
       -D gallium-xa=false
       -D gallium-nine=false
       -D gallium-opencl=icd
-    GALLIUM_DRIVERS: "r600"
-    LLVM_VERSION: "5.0"
-
-meson-gallium-clover-llvm6:
-  extends: meson-gallium-clover-llvm5
-  variables:
-    LLVM_VERSION: "6.0"
+    GALLIUM_DRIVERS: "r600,radeonsi"
 
-meson-gallium-clover-llvm7:
-  extends: meson-gallium-clover-llvm5
+meson-gallium-clover-llvm39:
+  extends: meson-gallium-clover-llvm
   variables:
-    GALLIUM_DRIVERS: "r600,radeonsi"
-    LLVM_VERSION: "7"
+    GALLIUM_DRIVERS: "r600"
+    LLVM_VERSION: "3.9"
 
 meson-gallium-st-other:
   extends: .meson-build
@@ -407,11 +401,10 @@ make-gallium-drivers-other:
     LLVM_VERSION: "3.9"
     GALLIUM_DRIVERS: "i915,nouveau,kmsro,r300,r600,freedreno,svga,swrast,v3d,vc4,virgl,etnaviv"
 
-make-gallium-st-clover-llvm-39:
+make-gallium-st-clover-llvm:
   extends: .make-build
   variables:
     MAKE_CHECK_COMMAND: "true"
-    LLVM_VERSION: "3.9"
     DRI_LOADERS: >
       --disable-glx
       --disable-gbm
@@ -428,29 +421,14 @@ make-gallium-st-clover-llvm-39:
       --disable-va
       --disable-omx-bellagio
       --disable-gallium-osmesa
-    GALLIUM_DRIVERS: "r600"
     LIBUNWIND_FLAGS: --enable-libunwind
+    GALLIUM_DRIVERS: "r600,radeonsi"
 
-make-gallium-st-clover-llvm-4:
-  extends: make-gallium-st-clover-llvm-39
-  variables:
-    LLVM_VERSION: "4.0"
-
-make-gallium-st-clover-llvm-5:
-  extends: make-gallium-st-clover-llvm-39
-  variables:
-    LLVM_VERSION: "5.0"
-
-make-gallium-st-clover-llvm-6:
-  extends: make-gallium-st-clover-llvm-39
-  variables:
-    LLVM_VERSION: "6.0"
-
-make-gallium-st-clover-llvm-7:
-  extends: make-gallium-st-clover-llvm-39
+make-gallium-st-clover-llvm-39:
+  extends: make-gallium-st-clover-llvm
   variables:
-    LLVM_VERSION: "7"
-    GALLIUM_DRIVERS: "r600,radeonsi"
+    LLVM_VERSION: "3.9"
+    GALLIUM_DRIVERS: "r600"
 
 make-gallium-st-other:
   extends: .make-build
index 83ab85d6f899899e0f8ae6517d6a36af11004769..2d59882b9e7554ef3e5ec922ffdf737b8b78a47a 100644 (file)
@@ -25,8 +25,6 @@ RUN apt-get install -y \
       libva-dev \
       llvm-3.9-dev \
       libclang-3.9-dev \
-      llvm-4.0-dev \
-      libclang-4.0-dev \
       llvm-5.0-dev \
       llvm-6.0-dev \
       llvm-7-dev \