[all-commits] [llvm/llvm-project] 395bc7: [mlir][bazel] Don't set MLIR_ENABLE_NVPTXCOMPILER ...

Ingo Müller via All-commits all-commits at lists.llvm.org
Wed Mar 6 14:36:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 395bc7909e9c65cc40680c6a5b8f17f54b5f61f1
      https://github.com/llvm/llvm-project/commit/395bc7909e9c65cc40680c6a5b8f17f54b5f61f1
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][bazel] Don't set MLIR_ENABLE_NVPTXCOMPILER on if_cuda_available. (#84238)

was available. However, it turns out that the NVPTX compiler is not part
of every CUDA distribution, so `if_cuda_available` may evaluate to true
without that compiler being present, which breaks the build. This PR
thus sets the macro to 0 always (which was the behavior before #84007).



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