[PATCH] D99451: Use write_basic_package_version_file for LLVM

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 29 10:08:06 PDT 2021


phosek added a comment.

After multiple retries, the build failed for me locally:

  CMake Error: Could not open file for write in copy operation /usr/lib/llvm-6.0/runtimes/armv7-unknown-linux-gnueabihf/Components.cmake.tmp
  CMake Error: : System Error: No such file or directory
  CMake Error at CMakeLists.txt:188 (configure_file):
    configure_file Problem configuring file

This is definitely unexpected because the build should never write anything under `/usr/lib` matching @bjope's observation that `LLVM_DIR` doesn't point to the build dir.

It's also worth pointing out that this doesn't fail on every run so it looks like there's some kind of build race that for some reason reproduces reliably on our bots.

@alexreinking can we please revert this change while we continue the investigation? It's now clear that there are some issues with this change and our bots have been broken for more than a day now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99451/new/

https://reviews.llvm.org/D99451



More information about the llvm-commits mailing list