mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-03 23:24:17 +08:00
c90b433f18
Makes easier do changes, when shellcheck is warning-free. Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17574>
15 lines
397 B
Bash
15 lines
397 B
Bash
#!/bin/bash
|
|
# shellcheck disable=SC2086 # we want word splitting
|
|
|
|
set -ex
|
|
|
|
export LIBDRM_VERSION=libdrm-2.4.110
|
|
|
|
wget https://dri.freedesktop.org/libdrm/"$LIBDRM_VERSION".tar.xz
|
|
tar -xvf "$LIBDRM_VERSION".tar.xz && rm "$LIBDRM_VERSION".tar.xz
|
|
cd "$LIBDRM_VERSION"
|
|
meson build -D vc4=false -D freedreno=false -D etnaviv=false $EXTRA_MESON_ARGS
|
|
ninja -C build install
|
|
cd ..
|
|
rm -rf "$LIBDRM_VERSION"
|