diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bdbc7474f..2097c4d21 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,7 +43,7 @@ variables: FDO_UPSTREAM_REPO: wayland/weston FDO_REPO_SUFFIX: "$BUILD_OS/$BUILD_ARCH" - FDO_DISTRIBUTION_TAG: '2023-04-28-add-libdisplay-info.4' + FDO_DISTRIBUTION_TAG: '2023-06-12-kernel-mesa-upgrade-2' include: diff --git a/.gitlab-ci/build-deps.sh b/.gitlab-ci/build-deps.sh index 1f873a7b9..fb9557baf 100755 --- a/.gitlab-ci/build-deps.sh +++ b/.gitlab-ci/build-deps.sh @@ -58,7 +58,7 @@ pip3 install $PIP_ARGS sphinx_rtd_theme==1.0.0 # The fork pulls in this support from the original GitHub PR, rebased on top of # a newer upstream version which fixes AArch64 support. if [[ -n "$KERNEL_DEFCONFIG" ]]; then - git clone --depth=1 --branch=v5.14 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux + git clone --depth=1 --branch=v6.3 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux cd linux if [[ "${BUILD_ARCH}" = "x86-64" ]]; then @@ -125,6 +125,17 @@ ninja ${NINJAFLAGS} -C build install cd .. rm -rf wayland-protocols +# Build and install our own version of libdrm. Debian 11 (bullseye) provides +# libdrm 2.4.104 which doesn't have the IN_FORMATS iterator api, and Mesa +# depends on 2.4.109 as well. +git clone --branch libdrm-2.4.109 --depth=1 https://gitlab.freedesktop.org/mesa/drm.git +cd drm +meson build --wrap-mode=nofallback -Dauto_features=disabled \ + -Dvc4=false -Dfreedreno=false -Detnaviv=false +ninja ${NINJAFLAGS} -C build install +cd .. +rm -rf drm + # Build and install our own version of Mesa. Debian provides a perfectly usable # Mesa, however llvmpipe's rendering behaviour can change subtly over time. # This doesn't work for our tests which expect pixel-precise reproduction, so @@ -132,7 +143,7 @@ rm -rf wayland-protocols # features from Mesa then bump this version and $FDO_DISTRIBUTION_TAG, however # please be prepared for some of the tests to change output, which will need to # be manually inspected for correctness. -git clone --branch 21.3 --depth=1 https://gitlab.freedesktop.org/mesa/mesa.git +git clone --branch 23.0 --depth=1 https://gitlab.freedesktop.org/mesa/mesa.git cd mesa meson build --wrap-mode=nofallback -Dauto_features=disabled \ -Dgallium-drivers=swrast -Dvulkan-drivers= -Ddri-drivers= @@ -140,17 +151,6 @@ ninja ${NINJAFLAGS} -C build install cd .. rm -rf mesa -# Build and install our own version of libdrm. Debian 11 (bullseye) provides -# libdrm 2.4.104 which doesn't have the IN_FORMATS iterator api. We can stop -# building and installing libdrm as soon as we move to Debian 12. -git clone --branch libdrm-2.4.108 --depth=1 https://gitlab.freedesktop.org/mesa/drm.git -cd drm -meson build --wrap-mode=nofallback -Dauto_features=disabled \ - -Dvc4=false -Dfreedreno=false -Detnaviv=false -ninja ${NINJAFLAGS} -C build install -cd .. -rm -rf drm - # PipeWire is used for remoting support. Unlike our other dependencies its # behaviour will be stable, however as a pre-1.0 project its API is not yet # stable, so again we lock it to a fixed version.