[Openmp-commits] [clang] [openmp] [OpenMP] Remove standalone build mode (PR #149878)

Michael Kruse via Openmp-commits openmp-commits at lists.llvm.org
Fri Feb 20 03:57:58 PST 2026


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


More information about the Openmp-commits mailing list