Skip to content

Commit

Permalink
Bump mesa
Browse files Browse the repository at this point in the history
  • Loading branch information
ankith26 committed Sep 24, 2024
1 parent 5fb4564 commit 02da12f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -e -x
cd $(dirname `readlink -f "$0"`)

# pin for build stability, remember to keep updated
python3 -m pip install mako==1.3.5
python3 -m pip install mako==1.3.5 PyYAML==6.0.2
18 changes: 4 additions & 14 deletions buildconfig/manylinux-build/docker_base/mesa/mesa/build-mesa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd $(dirname `readlink -f "$0"`)
# wayland driver needs this) and glx (SDL needs it)
# we don't support vulkan yet

MESA_VER="mesa-24.0.1"
MESA_VER="mesa-24.2.3"
MESA="mesa-$MESA_VER" # yes mesa comes twice in the name

curl -sL --retry 10 https://gitlab.freedesktop.org/mesa/mesa/-/archive/$MESA_VER/$MESA.tar.gz > $MESA.tar.gz
Expand All @@ -16,17 +16,7 @@ sha512sum -c mesa.sha512sum
tar xzf $MESA.tar.gz
cd $MESA

# For now, we don't compile in LLVM because of its weight. Because of this, we
# can't compile in support for the radeonsi driver
if [ `uname -m` == "aarch64" ]; then
# On aarch64 we allow mesa to use all drivers it wants to pick by default
# (because radeonsi is not used on arm platforms)
GALLIUM_DRIVERS="auto"
else
# all default except radeonsi
GALLIUM_DRIVERS="r300,r600,nouveau,virgl,svga,swrast,iris,crocus,i915"
fi

# build with meson+ninja
meson build/ $PG_BASE_MESON_FLAGS -Dgallium-drivers=$GALLIUM_DRIVERS -Dvulkan-drivers=[]
# build with meson+ninja, a very minimal install will do because this is not actually
# being installed in the wheel
meson build/ $PG_BASE_MESON_FLAGS -Dgallium-drivers=softpipe -Dvulkan-drivers=[]
ninja -C build/ install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
66a6cea1712f3b20744c0865c10523313653be39fc5a75e8201dbf50188cad819bd52a6013d1bd7be3d622de948b750ceb41dc73649cdea2abbaa6bb016cc4a7 mesa-mesa-24.0.1.tar.gz
be99f38318509a864212c600a8b14e9615ef7d2cfbda8d020b0059585d05dcb850601200a139b2adaf04d8d7df9c4e2661014fafab15647f3d02e3db1196c998 mesa-mesa-24.2.3.tar.gz

0 comments on commit 02da12f

Please sign in to comment.