LAVA and baremetal now use the test-* containers as the base for their rootfs. Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34451>
31 lines
747 B
Bash
31 lines
747 B
Bash
#!/usr/bin/env bash
|
|
# shellcheck disable=SC2086 # we want word splitting
|
|
|
|
# When changing this file, you need to bump the following
|
|
# .gitlab-ci/image-tags.yml tags:
|
|
# DEBIAN_TEST_VIDEO_TAG
|
|
|
|
set -uex
|
|
|
|
section_start va-tools "Building va-tools"
|
|
|
|
git config --global user.email "mesa@example.com"
|
|
git config --global user.name "Mesa CI"
|
|
|
|
git clone \
|
|
https://github.com/intel/libva-utils.git \
|
|
-b 2.18.1 \
|
|
--depth 1 \
|
|
/va-utils
|
|
|
|
pushd /va-utils
|
|
# Too old libva in Debian 11. TODO: when this PR gets in, refer to the patch.
|
|
curl --fail -L https://github.com/intel/libva-utils/pull/329.patch | git am
|
|
|
|
meson setup build -D tests=true -Dprefix=/va ${EXTRA_MESON_ARGS:-}
|
|
meson install -C build
|
|
popd
|
|
rm -rf /va-utils
|
|
|
|
section_end va-tools
|