[Openmp-commits] [openmp] cb07194 - [OpenMP] Fix SystemZ build failure
Ulrich Weigand via Openmp-commits
openmp-commits at lists.llvm.org
Thu Mar 21 04:03:06 PDT 2024
Author: Ulrich Weigand
Date: 2024-03-21T12:02:50+01:00
New Revision: cb071942f881e743b8131688a873dab760c7b88d
URL: https://github.com/llvm/llvm-project/commit/cb071942f881e743b8131688a873dab760c7b88d
DIFF: https://github.com/llvm/llvm-project/commit/cb071942f881e743b8131688a873dab760c7b88d.diff
LOG: [OpenMP] Fix SystemZ build failure
Commit a7d5f73a03c81cab8df64dbd099e8acb40f5dfe1 introduced an
error in a target_compile_definitions on the SystemZ, causing
the build to break. Fixed by adding the missing "PRIVATE".
Added:
Modified:
openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt b/openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt
index 5ccb20e305e81b..58a79898ff80dd 100644
--- a/openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt
+++ b/openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt
@@ -100,7 +100,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64$")
"aarch64-unknown-linux-gnu" "aarch64-unknown-linux-gnu-LTO")
set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS}" PARENT_SCOPE)
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "s390x$")
- target_compile_definitions(omptarget.rtl.${machine} TARGET_ELF_ID=EM_S390)
+ target_compile_definitions(omptarget.rtl.${machine} PRIVATE TARGET_ELF_ID=EM_S390)
target_compile_definitions(omptarget.rtl.${machine} PRIVATE
LIBOMPTARGET_NEXTGEN_GENERIC_PLUGIN_TRIPLE="s390x-ibm-linux-gnu")
list(APPEND LIBOMPTARGET_SYSTEM_TARGETS
More information about the Openmp-commits
mailing list