[CI] Download lit timing files (#160138)

This patch downloads the lit timing files from our GCS bucket into the
local directory so that lit can execute them in a smarter order (biggest
first to take advantage of parallelism).
This commit is contained in:
Aiden Grossman 2025-09-22 10:08:48 -07:00 committed by GitHub
parent bf9b3a51e4
commit ef2c09449b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -32,8 +32,6 @@ enable_cir="${6}"
lit_args="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct"
start-group "CMake"
export PIP_BREAK_SYSTEM_PACKAGES=1
pip install -q -r "${MONOREPO_ROOT}"/.ci/all_requirements.txt
# Set the system llvm-symbolizer as preferred.
export LLVM_SYMBOLIZER_PATH=`which llvm-symbolizer`

View File

@ -52,3 +52,10 @@ function start-group {
echo "Starting $groupname"
fi
}
export PIP_BREAK_SYSTEM_PACKAGES=1
pip install -q -r "${MONOREPO_ROOT}"/.ci/all_requirements.txt
if [[ "$GITHUB_ACTIONS" != "" ]]; then
python .ci/cache_lit_timing_files.py download
fi