Skip to content

Commit 0ce6052

Browse files
[lldb] install lldb-tblgen by default to ease cross-compilation (one-liner) (llvm#159812)
Right now, cross-building `lldb` means either installing a native `lldb-tblgen` by hand (non-trivial, as CMake is painful) or first building all of native clang because of how the CMake rules work, which is not fun. In keeping with the pattern established by llvm-tblgen and clang-tblgen, install lldb-tblgen to ease cross-compilation. Co-authored-by: Ross Burton <[email protected]>
1 parent 21821f5 commit 0ce6052

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/utils/TableGen/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if (NOT DEFINED LLDB_TABLEGEN_EXE)
88
set(LLVM_LINK_COMPONENTS Support)
99

1010
add_tablegen(lldb-tblgen LLDB
11+
DESTINATION "${CMAKE_INSTALL_BINDIR}"
1112
LLDBOptionDefEmitter.cpp
1213
LLDBPropertyDefEmitter.cpp
1314
LLDBTableGen.cpp

0 commit comments

Comments
 (0)