Enforce that libc++ and libc++abi are built in a monorepo layout
authorLouis Dionne <ldionne@apple.com>
Thu, 12 Mar 2020 22:01:20 +0000 (18:01 -0400)
committerLouis Dionne <ldionne@apple.com>
Mon, 30 Mar 2020 21:57:36 +0000 (17:57 -0400)
commit19aec8c90492435b1ff59dacd4307f1bbcf6ab1d
treef3de3cfde7754c444538fd3fea7e2f25fe6782a8
parentb27d255e1e40bc065e68e39c6e1eaf3a5a16f005
Enforce that libc++ and libc++abi are built in a monorepo layout

We will soon start removing technical debt and sharing code between the
two directories, so this first step is meant to discover potential places
where the libraries are built outside of a monorepo layout. I imagine
this could happen as a remnant of the pre-monorepo setup.

This was discussed on the libcxx-dev mailing list and we got overall
consensus on the direction. All consumers of libc++ and libc++abi
should already be doing so through the monorepo, however it is
possible that we catch some stragglers with this patch, in which
case it may need to be reverted temporarily.

Differential Revision: https://reviews.llvm.org/D76102
libcxx/CMakeLists.txt
libcxxabi/CMakeLists.txt