mirror of https://github.com/mongodb/mongo
SERVER-95246 Clear windows Bazel temp directory before SCons execution (#27505)
GitOrigin-RevId: 053c37e5cc8a705f8cc8ebd55bf0b7e90e8ca58a
This commit is contained in:
parent
b1bbf1b019
commit
9f91ee12dd
|
|
@ -9,6 +9,9 @@ set -o verbose
|
|||
# Use the Evergreen temp directory to avoid filling up the disk.
|
||||
mkdir -p $TMPDIR
|
||||
if [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "win32" ]]; then
|
||||
# TODO(SERVER-94605): remove when Windows temp directory is cleared between task runs
|
||||
rm -rf Z:/bazel_tmp/* || true
|
||||
|
||||
# Z:/ path is necessary to avoid running into MSVC's file length limit,
|
||||
# see https://jira.mongodb.org/browse/DEVPROD-11126
|
||||
abs_path=$(cygpath -w "$TMPDIR" | tr '\\' '/')
|
||||
|
|
|
|||
Loading…
Reference in New Issue