[all-commits] [llvm/llvm-project] 0a8d15: [libc++][libc++abi][libunwind] Dedup install path ...

John Ericson via All-commits all-commits at lists.llvm.org
Tue Jan 11 10:25:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a8d15ad55e344419400f037393f2208214e33e0
      https://github.com/llvm/llvm-project/commit/0a8d15ad55e344419400f037393f2208214e33e0
  Author: John Ericson <John.Ericson at Obsidian.Systems>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxxabi/CMakeLists.txt
    M libunwind/CMakeLists.txt

  Log Message:
  -----------
  [libc++][libc++abi][libunwind] Dedup install path var definitions

In D116873 I did this for libunwind prior to defining a new install path
variable. But I think the change is good on its own, and libc++{,abi}
could also use it.

libc++ needed the base header var defined above the conditional part to
use it for the prefi+ed headers in the non-target-specific case. For
consistency, I therefore put the unconditional ones above for all 3
libs, which is why I touched the libunwind code (seeing that it had the
core change already)

Reviewed By: phosek, #libunwind, #libc, #libc_abi, ldionne

Differential Revision: https://reviews.llvm.org/D116988




More information about the All-commits mailing list