diff options
author | Alex Bradbury <asb@lowrisc.org> | 2017-12-13 09:02:13 +0000 |
---|---|---|
committer | Alex Bradbury <asb@lowrisc.org> | 2017-12-13 09:02:13 +0000 |
commit | c35aae36d5d0228d1dca14290ddcee5933029f3b (patch) | |
tree | 84bfb5ab92a4add462f5eebba3e43a4d8767d37a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8111d3b89ccdc854a88113402f4eed935605d6f4 (diff) | |
download | bcm5719-llvm-c35aae36d5d0228d1dca14290ddcee5933029f3b.tar.gz bcm5719-llvm-c35aae36d5d0228d1dca14290ddcee5933029f3b.zip |
[cmake] Fix host tools build in when LLVM_EXPERIMENTAL_TARGETS_TO_BUILD is set
r320413 triggered cmake configure failures when building with
-DLLVM_OPTIMIZED_TABLEGEN=True and with LLVM_EXPERIMENTAL_TARGETS_TO_BUILD set
(e.g. to RISCV). This is because that patch moved to passing through
LLVM_TARGETS_TO_BUILD, and at that point LLVM_EXPERIMENTAL_TARGETS_TO_BUILD
has been merged in to it. LLVM_EXPERIMENTAL_TARGETS_TO_BUILD must be also be
passed through to avoid errors like below:
-- Constructing LLVMBuild project information
CMake Error at CMakeLists.txt:682 (message):
The target `RISCV' does not exist.
It should be one of
AArch64;AMDGPU;ARM;BPF;Hexagon;Lanai;Mips;MSP430;NVPTX;PowerPC;Sparc;SystemZ;X86;XCore
-- Configuring incomplete, errors occurred!
See the thread
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20171211/509225.html
for discussion of this fix.
llvm-svn: 320556
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions