[PATCH] D90518: [clangd] Make tests depend on Clang

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 30 17:47:17 PDT 2020


smeenai created this revision.
smeenai added reviewers: jkorous, kadircet, sammccall.
Herald added subscribers: cfe-commits, usaxena95, arphaman, mgorny.
Herald added a project: clang.
smeenai requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.

The clangd lit configuration adds a depedency on Clang, so we also need
to add a build dependency to make `check-clangd` work when you start
from a clean build.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90518

Files:
  clang-tools-extra/clangd/test/CMakeLists.txt


Index: clang-tools-extra/clangd/test/CMakeLists.txt
===================================================================
--- clang-tools-extra/clangd/test/CMakeLists.txt
+++ clang-tools-extra/clangd/test/CMakeLists.txt
@@ -9,6 +9,7 @@
 string(REPLACE ${CMAKE_CFG_INTDIR} ${LLVM_BUILD_MODE} CLANG_TOOLS_DIR ${LLVM_RUNTIME_OUTPUT_INTDIR})
 
 set(CLANGD_TEST_DEPS
+  clang
   clangd
   ClangdTests
   # No tests for these, but we should still make sure they build.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90518.302052.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201031/81dde969/attachment.bin>


More information about the cfe-commits mailing list