mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-24 07:50:26 +00:00
4d7ee2749f
Need this for upcoming GL 4.0 llvmpipe support. Reviewed-by: Elie Tournier <elie.tournier@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5323>
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=43148d1115a12219a0560a538c9872d07c28c558
|
|
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
|