You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
[AIX] [test-suite] Enable standard compatable mode on AIX
Summary: Since the current default `_ALL_SOURCE` causes numerous issues on AIX (e.g., typedef redefinition, unintended macro expansion), this patch changes the configuration to use standard-compatable mode by appending `XOPEN_SOURCE=700`. This flag is added to cflags for all the C test cases because a considerable number of C tests are affected by the `_ALL_SOURCE` problem. For one particular C++ test case that was also affected by `_ALL_SOURCE`, the flag is appended to the cxxflags in its sub-level CMakeLists.
Reviewers: hubert.reinterpretcast, daltenty
Reviewed By: daltenty
Subscribers: mgorny
Differential Revision: https://reviews.llvm.org/D82321
Copy file name to clipboardExpand all lines: MultiSource/Benchmarks/DOE-ProxyApps-C++/miniFE/CMakeLists.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
list(APPENDCXXFLAGS-I.-DMINIFE_SCALAR=double-DMINIFE_LOCAL_ORDINAL=int-DMINIFE_GLOBAL_ORDINAL=int-DMINIFE_CSR_MATRIX-DREDSTORM) # -DREDSTORM for mkdir
1
+
list(APPENDCXXFLAGS-I.-DMINIFE_SCALAR=double-DMINIFE_LOCAL_ORDINAL=int-DMINIFE_GLOBAL_ORDINAL=int-DMINIFE_CSR_MATRIX-DREDSTORM-D_XOPEN_SOURCE=700) # -DREDSTORM for mkdir
0 commit comments