[all-commits] [llvm/llvm-project] c20811: [libc] Fix libc-hdrgen crosscompiling (#78227)

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Jan 16 05:39:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c20811b659766469e80317702ee204ef6c4375b4
      https://github.com/llvm/llvm-project/commit/c20811b659766469e80317702ee204ef6c4375b4
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-01-16 (Tue, 16 Jan 2024)

  Changed paths:
    M libc/CMakeLists.txt
    M libc/utils/HdrGen/CMakeLists.txt
    M llvm/cmake/modules/CrossCompile.cmake
    M llvm/runtimes/CMakeLists.txt

  Log Message:
  -----------
  [libc] Fix libc-hdrgen crosscompiling (#78227)

The support introduced in 675702f356b0c3a540fa2e8af4192f7d658b2988 is
not working correctly in all scenarios. Instead of setup_host_tool
function, we can use the existing targets introduced by add_tablegen
macro.




More information about the All-commits mailing list