[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:03:35 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:
It's build time. The issue is that I wanted `libc` to fish this out of the install directory, but where it's written to is variable and in a random directory. I wanted it to be next to `libomptarget.so` so I have a single static search path I can use for internal resolution of the library.
https://github.com/llvm/llvm-project/pull/73705
More information about the Openmp-commits
mailing list