Skip to content

Commit 6eadf47

Browse files
committed
fixup! Add openmp support to System z: Build openpm tests with -mbackchain
1 parent 607d9e8 commit 6eadf47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openmp/runtime/test/lit.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ flags = " -I " + config.test_source_root + \
5151
" " + config.test_extra_flags
5252
if config.has_omit_frame_pointer_flag:
5353
flags += " -fno-omit-frame-pointer"
54+
if config.target_arch == "s390x":
55+
flags += " -mbackchain"
5456

5557
config.test_flags = " -I " + config.omp_header_directory + flags
5658
config.test_flags_use_compiler_omp_h = flags

0 commit comments

Comments
 (0)