mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-22 13:07:39 +01:00
SERVER-74288 switch commit-queue cache to share patch cache
This commit is contained in:
parent
d54bfd7c33
commit
de39edc09d
@ -3220,6 +3220,7 @@ buildvariants:
|
||||
<<: *linux_x86_generic_expansions
|
||||
scons_cache_scope: shared
|
||||
scons_cache_mode: all
|
||||
commit_queue_alternate_cache: linux-x86-dynamic-compile-required
|
||||
has_packages: false
|
||||
compile_flags: >-
|
||||
--ssl
|
||||
|
@ -35,7 +35,13 @@ if [ ! -z ${scons_cache_scope} ]; then
|
||||
set -o errexit
|
||||
fi
|
||||
echo "Shared Cache with setting: ${scons_cache_scope}"
|
||||
SCONS_CACHE_DIR=${project}_${build_variant} SCONS_CACHE_MODE=${scons_cache_mode} SCONS_CACHE_SCOPE=$scons_cache_scope IS_PATCH=${is_patch} IS_COMMIT_QUEUE=${is_commit_queue} $python buildscripts/generate_compile_expansions_shared_cache.py --out compile_expansions.yml
|
||||
if [ ! -z ${commit_queue_alternate_cache} ]; then
|
||||
SCONS_CACHE_DIR=${project}_${commit_queue_alternate_cache}
|
||||
else
|
||||
SCONS_CACHE_DIR=${project}_${build_variant}
|
||||
fi
|
||||
|
||||
SCONS_CACHE_DIR=$SCONS_CACHE_DIR SCONS_CACHE_MODE=${scons_cache_mode} SCONS_CACHE_SCOPE=$scons_cache_scope IS_PATCH=${is_patch} IS_COMMIT_QUEUE=${is_commit_queue} $python buildscripts/generate_compile_expansions_shared_cache.py --out compile_expansions.yml
|
||||
# Legacy Expansion generation
|
||||
else
|
||||
echo "Using legacy expansion generation"
|
||||
|
Loading…
Reference in New Issue
Block a user