The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at disable-ht-prediction 22 lines 756 B view raw
1#!/bin/sh 2# Copyright 2020-2023, Mesa contributors 3# Copyright 2020, Collabora, Ltd. 4# SPDX-License-Identifier: MIT 5 6# From https://gitlab.freedesktop.org/mesa/mesa/-/blob/999b956ebc4c26fa0c407369e630c687ece02209/.gitlab-ci/container/container_pre_build.sh 7 8set -e 9 10# Make a wrapper script for ninja to always include the -j flags 11# to avoid oversubscribing/DOS'ing the shared runners 12{ 13 echo '#!/bin/sh -x' 14 # shellcheck disable=SC2016 15 echo '/usr/bin/ninja -j${FDO_CI_CONCURRENT:-4} "$@"' 16} > /usr/local/bin/ninja 17chmod +x /usr/local/bin/ninja 18 19 20# Set MAKEFLAGS so that all make invocations in container builds include the 21# flags (doesn't apply to non-container builds, but we don't run make there) 22export MAKEFLAGS="-j${FDO_CI_CONCURRENT:-4}"