New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[openmp][AIX]Initial changes for porting to AIX #76841
Conversation
✅ With the latest revision this PR passed the C/C++ code formatter. |
- group ppc closer to ppc64
- Add check for AIX for adding libatomic for 32-bit PPC - Remove macro definitions TIMEVAL_TO_TIMESPEC and TIMESPEC_TO_TIMEVAL for AIX.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patch generally looks good to me. We can improve things as we go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as a start towards AIX support.
This PR contains initial changes for building and testing libomp on AIX. More changes will follow. - `KMP_OS_AIX` is defined for the AIX platform - `KMP_ARCH_PPC` is defined for 32-bit PPC - `KMP_ARCH_PPC_XCOFF` and `KMP_ARCH_PPC64_XCOFF` are for 32- and 64-bit XCOFF object formats respectively - Assembly file `z_AIX_asm.S` is used for AIX specific assembly code and will be added in a separate PR - The target library is disabled because AIX does not have the device support - OMPT is temporarily disabled
This PR contains initial changes for building and testing libomp on AIX. More changes will follow.
KMP_OS_AIX
is defined for the AIX platformKMP_ARCH_PPC
is defined for 32-bit PPCKMP_ARCH_PPC_XCOFF
andKMP_ARCH_PPC64_XCOFF
are for 32- and 64-bit XCOFF object formats respectivelyz_AIX_asm.S
is used for AIX specific assembly code and will be added in a separate PR