gitlab-ci: add meson gallium SWR build
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 28 Jan 2019 17:42:59 +0000 (17:42 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 6 Feb 2019 17:56:30 +0000 (17:56 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
.gitlab-ci.yml
.gitlab-ci/Dockerfile.ubuntu
.travis.yml

index f667cfd74c067709d65cbd0532452cc7af9c2305..6a27ca9f8423020f9be32d1de4ad50dd917e33f8 100644 (file)
@@ -165,6 +165,29 @@ build:meson-loader-classic-dri:
       -D gallium-nine=false
       -D gallium-opencl=disabled
 
+# NOTE: Building SWR is 2x (yes two) times slower than all the other
+# gallium drivers combined.
+# Start this early so that it doesn't hunder the run time.
+build:meson-gallium-swr:
+  extends: .meson-build
+  variables:
+    UNWIND: "true"
+    DRI_LOADERS: >
+      -D glx=disabled
+      -D egl=false
+      -D gbm=false
+    GALLIUM_ST: >
+      -D dri3=false
+      -D gallium-vdpau=false
+      -D gallium-xvmc=false
+      -D gallium-omx=disabled
+      -D gallium-va=false
+      -D gallium-xa=false
+      -D gallium-nine=false
+      -D gallium-opencl=disabled
+    GALLIUM_DRIVERS: "swr"
+    LLVM_VERSION: "6.0"
+
 build:make-vulkan:
   extends: .make-build
   variables:
index 5a27c1502d68fa985677307b299a4ad8c66f93c4..c59a1afadc3c5c022b8ce19b88f6c9f09ff243a4 100644 (file)
@@ -32,6 +32,7 @@ RUN apt-get install -y \
       libx11-xcb-dev \
       x11proto-xf86vidmode-dev \
       libelf-dev \
+      libunwind8-dev \
       python2.7 \
       python-pip \
       python-setuptools \
index 8e2a53a89184be521d8f41daba44274005a57dd5..30bc0db9869258b43b6f2fd54b09aa174ef18d8e 100644 (file)
@@ -54,31 +54,6 @@ matrix:
             - libxfixes-dev
             - python3-pip
             - python3-setuptools
-    - env:
-        # NOTE: Building SWR is 2x (yes two) times slower than all the other
-        # gallium drivers combined.
-        # Start this early so that it doesn't hunder the run time.
-        - LABEL="meson Gallium Drivers SWR"
-        - BUILD=meson
-        - UNWIND="true"
-        - DRI_LOADERS="-Dglx=disabled -Degl=false -Dgbm=false"
-        - GALLIUM_ST="-Ddri3=false -Dgallium-vdpau=false -Dgallium-xvmc=false -Dgallium-omx=disabled -Dgallium-va=false -Dgallium-xa=false -Dgallium-nine=false -Dgallium-opencl=disabled"
-        - GALLIUM_DRIVERS="swr"
-        - LLVM_VERSION=6.0
-        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
-      addons:
-        apt:
-          packages:
-            - llvm-6.0-dev
-            # Common
-            - xz-utils
-            - libexpat1-dev
-            - libx11-xcb-dev
-            - libelf-dev
-            - libunwind8-dev
-            - python3.5
-            - python3-pip
-            - python3-setuptools
     - env:
         - LABEL="meson Gallium Drivers RadeonSI"
         - BUILD=meson