[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:11:57 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:

Guess I'll set the `library_dir` more correctly. Thanks.

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


More information about the Openmp-commits mailing list