[all-commits] [llvm/llvm-project] b3ca53: [gn build] try to fix clang build after 37c030f81a...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Oct 21 11:13:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b3ca53e14274642274be8fe7db8b43dc3c146366
      https://github.com/llvm/llvm-project/commit/b3ca53e14274642274be8fe7db8b43dc3c146366
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-10-21 (Wed, 21 Oct 2020)

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

  Log Message:
  -----------
  [gn build] try to fix clang build after 37c030f81a9fdd

37c030f81a9fdd made it so that depending on //libcxx/include
automatically added the copied header dir to the include search path.
For some reason, clang can't build against the copied libcxx headers
(it complains about ldiv_t not being a type). I don't have a mac
to debug right now, but for the clang target this change was
unintentional anyways -- only depend on the copies target, instead
of on the target that also adjusts the include path.




More information about the All-commits mailing list