1
0
Fork 0

fix no_cache flag on windows

This commit is contained in:
Mikhail Goncharov 2020-07-28 14:32:13 +02:00
parent 5e85ee2da8
commit f3bf784fad
3 changed files with 30 additions and 546 deletions

File diff suppressed because one or more lines are too long

View file

@ -66,8 +66,8 @@ if __name__ == '__main__':
{'exit_status': 255, 'limit': 2}, # Forced agent shutdown
]},
}
clear_sccache = 'powershell -command "sccache --stop-server; ' \
'Remove-Item -Recurse -Force -ErrorAction Ignore $env:SCCACHE_DIR; ' \
clear_sccache = 'powershell -command "sccache --stop-server; echo \\$env:SCCACHE_DIR; ' \
'Remove-Item -Recurse -Force -ErrorAction Ignore \\$env:SCCACHE_DIR; ' \
'sccache --start-server"'
win_agents = {'queue': f'{queue_prefix}windows'}
t = os.getenv('ph_windows_agents')

View file

@ -60,8 +60,8 @@ if __name__ == '__main__':
{'exit_status': 255, 'limit': 2}, # Forced agent shutdown
]},
}
clear_sccache = 'powershell -command "sccache --stop-server; echo $env:SCCACHE_DIR; ' \
'Remove-Item -Recurse -Force -ErrorAction Ignore $env:SCCACHE_DIR; ' \
clear_sccache = 'powershell -command "sccache --stop-server; echo \\$env:SCCACHE_DIR; ' \
'Remove-Item -Recurse -Force -ErrorAction Ignore \\$env:SCCACHE_DIR; ' \
'sccache --start-server"'
# FIXME: openmp is removed as it constantly fails. Make this project list be evaluated through "choose_projects".
projects = os.getenv('ph_projects', 'clang;clang-tools-extra;libc;libcxx;libcxxabi;lld;libunwind;mlir;polly')