llvm-project/libcxx/utils
Louis Dionne c06a8f9caa [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/D97572
2021-03-30 14:06:11 -07:00
..
ci [libc++] Include <__config_site> from <__config> 2021-03-30 14:06:11 -07:00
gdb/libcxx [libcxx] Use integer division 2021-03-29 11:59:44 -07:00
google-benchmark [benchmark] Replace references to M680x0 with M68k 2021-03-06 01:04:36 +00:00
libcxx [libc++] Include <__config_site> from <__config> 2021-03-30 14:06:11 -07:00
symcheck-blacklists
cat_files.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
generate_abi_list.py generate_header_tests.py: Sort the header files ASCIIbetically. 2020-12-14 09:56:07 -05:00
generate_feature_test_macro_components.py [libc++] [C++2b] [P2162] Allow inheritance from std::variant. 2021-03-25 18:20:50 +01:00
generate_header_tests.py [libc++] Make LIBCXX_ENABLE_FILESYSTEM fully consistent 2021-01-19 14:15:48 -05:00
graph_header_deps.py [libc++] Simpler Python script for generating a graph of libc++'s header dependencies 2021-03-23 14:12:05 -04:00
merge_archives.py [libcxx] Don't pass -s to libtool 2020-09-28 14:50:09 -07:00
run.py [libcxx] [test] Pass some windows environment variables through to test processes 2021-03-02 22:39:14 +02:00
ssh.py [libcxx] [test] Quote env variables that are set with a shell "export" in ssh.py 2021-03-25 09:46:44 +02:00
sym_diff.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00