[PATCH] D69824: Extends the tblgen macro to allow mlir-tblgen to be installed
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 17 15:27:59 PST 2019
mehdi_amini added a comment.
When you build/install clang for the host system, the clang-tblgen you would get is not necessarily compatible with the clang you intend to cross-compile. It is also a bit strange to me to expect that to build clang for a device you would need a toolchain that supply clang-tblgen.
Instead, I think the build scripts of clang when cross compiling should include the logic to build a clang-tblgen for the host as well and use it during the build process.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69824/new/
https://reviews.llvm.org/D69824
More information about the llvm-commits
mailing list