[all-commits] [llvm/llvm-project] 3dc975: [libc] Fix the GPU build when building inside the ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Dec 3 18:34:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dc97557d1ac0cd7924b9679efbfc8f916f5365e
      https://github.com/llvm/llvm-project/commit/3dc97557d1ac0cd7924b9679efbfc8f916f5365e
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

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

  Log Message:
  -----------
  [libc] Fix the GPU build when building inside the NATIVE project (#118573)

Summary:
We use the NATIVE directory for cross-compiling tools that need to be
run on the host. This was not forwarding the CMake arguments we used to
check if this was a GPU compile that created its own tools. Forward that
and simplify.

Fixes https://github.com/llvm/llvm-project/issues/118558



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list