mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-01-25 15:13:48 +08:00
34ed5fff5b
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659>
21 lines
560 B
Bash
21 lines
560 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
mkdir -p /epoxy
|
|
pushd /epoxy
|
|
wget -qO- https://github.com/anholt/libepoxy/releases/download/1.5.4/libepoxy-1.5.4.tar.xz | tar -xJ --strip-components=1
|
|
meson build/ $EXTRA_MESON_ARGS
|
|
ninja -C build install
|
|
popd
|
|
rm -rf /epoxy
|
|
|
|
VIRGLRENDERER_VERSION=70b18e56d5c3ed69c561c36e098e8aea71ebffc2
|
|
git clone https://gitlab.freedesktop.org/virgl/virglrenderer.git --single-branch --no-checkout /virglrenderer
|
|
pushd /virglrenderer
|
|
git checkout "$VIRGLRENDERER_VERSION"
|
|
meson build/ $EXTRA_MESON_ARGS
|
|
ninja -C build install
|
|
popd
|
|
rm -rf /virglrenderer
|