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

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