Skip to content
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

ppc64le build fixes + ibm-clang #2116

Open
wants to merge 1 commit into
base: release-v4.6.1
Choose a base branch
from

Conversation

jstrodtb
Copy link

@jstrodtb jstrodtb commented Oct 1, 2024

Updated build files for modern ppc64le, including undefining the "vector" macro and supporting ibm-clang. Previously, the ppc64le build would fail to compile.

TYPE: bug fix

KEYWORDS: ppc64le, gcc, build

SOURCE: Joshua Strodtbeck (Tachos High Performance Computing)

DESCRIPTION OF CHANGES:
Problem:
The old IBM XL compiler has been superseded by ibm-clang. Moreover, both gcc and ibm-clang define a macro called "vector" which causes the preprocessor to fail. Note that this fix depends on islas/cmake-fixSplitCommandFlags, which must be merged first, or the preprocessor fix won't work.

Solution:
Added ibm-clang and ppc64le gcc to

ISSUE: For use when this PR closes an issue.
N/A

LIST OF MODIFIED FILES: list of changed files (use git diff --name-status master to get formatted list)
arch/configure.defaults

TESTS CONDUCTED:
Compiled and ran conus2.5km on my Power9 box.

RELEASE NOTE: The latest IBM compiler, ibm-clang, is now supported.

@jstrodtb jstrodtb requested review from a team as code owners October 1, 2024 21:12
@jstrodtb jstrodtb changed the title ppc64le build ppc64le build fixes + ibm-clang Oct 1, 2024
@islas islas changed the base branch from master to release-v4.6.1 October 1, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant