Cross Reference: build-apitrace.sh
xref: /xsrc/external/mit/MesaLib/dist/.gitlab-ci/container/build-apitrace.sh
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/MesaLib/dist/.gitlab-ci/container/
1#!/bin/bash
2
3set -ex
4
5APITRACE_VERSION="170424754bb46002ba706e16ee5404b61988d74a"
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
12ninja -C _build
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 Dec 04 23:09:28 GMT 2025