ci(ENG-21502): Fix sccache not working inside Docker (#24597)

This commit is contained in:
Marko Vejnovic
2025-11-12 14:40:12 -08:00
committed by GitHub
parent fff47f0267
commit e03d3bee10
2 changed files with 18 additions and 0 deletions

View File

@@ -1392,6 +1392,10 @@ create_buildkite_user() {
create_file "$file"
done
# The following is necessary to configure buildkite to use a stable
# checkout directory. sccache hashes absolute paths into its cache keys,
# so if buildkite uses a different checkout path each time (which it does
# by default), sccache will be useless.
local opts=$-
set -ef