[PATCH] D61122: [clangd] Don't build clangd or run its tests when LLVM_ENABLE_THREADS is off, unless specifically directed to do so

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 25 03:06:17 PDT 2019


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

Introduce a new CLANGD_BUILD option, only default to true if threads are on.

(the name doesn't seem ideal, I'm trying to follow precedent of CLANGD_BUILD_XPC)

This is a bit of a mess because of the parallel unittest/ and test/ trees in
clang-tools-extra (clangd has three root directories).

I'd like to move clang-tools-extra/test/clangd -> clang-tools-extra/clangd/test etc,
but will do that afterwards.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D61122

Files:
  CMakeLists.txt
  test/CMakeLists.txt
  test/clangd/lit.local.cfg
  unittests/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61122.196601.patch
Type: text/x-patch
Size: 4237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190425/563e611e/attachment.bin>


More information about the cfe-commits mailing list