diff options
author | Natschz <natschz@users.noreply.github.com> | 2023-11-01 07:34:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 23:34:23 -0700 |
commit | fe846bc9bd164ed89cef1caefb681e0aee3d4dec (patch) | |
tree | cf859743746c3fc02539bbca13d09ab64527c897 /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp | |
parent | 264f5ec99c2567c2e0ef21a39016318dc2b0da26 (diff) | |
download | llvm-fe846bc9bd164ed89cef1caefb681e0aee3d4dec.zip llvm-fe846bc9bd164ed89cef1caefb681e0aee3d4dec.tar.gz llvm-fe846bc9bd164ed89cef1caefb681e0aee3d4dec.tar.bz2 |
Escape LLVM_TARGETS_TO_BUILD while checking against LLVM_ALL_TARGETS and LLVM_EXPERIMENTAL_TARGETS_TO_BUILD (#70885)
Targeting X86 while building LLVM with the Android NDK, currently fails
with "The target `X86' is not a core tier target. It may be experimental,
if so it must be passed via LLVM_EXPERIMENTAL_TARGETS_TO_BUILD."
This is happening because the Android NDK defines a variable named X86,
which will lead to a "fun" CMake feature. For further details reference
[this post](https://discourse.llvm.org/t/the-target-x86-is-not-a-core-tier-target/73784).
To fix this, the LLVM_TARGETS_TO_BUILD need to be escaped while checking
agains LLVM_ALL_TARGETS and LLVM_EXPERIMENTAL_TARGETS_TO_BUILD.
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions