Commit b2a8c7f
Only build c-index-test when clang tests are included
c-index-test is only used for testing, and it's used in tests
that are already guarded by CLANG_INCLUDE_TESTS in clang/CMakeLists.txt.
This change enables us to do builds with LLVM_INSTALL_TOOLCHAIN_ONLY=OFF,
and CLANG_INCLUDE_TESTS=OFF, which contain the required files
to build other bits of llvm-project standalone, but does not
include c-index-test which we have no need for.
Upstream-Status: Submitted [llvm#151157]
Signed-off-by: Ross Burton <[email protected]>
Signed-off-by: Khem Raj <[email protected]>1 parent 1387cbf commit b2a8c7f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments