Meinersbur wrote:

> Secondly, I noticed that `LLVMBuildTreeOnlyTargets.cmake` doesn't contain 
> `FileCheck`, if the LLVM build is configured with 
> `-DLLVM_INSTALL_TOOLCHAIN_ONLY=TRUE`, which I do to make `ninja install` omit 
> some of the files. This happens both for a bootstrapping build and a default 
> runtimes build.
> 
> I.e. in a configuration like this, one can't run the tests:
> 
> ```
> cmake ../llvm -G Ninja                                           \
>     -DCMAKE_BUILD_TYPE=Release                                   \
>     -DCMAKE_INSTALL_PREFIX=<PATH>                                \
>     -DLLVM_INSTALL_TOOLCHAIN_ONLY=TRUE                           \
>     -DLLVM_ENABLE_PROJECTS=clang                                 \
>     -DLLVM_ENABLE_RUNTIMES=openmp                                \
> ```

This seams to be a bug in handling of `LLVM_INSTALL_TOOLCHAIN_ONLY`. 
`LLVMBuildTreeOnlyTargets.cmake` should not care about what is in the install 
tree: It is right in the name.

https://github.com/llvm/llvm-project/pull/149878
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to