[Openmp-commits] [openmp] [Libomptarget] Rename `libomptarget.rtl.x86_64` to `libomptarget.rtl.host` (PR #86868)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 29 15:35:08 PDT 2024


================
@@ -14,36 +14,36 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le$")
 endif()
 
 # Create the library and add the default arguments.
-add_target_library(omptarget.rtl.${machine} ${machine})
+add_target_library(omptarget.rtl.host ${machine})
----------------
jhuber6 wrote:

The main reason for this change is in https://github.com/llvm/llvm-project/pull/87009 where I wanted to be able to enable these individually with a normal text string. E.g. `-DLIBOMPTARGET_PLUGINS_TO_BUILD=cuda;amdgpu;host`. This doesn't work if the name changes on the target since I wanted to make everything obey a standard naming convention.

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


More information about the Openmp-commits mailing list