[PATCH] D134650: [runtimes] Remove all traces of the legacy testing configuration system

Alexander Richardson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 3 06:51:44 PDT 2022


arichardson added a comment.

In case anyone else runs into this: It appears this change somehow broke incremental builds with `-DLLVM_ENABLE_RUNTIMES=libunwind` (even after deleting CMakeCache.txt in the main build dir):

  -- Using libunwind testing configuration: /home/alexrichardson/cheri/upstream-llvm-project/libunwind/test/lit.site.cfg.in
  CMake Error: File /home/alexrichardson/cheri/upstream-llvm-project/libunwind/test/lit.site.cfg.in does not exist.
  CMake Error at /home/alexrichardson/cheri/upstream-llvm-project/llvm/cmake/modules/AddLLVM.cmake:1793 (configure_file):
    configure_file Problem configuring file
  Call Stack (most recent call first):
    /home/alexrichardson/cheri/upstream-llvm-project/libunwind/test/CMakeLists.txt:45 (configure_lit_site_cfg)
  
  
  -- Configuring incomplete, errors occurred!

Fortunately this is quite easy to fix: `rm -rf <build_dir>/runtimes` and then run `ninja` again.
I'm not sure if this would help (and I don't have a broken build dir anymore), but it might be possible to avoid this problem by touching CMakeLists.txt in llvm/runtimes?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134650



More information about the cfe-commits mailing list