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

Fix libpng build error on macOS arm64 #37613

Merged
merged 3 commits into from
May 11, 2023

Conversation

climbfuji
Copy link
Contributor

Description

See JCSDA/spack-stack#572 for the error and JCSDA#265 for the bug fix that went into our fork first. I cherry-picked the commits directly to avoid merge conflicts later on.

Tested successfully on our own macOS laptops with M1 / arm64 native architecture.

@srherbener @scheibelp

@climbfuji climbfuji marked this pull request as ready for review May 11, 2023 16:27
@climbfuji climbfuji requested a review from scheibelp May 11, 2023 16:27
Copy link
Contributor

@AlexanderRichert-NOAA AlexanderRichert-NOAA left a comment

Choose a reason for hiding this comment

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

Looks like this should (additionally) be reported as a bug to libpng, as the ARM NEON optimizations appear to be an experimental feature only supported on Linux.

@scheibelp scheibelp enabled auto-merge (squash) May 11, 2023 17:30
@scheibelp scheibelp merged commit 0e87243 into spack:develop May 11, 2023
@climbfuji climbfuji deleted the feature/libpng_macos_arm64 branch May 15, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants