[Openmp-commits] [PATCH] D152462: [OpenMP] Fix --libomptarget-nvptx-bc-path in tests

Joel E. Denny via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jun 8 12:10:10 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5df492302e26: [OpenMP] Fix --libomptarget-nvptx-bc-path in tests (authored by jdenny).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152462/new/

https://reviews.llvm.org/D152462

Files:
  openmp/libomptarget/test/lit.cfg


Index: openmp/libomptarget/test/lit.cfg
===================================================================
--- openmp/libomptarget/test/lit.cfg
+++ openmp/libomptarget/test/lit.cfg
@@ -120,7 +120,7 @@
     if config.cuda_libdir:
         config.test_flags += " -Wl,-rpath," + config.cuda_libdir
     if config.libomptarget_current_target.startswith('nvptx'):
-        config.test_flags += " --libomptarget-nvptx-bc-path=" + config.library_dir
+        config.test_flags += " --libomptarget-nvptx-bc-path=" + config.library_dir + '/DeviceRTL'
     if config.libomptarget_current_target.endswith('-LTO'):
         config.test_flags += " -foffload-lto"
     if config.libomptarget_current_target.endswith('-JIT-LTO') and evaluate_bool_env(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152462.529692.patch
Type: text/x-patch
Size: 738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230608/a363e11f/attachment.bin>


More information about the Openmp-commits mailing list