[all-commits] [llvm/llvm-project] a30233: [libc] Fix standalone cross compiling build for th...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Mar 5 20:03:31 PST 2024


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

  Changed paths:
    M libc/CMakeLists.txt
    M libc/cmake/modules/prepare_libc_gpu_build.cmake

  Log Message:
  -----------
  [libc] Fix standalone cross compiling build for the GPU (#84042)

Summary:
This patch fixes some issues with building the GPU target manually
without the runtimes bootstrapping build. This fixes the install
directory and sets the default namespace to something more sensible if
not set. Also I got rid of the check on `-mcpu=native`. it was a neat
trick, but CMake in its INFINITE wisdom does not allow you to set link
flags on the compiler flag check. So I just went with the old tool
usage.



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