summaryrefslogtreecommitdiff
path: root/.gitlab-ci/container/build-va-tools.sh
blob: 72098516da44c34d70968252ac80349c7a9523bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
# shellcheck disable=SC2086 # we want word splitting

set -ex

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.13.0 \
    --depth 1 \
    /va-utils

pushd /va-utils
meson build -D tests=true  -Dprefix=/va $EXTRA_MESON_ARGS
ninja -C build install
popd
rm -rf /va-utils