[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:23:44 PST 2023

@@ -301,7 +301,10 @@ endforeach()
 # Archive all the object files generated above into a static library
 add_library(omptarget.devicertl STATIC)
-set_target_properties(omptarget.devicertl PROPERTIES LINKER_LANGUAGE CXX)
+set_target_properties(omptarget.devicertl PROPERTIES
+                      LINKER_LANGUAGE CXX
jhuber6 wrote:

I was thinking about that and wasn't sure. As far as I can tell, `add_llvm_library` uses this string internally, which is how `libomptarget` ends up where it does. So I'm thinking so long as we're using that, it will be defined somewhere. But I haven't tested it or anything.


More information about the Openmp-commits mailing list