[PATCH] D45345: [annotated_builder] try harder to clean build directories

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 9 15:10:16 PDT 2018


inglorion added a comment.

> Doesn't shutil.rmtree handle this?

No. That's the code that's currently running. See here for the error: http://lab.llvm.org:8011/builders/clang-with-thin-lto-windows/builds/8570/steps/stage%202%20clean/logs/stdio

I tested the code on the affected machine. shutil.rmtree fails with the permissions error. The rmtree implementation I wrote succeeds.


https://reviews.llvm.org/D45345





More information about the llvm-commits mailing list