[Openmp-commits] [openmp] [Libomptarget] Output the DeviceRTL alongside the other libraries (PR #73705)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 28 15:29:03 PST 2023


================
@@ -156,8 +156,8 @@ def remove_suffix_if_present(name):
 def add_libraries(source):
     if config.libomptarget_has_libc:
         return source + " " + config.llvm_library_dir + "/libcgpu.a " + \
-               config.library_dir + "/libomptarget.devicertl.a"
-    return source + " " + config.library_dir + "/libomptarget.devicertl.a"
+               config.llvm_library_dir + "/libomptarget.devicertl.a"
+    return source + " " + config.llvm_library_dir + "/libomptarget.devicertl.a"
----------------
jhuber6 wrote:

Ah, the build is what I care about. It currently gets installed to the same place, yes. I'm fishing these libraries out of the user's build so it needs to be in a consistent place.

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


More information about the Openmp-commits mailing list