[Openmp-commits] [PATCH] D88476: [OpenMP][VE plugin] Fixing failure to build VE plugin with consolidated error handling in libomptarget

Simon Moll via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 29 08:39:11 PDT 2020


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc816ee13ad9e: [OpenMP][VE plugin] Fixing failure to build VE plugin with consolidated error… (authored by manorom, committed by simoll).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88476/new/

https://reviews.llvm.org/D88476

Files:
  openmp/libomptarget/plugins/ve/src/rtl.cpp


Index: openmp/libomptarget/plugins/ve/src/rtl.cpp
===================================================================
--- openmp/libomptarget/plugins/ve/src/rtl.cpp
+++ openmp/libomptarget/plugins/ve/src/rtl.cpp
@@ -11,9 +11,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "Debug.h"
-#include "omptargetplugin.h"
-
 #include <algorithm>
 #include <cassert>
 #include <cerrno>
@@ -26,14 +23,19 @@
 #include <vector>
 #include <veosinfo/veosinfo.h>
 
-#ifndef TARGET_ELF_ID
-#define TARGET_ELF_ID 0
-#endif
+#include "Debug.h"
+#include "omptargetplugin.h"
 
+#ifndef TARGET_NAME
 #define TARGET_NAME VE
+#endif
 
 #define DEBUG_PREFIX "Target " GETNAME(TARGET_NAME) " RTL"
 
+#ifndef TARGET_ELF_ID
+#define TARGET_ELF_ID 0
+#endif
+
 #include "../../common/elf_common.c"
 
 struct DynLibTy {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88476.295006.patch
Type: text/x-patch
Size: 846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200929/0f4b8536/attachment.bin>


More information about the Openmp-commits mailing list