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

Suppress Aarch64 GCC >= 10.1 warnings #1185

Merged
merged 3 commits into from
Feb 19, 2024
Merged

Suppress Aarch64 GCC >= 10.1 warnings #1185

merged 3 commits into from
Feb 19, 2024

Conversation

ptheywood
Copy link
Member

Suppresses psABI warnings on aarch64 using GCC >= 10.1.

Unfortunately had to be applied project-wide as #pragma GCC diagnostic ignored "-Wpsabi" did not work (Attempt and reversion left in the PR for reference, but should be squash merged).

Closes #1176

@ptheywood ptheywood requested review from Robadob and mondus February 15, 2024 17:17
Copy link
Member

@Robadob Robadob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems as narrow as feasible (based on your desc).

Iirc, you added this processor arch to CI? (hard to check on my phone in parallel). So should be fine.

Squash when merging please.

@ptheywood
Copy link
Member Author

ptheywood commented Feb 16, 2024

Iirc, you added this processor arch to CI? (hard to check on my phone in parallel). So should be fine.

Not yet, we potentially can by emulating it with cmake cross compilation or QEMU that might allow us to make aarch python wheels, but that will take more time than I have right now (issue #1174).

I did make sure that I used the CMake var for the architecture that matches the target not the host during cross compilation too.

@Robadob
Copy link
Member

Robadob commented Feb 16, 2024 via email

@ptheywood
Copy link
Member Author

Yep, tested manually on a grace-hopper node, with 2 versions of GCC.

@ptheywood ptheywood merged commit b0ec5f3 into master Feb 19, 2024
20 checks passed
@ptheywood ptheywood deleted the aarch64-warnings branch February 19, 2024 12:44
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.

Warnigns to fix (aarch64)
2 participants