Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 302dc94

Browse files
committed
Disable the c-index-test build target
It depends on libXML and thus cannot be built in our Linux sysroot. Using -DLLVM_ENABLE_LIBXML=OFF doesn't work (although it was fixed upstream in the monorepo). Rather than fixing this "properly" or even just hacking out the LibXML check, hack out c-index-test from the build entirely, thus making it faster.
1 parent befcff7 commit 302dc94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ add_clang_subdirectory(clang-fuzzer)
99
add_clang_subdirectory(clang-import-test)
1010
add_clang_subdirectory(clang-offload-bundler)
1111

12-
add_clang_subdirectory(c-index-test)
12+
# Disable c-index-test to avoid its dependency on libXML
13+
# add_clang_subdirectory(c-index-test)
1314

1415
add_clang_subdirectory(clang-rename)
1516
add_clang_subdirectory(clang-refactor)

0 commit comments

Comments
 (0)