[all-commits] [llvm/llvm-project] acea47: [gn build] Reorganize libcxx/include/BUILD.gn a bit

Nico Weber via All-commits all-commits at lists.llvm.org
Tue Jan 12 18:35:07 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: acea470c167fc40990d9a0f06d625a34d8a4a146
      https://github.com/llvm/llvm-project/commit/acea470c167fc40990d9a0f06d625a34d8a4a146
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M llvm/utils/gn/secondary/libcxx/include/BUILD.gn

  Log Message:
  -----------
  [gn build] Reorganize libcxx/include/BUILD.gn a bit

- Merge 6706342f48bea80 -- no more libcxx_needs_site_config, we now
  always need it
- Since it was always off in practice, write_config bitrot. Unbitrot
  it so that it works
- Remove copy step and let concat step write to final location
  immediately -- and fix copy destination directory

As a side effect, libcxx/include/BUILD.gn now has only a single
sources list, which means the cmake sync script should be able to
automatically sync additions and removals of .h files. On the flipside,
this means this file now must be updated after most changes to
libcxx/include/__config_site.in, and looking through the last few months
of changes this looks like it's going to be a wash.




More information about the All-commits mailing list