llvm-project/libcxx
Louis Dionne 1e46d1aa3f [libc++] Include <__config_site> from <__config>
Prior to this patch, we would generate a fancy <__config> header by
concatenating <__config_site> and <__config>. This complexifies the
build system and also increases the difference between what's tested
and what's actually installed.

This patch removes that complexity and instead simply installs <__config_site>
alongside the libc++ headers. <__config_site> is then included by <__config>,
which is much simpler. Doing this also opens the door to having different
<__config_site> headers depending on the target, which was impossible before.

It does change the workflow for testing header-only changes to libc++.
Previously, we would run `lit` against the headers in libcxx/include.
After this patch, we run it against a fake installation root of the
headers (containing a proper <__config_site> header). This makes use
closer to testing what we actually install, which is good, however it
does mean that we have to update that root before testing header changes.
Thus, we now need to run `ninja check-cxx-deps` before running `lit` by
hand.

Differential Revision: https://reviews.llvm.org/D89041
2020-10-21 08:46:57 -04:00
..
benchmarks [libc++] Add a benchmark for std::map operations 2020-09-15 12:09:29 -04:00
cmake [libc++] Define new/delete in libc++abi only by default 2020-10-19 11:35:01 -04:00
docs [libc++] Include <__config_site> from <__config> 2020-10-21 08:46:57 -04:00
include [libc++] Include <__config_site> from <__config> 2020-10-21 08:46:57 -04:00
lib [libc++] Define new/delete in libc++abi only by default 2020-10-19 11:35:01 -04:00
src [libc++] Make __shared_weak_count vtable consistent across all build configurations 2020-10-20 08:19:43 -04:00
test [libc++] Include <__config_site> from <__config> 2020-10-21 08:46:57 -04:00
utils [libc++] Include <__config_site> from <__config> 2020-10-21 08:46:57 -04:00
www [libc++] Re-apply fdc41e11f (LWG1203) without breaking the C++11 build 2020-09-23 08:56:00 -04:00
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt [libc++] Include <__config_site> from <__config> 2020-10-21 08:46:57 -04:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
NOTES.TXT
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00