Skip to content

Commit 269a2a0

Browse files
committed
Update PluginManager.cpp
1 parent 042ba96 commit 269a2a0

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

openmp/libomptarget/src/PluginManager.cpp

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,7 @@ using namespace llvm::sys;
2222
PluginManager *PM;
2323

2424
// List of all plugins that can support offloading.
25-
static const char *RTLNames[] = {
26-
#ifdef ENABLED_OFFLOAD_PLUGINS
27-
ENABLED_OFFLOAD_PLUGINS
28-
#else
29-
/* PowerPC target */ "libomptarget.rtl.ppc64",
30-
/* x86_64 target */ "libomptarget.rtl.x86_64",
31-
/* CUDA target */ "libomptarget.rtl.cuda",
32-
/* AArch64 target */ "libomptarget.rtl.aarch64",
33-
/* AMDGPU target */ "libomptarget.rtl.amdgpu",
34-
#endif
35-
};
25+
static const char *RTLNames[] = {ENABLED_OFFLOAD_PLUGINS};
3626

3727
PluginAdaptorTy::PluginAdaptorTy(const std::string &Name) : Name(Name) {
3828
DP("Attempting to load library '%s'...\n", Name.c_str());

0 commit comments

Comments
 (0)