mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 20:24:30 +08:00
virgl/ci: Prevent static link of virglrenderer inside crosvm
Ensure virglrenderer library is built before crosvm in order to allow dynamic linking. This is needed for the scenarios where a different virglrenderer library must be provided before launching crosvm, e.g.: the upcoming Virgl CI solution that shares Mesa CI containers. Additionally, this provides the virgl_test_server binary which is required by piglit-runner.sh and deqp-runner.sh scripts when using the virpipe Gallium driver. Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Reviewed-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14413>
This commit is contained in:
parent
8d1ed9b753
commit
efd4bcad20
@ -11,6 +11,8 @@ git submodule update --init
|
||||
VIRGLRENDERER_VERSION=2a5fb800c6b0ce15ad37c2c698635e3e2d27b37c
|
||||
pushd third_party/virglrenderer
|
||||
git checkout "$VIRGLRENDERER_VERSION"
|
||||
meson build/ $EXTRA_MESON_ARGS
|
||||
ninja -C build install
|
||||
popd
|
||||
|
||||
RUSTFLAGS='-L native=/usr/local/lib' cargo install \
|
||||
|
@ -8,7 +8,7 @@ variables:
|
||||
DEBIAN_X86_TEST_BASE_IMAGE: "debian/x86_test-base"
|
||||
|
||||
DEBIAN_X86_TEST_IMAGE_PATH: "debian/x86_test-gl"
|
||||
DEBIAN_X86_TEST_GL_TAG: "2021-12-31-refactor"
|
||||
DEBIAN_X86_TEST_GL_TAG: "2022-01-03-crosvm"
|
||||
DEBIAN_X86_TEST_VK_TAG: "2022-01-02-deqp-runner"
|
||||
|
||||
FEDORA_X86_BUILD_TAG: "2021-12-31-refactor"
|
||||
|
Loading…
Reference in New Issue
Block a user