forked from OSchip/llvm-project
d4638cbad7
This builds on top of D77184. With this, I can rename my build directory to a different name and `bin/llvm-lit ../llvm-project/clang/test ../llvm-project/llvm/test` still succeeds. I haven't tried copying the build dir to a different machine to run tests there yet, but I tried something like it a few months ago and it worked back then. Changes: - Make configure_lit_site_cfg() store the main / generated config pair interleaved in the LLVM_LIT_CONFIG_FILES list and postpone converting it to python code to llvm-lit's CMakeList. - Pull the relpath code into a new function make_paths_relative() and call that in llvm-lit's CMakeList, prior to converting the list to python code. - Pull the path() function into a variable and use that in llvm-lit's CMakeList too. Differential Revision: https://reviews.llvm.org/D77496 |
||
---|---|---|
.. | ||
modules | ||
platforms | ||
README | ||
config-ix.cmake | ||
config.guess | ||
dummy.cpp | ||
nsis_icon.ico | ||
nsis_logo.bmp |
README
See docs/CMake.html for instructions on how to build LLVM with CMake.