xref: /third_party/mesa3d/.gitlab-ci/container/build-apitrace.sh (revision bf215546)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/mesa3d/.gitlab-ci/container/
1#!/bin/bash
2
3set -ex
4
5APITRACE_VERSION="790380e05854d5c9d315555444ffcc7acb8f4037"
6
7git clone https://github.com/apitrace/apitrace.git --single-branch --no-checkout /apitrace
8pushd /apitrace
9git checkout "$APITRACE_VERSION"
10git submodule update --init --depth 1 --recursive
11cmake -S . -B _build -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_GUI=False -DENABLE_WAFFLE=on $EXTRA_CMAKE_ARGS
12cmake --build _build --parallel --target apitrace eglretrace
13mkdir build
14cp _build/apitrace build
15cp _build/eglretrace build
16${STRIP_CMD:-strip} build/*
17find . -not -path './build' -not -path './build/*' -delete
18popd
19

Indexes created Thu Nov 07 10:32:03 CST 2024