From 87d2d3e442d5b775ef750c3f61c8e3e8f9e37733 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 17 Nov 2025 19:29:53 +0200 Subject: [PATCH] gitlab-ci: Build mesa without GLX And implicitly remove the need to build autoconf and libx11. Removed wget and xutils-dev as those are not needed anymore. Signed-off-by: Marius Vlad --- .gitlab-ci.yml | 2 +- .gitlab-ci/build-deps.sh | 23 +---------------------- .gitlab-ci/debian-install.sh | 4 ---- 3 files changed, 2 insertions(+), 27 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ebcc2206c..342c12323 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,7 +43,7 @@ variables: FDO_UPSTREAM_REPO: wayland/weston FDO_REPO_SUFFIX: "$BUILD_OS-$FDO_DISTRIBUTION_VERSION/$BUILD_ARCH" - FDO_DISTRIBUTION_TAG: '2025-11-17-mesa-25.3.0' + FDO_DISTRIBUTION_TAG: '2025-11-17-remove-autoconf' include: diff --git a/.gitlab-ci/build-deps.sh b/.gitlab-ci/build-deps.sh index 8bd3bddf6..159cdcc41 100755 --- a/.gitlab-ci/build-deps.sh +++ b/.gitlab-ci/build-deps.sh @@ -159,27 +159,6 @@ fdo_log_section_end install_vulkan_headers # please be prepared for some of the tests to change output, which will need to # be manually inspected for correctness. fdo_log_section_start_collapsed install_mesa "install_mesa" -wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.72.tar.xz -tar -xJf autoconf-2.72.tar.xz -cd autoconf-2.72 -./configure -make -make install -cd .. -rm -rf autoconf-2.72* - -# Mesa >= 25.2 depends on libX11 >= 1.8, which is not available in the Debian -# LTS images. -git clone --branch libX11-1.8.12 --depth=1 https://gitlab.freedesktop.org/xorg/lib/libx11.git -cd libx11 -autoreconf -ivf -mkdir _builddir -cd _builddir -../configure --disable-silent-rules --enable-specs -make ${MAKEFLAGS} -make install -cd ../.. -rm -rf libx11 # Needed for Mesa >= 25.3 git clone --branch 12.2.0 --depth=1 https://github.com/KhronosGroup/glslang @@ -195,7 +174,7 @@ cd mesa meson setup build --wrap-mode=nofallback -Dauto_features=disabled \ -Dgallium-drivers=llvmpipe -Dvulkan-drivers=swrast -Dvideo-codecs= \ -Degl=enabled -Dgbm=enabled -Dgles2=enabled -Dllvm=enabled \ - -Dshared-glapi=enabled + -Dshared-glapi=enabled -Dglx=disabled ninja ${NINJAFLAGS} -C build install cd .. rm -rf mesa diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh index 02b6e9a29..ad143d1b8 100644 --- a/.gitlab-ci/debian-install.sh +++ b/.gitlab-ci/debian-install.sh @@ -29,12 +29,8 @@ MESA_DEV_PKGS=" # These get temporarily installed for other build dependencies and then # force-removed. # cmake is used by Vulkan-Headers -# wget is used by autoconf -# xutils-dev is used by libX11 BUILD_DEV_PKGS=" cmake - wget - xutils-dev " # Needed for running the custom-built mesa