[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 14:55:09 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:
In the general case, AFAICT both the standalone and LLVM build just default to `./lib` as their output, so it'll succeed superficially. If we want to be sure I could manually set the output to something that's either the LLVM dir or the OpenMP one and then make a new lit variable.
https://github.com/llvm/llvm-project/pull/73705
More information about the Openmp-commits
mailing list