[libc++] Do not try creating llvm-lit when LIBCXX_INCLUDE_TESTS is OFF in the standal...
authorLouis Dionne <ldionne@apple.com>
Mon, 29 Jun 2020 15:51:15 +0000 (11:51 -0400)
committerLouis Dionne <ldionne@apple.com>
Mon, 29 Jun 2020 15:55:02 +0000 (11:55 -0400)
commiteb68a0ab5ee8a8354f1539fb00409f027a7137b2
tree4612161de34f145739042d27ba08a5d26fe82607
parent226cda58d50555f626737c3cb9dffef0cf3d906c
[libc++] Do not try creating llvm-lit when LIBCXX_INCLUDE_TESTS is OFF in the standalone build

Doing so doesn't work reliably, since it relies on LLVM_* implementation
detail variables being set. Furthermore, since we rely on the lit.site.cfg
being generated, running the tests requires LIBCXX_INCLUDE_TESTS=ON anyway.
libcxx/CMakeLists.txt