[llvm] [OpenMP] Fix incorrect CUDA bc path after library change (PR #157547)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 8 13:54:02 PDT 2025


================
@@ -169,7 +169,7 @@ else: # Unices
     if config.cuda_libdir:
         config.test_flags += " -Wl,-rpath," + config.cuda_libdir
     if config.libomptarget_current_target.startswith('nvptx'):
-        config.test_flags_clang += " --libomptarget-nvptx-bc-path=" + config.llvm_library_intdir
+        config.test_flags_clang += " --libomptarget-nvptx-bc-path=" + config.llvm_library_intdir + "/nvptx64-nvidia-cuda"
----------------
shiltian wrote:

> That's not getting installed there? It's supposed to be installed to `build/lib/nvptx64-nvidia-cuda` but it's possible something's messed up.

But testing could run before install?

https://github.com/llvm/llvm-project/pull/157547


More information about the llvm-commits mailing list