
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30043>
18 lines
642 B
Bash
18 lines
642 B
Bash
#!/usr/bin/env bash
|
|
# Script used for Android and Fedora builds (Debian builds get their libdrm version
|
|
# from https://gitlab.freedesktop.org/gfx-ci/ci-deb-repo - see PKG_REPO_REV)
|
|
# shellcheck disable=SC2086 # we want word splitting
|
|
|
|
set -ex
|
|
|
|
export LIBDRM_VERSION=libdrm-2.4.122
|
|
|
|
curl -L -O --retry 4 -f --retry-all-errors --retry-delay 60 \
|
|
https://dri.freedesktop.org/libdrm/"$LIBDRM_VERSION".tar.xz
|
|
tar -xvf "$LIBDRM_VERSION".tar.xz && rm "$LIBDRM_VERSION".tar.xz
|
|
cd "$LIBDRM_VERSION"
|
|
meson setup build -D vc4=disabled -D freedreno=disabled -D etnaviv=disabled $EXTRA_MESON_ARGS
|
|
meson install -C build
|
|
cd ..
|
|
rm -rf "$LIBDRM_VERSION"
|