[all-commits] [llvm/llvm-project] 64b3cd: [libc] Fix GPU handling for unsupported backends (...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed May 15 12:14:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64b3cdc0220174c1af236a42b227a5226f0f12c5
      https://github.com/llvm/llvm-project/commit/64b3cdc0220174c1af236a42b227a5226f0f12c5
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
    M libc/cmake/modules/prepare_libc_gpu_build.cmake

  Log Message:
  -----------
  [libc] Fix GPU handling for unsupported backends (#92271)

Summary:
If the user does not have the selected backend enabled, we should still
be able to build the LLVM-IR an ddistribute it. This patch makes logic
to suppress tests if the backend can't build it, as well as removing a
flag for the building that's only present int he NVPTX backend.



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