[PATCH] D38471: Allow compiler-rt test targets to work with multi-config CMake generators
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 2 13:20:41 PDT 2017
rnk added a comment.
In https://reviews.llvm.org/D38471#886281, @mgorny wrote:
> Well, I think I did everything right, yet I still get:
>
> CMake Error at cmake/Modules/AddCompilerRT.cmake:521 (set_llvm_build_mode):
> Unknown CMake command "set_llvm_build_mode".
> Call Stack (most recent call first):
> unittests/CMakeLists.txt:1 (configure_compiler_rt_lit_site_cfg)
>
>
> AFAICS `AddLLVM` is not included anywhere if building stand-alone (that is, outside LLVM sources).
Did you apply the LLVM side change and install it locally to test? I believe AddLLVM.cmake is shipped in the install step...
https://reviews.llvm.org/D38471
More information about the llvm-commits
mailing list