From: Eric Engestrom Date: Wed, 25 Sep 2019 19:18:27 +0000 (+0100) Subject: gitlab-ci: build a recent enough version of GLVND (ie. 1.2.0) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b58ab803d6f8db70fe8d5431d0c3628b8ea186b;p=mesa.git gitlab-ci: build a recent enough version of GLVND (ie. 1.2.0) Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index becc1c18da6..723ccb9889a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ # repository's registry will be used there as well. variables: UPSTREAM_REPO: mesa/mesa - DEBIAN_TAG: "2019-10-29" + DEBIAN_TAG: "2019-10-30" DEBIAN_ARM64_TAG: "arm64v8-2019-10-23" STRETCH_TAG: "2019-09-18" DEBIAN_VERSION: buster-slim diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh index 100e02dcf30..b04357903c4 100644 --- a/.gitlab-ci/debian-install.sh +++ b/.gitlab-ci/debian-install.sh @@ -58,7 +58,13 @@ apt-get install -y --no-remove \ libx11-xcb-dev \ libelf-dev \ libunwind-dev \ - libglvnd-dev \ + autoconf \ + automake \ + autotools-dev \ + libtool \ + libxext-dev \ + libx11-dev \ + x11proto-gl-dev \ libgtk-3-dev \ libpng-dev \ libgbm-dev \ @@ -197,6 +203,17 @@ tar -xvf $WAYLAND_PROTOCOLS_VERSION.tar.xz && rm $WAYLAND_PROTOCOLS_VERSION.tar. cd $WAYLAND_PROTOCOLS_VERSION; ./configure; make install; cd .. rm -rf $WAYLAND_PROTOCOLS_VERSION + +# The version of libglvnd-dev in debian is too old +# Check this page to see when this local compilation can be dropped in favour of the package: +# https://packages.debian.org/libglvnd-dev +GLVND_VERSION=1.2.0 +wget https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v$GLVND_VERSION/libglvnd-v$GLVND_VERSION.tar.gz +tar -xvf libglvnd-v$GLVND_VERSION.tar.gz && rm libglvnd-v$GLVND_VERSION.tar.gz +pushd libglvnd-v$GLVND_VERSION; ./autogen.sh; ./configure; make install; popd +rm -rf libglvnd-v$GLVND_VERSION + + pushd /usr/local git clone https://gitlab.freedesktop.org/mesa/shader-db.git --depth 1 rm -rf shader-db/.git @@ -279,6 +296,11 @@ apt-get purge -y \ unzip \ cmake \ git \ + autoconf \ + automake \ + autotools-dev \ + libtool \ + x11proto-gl-dev \ libgles2-mesa-dev \ libgbm-dev