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

Joel E. Denny via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 9 10:19:35 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"
----------------
jdenny-ornl wrote:

Works for me.  Thanks.

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


More information about the llvm-commits mailing list