From: Eric Engestrom Date: Mon, 28 Jan 2019 17:42:59 +0000 (+0000) Subject: gitlab-ci: add meson gallium SWR build X-Git-Tag: upstream/19.3.0~9994 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=360c814bfe5bec0cc41c86887768a2c876fb5e6a;p=platform%2Fupstream%2Fmesa.git gitlab-ci: add meson gallium SWR build Signed-off-by: Eric Engestrom --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f667cfd..6a27ca9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/.gitlab-ci/Dockerfile.ubuntu b/.gitlab-ci/Dockerfile.ubuntu index 5a27c15..c59a1af 100644 --- a/.gitlab-ci/Dockerfile.ubuntu +++ b/.gitlab-ci/Dockerfile.ubuntu @@ -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 \ diff --git a/.travis.yml b/.travis.yml index 8e2a53a..30bc0db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,31 +55,6 @@ matrix: - 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 - UNWIND="true"