Skip to content

Commit 97e9423

Browse files
danakjAravind Vasudevan
authored andcommitted
Handle flaky "file does not exist" errors during RmTree
This has happened at least once on Windows when calling rmtree() on the llvm build directory. ``` Building final compiler. Traceback (most recent call last): File "C:\b\s\w\ir\cipd_bin_packages\cpython3\bin\lib\shutil.py", line 616, in _rmtree_unsafe os.unlink(fullname) FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\b\\s\\w\\ir\\cache\\builder\\src\\third_party\\rust-toolchain-intermediate\\llvm-host-build\\runtimes\\runtimes-x86_64-pc-windows-msvc-bins\\compiler-rt\\lib\\sanitizer_common\\CMakeFiles\\RTSanitizerCommonLibcNoHooks.x86_64.dir\\sanitizer_stoptheworld_linux_libcdep.cpp.obj' ``` R=zequanwu@chromium.org Bug: 1271215 Change-Id: I11c9097600157d9b22f87981423c19726c7c2cd6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4424969 Reviewed-by: Zequan Wu <zequanwu@google.com> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/main@{#1130095} NOKEYCHECK=True GitOrigin-RevId: 7ed3b1442316c20ef9602bdcdd4b3c6f7f27c2a6
1 parent 5656883 commit 97e9423

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build_rust.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,6 @@ def BuildLLVMLibraries(skip_build, build_mac_arm, gcc_toolchain):
534534
sys.executable,
535535
os.path.join(CLANG_SCRIPTS_DIR, 'build.py'),
536536
'--disable-asserts',
537-
# TODO(danakj): '--no-clang',
538537
'--no-tools',
539538
'--with-ml-inliner-model=',
540539
]

0 commit comments

Comments
 (0)