[all-commits] [llvm/llvm-project] 1daaa6: [CMake][libc] Support cross-compiling libc-hdrgen

Petr Hosek via All-commits all-commits at lists.llvm.org
Thu Jan 28 13:15:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1daaa6432e844404006aca55358e0500928d65fb
      https://github.com/llvm/llvm-project/commit/1daaa6432e844404006aca55358e0500928d65fb
  Author: Petr Hosek <phosek at google.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M libc/CMakeLists.txt
    M libc/cmake/modules/LLVMLibCHeaderRules.cmake
    M libc/utils/CMakeLists.txt
    M libc/utils/HdrGen/CMakeLists.txt

  Log Message:
  -----------
  [CMake][libc] Support cross-compiling libc-hdrgen

This is useful when cross-compiling libc to another target in which
case we first need to compile libc-hdrgen for host. We rely on the
existing LLVM CMake infrastructure for that.

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




More information about the All-commits mailing list