• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env bash
2# shellcheck disable=SC2086 # we want word splitting
3# When changing this file, you need to bump the following
4# .gitlab-ci/image-tags.yml tags:
5# KERNEL_ROOTFS_TAG
6
7set -uex
8
9uncollapsed_section_start va-tools "Building va-tools"
10
11git config --global user.email "mesa@example.com"
12git config --global user.name "Mesa CI"
13
14git clone \
15    https://github.com/intel/libva-utils.git \
16    -b 2.18.1 \
17    --depth 1 \
18    /va-utils
19
20pushd /va-utils
21# Too old libva in Debian 11. TODO: when this PR gets in, refer to the patch.
22curl -L https://github.com/intel/libva-utils/pull/329.patch | git am
23
24meson setup build -D tests=true -Dprefix=/va ${EXTRA_MESON_ARGS:-}
25meson install -C build
26popd
27rm -rf /va-utils
28
29section_end va-tools
30