Skip to content

Commit cb07194

Browse files
committed
[OpenMP] Fix SystemZ build failure
Commit a7d5f73 introduced an error in a target_compile_definitions on the SystemZ, causing the build to break. Fixed by adding the missing "PRIVATE".
1 parent 2096f37 commit cb07194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64$")
100100
"aarch64-unknown-linux-gnu" "aarch64-unknown-linux-gnu-LTO")
101101
set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS}" PARENT_SCOPE)
102102
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "s390x$")
103-
target_compile_definitions(omptarget.rtl.${machine} TARGET_ELF_ID=EM_S390)
103+
target_compile_definitions(omptarget.rtl.${machine} PRIVATE TARGET_ELF_ID=EM_S390)
104104
target_compile_definitions(omptarget.rtl.${machine} PRIVATE
105105
LIBOMPTARGET_NEXTGEN_GENERIC_PLUGIN_TRIPLE="s390x-ibm-linux-gnu")
106106
list(APPEND LIBOMPTARGET_SYSTEM_TARGETS

0 commit comments

Comments
 (0)