[PATCH] D45234: CMake: Check LLVM_ENABLE_LIBXML2 in clang
Stephen Crane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 4 17:46:38 PDT 2018
rinon added a comment.
I'd be fine with not building c-index-test when building clang, but I didn't see any easy way to disable it.
My use-case here is just to build LLVM+clang without having to link against my system libxml2 at all. It's a rather weird build situation, but Android builds a toolchain against a fixed, prebuilt set of headers. My system libxml2 expects unicode support that these prebuilt headers don't have, so it's much simpler to just disable libxml2 support. This led me to the realization that you can't actually disable libxml2 support for clang, which struck me as odd since it's so unimportant.
Repository:
rC Clang
https://reviews.llvm.org/D45234
More information about the cfe-commits
mailing list