Skip to content

Fix intermittent macOS GHA build issues w/AVX2 #482

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

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

jakirkham
Copy link
Member

@jakirkham jakirkham commented Oct 16, 2023

Lately there have been intermittent build issues on macOS GHA as AVX2 instructions are being used with the build. To fix this, try just turning off AVX2 on macOS GHA builds.

Fixes #473


TODO:

  • Unit tests and/or doctests in docstrings
  • Tests pass locally
  • Docstrings and API docs for any new/modified user-facing classes and functions
  • Changes documented in docs/release.rst
  • Docs build locally
  • GitHub Actions CI passes
  • Test coverage to 100% (Codecov passes)

Ideally this specification is not needed to pick up the right compiler
on macOS. So try dropping it to see if things still work.
Lately there have been intermittent issues on macOS GHA building with
AVX2 support on. So just turn it off. Hopefully this clears those
errors.
@jakirkham jakirkham enabled auto-merge (squash) October 16, 2023 20:20
@jakirkham
Copy link
Member Author

Configuring automerge so this can merge as soon as CI passes. Hopefully that will help us unstick the other fixes

Not worrying about a release note since this is just fixing our CI and so would likely be uninteresting to a user

@jakirkham jakirkham merged commit 28d5733 into zarr-developers:main Oct 16, 2023
@jakirkham jakirkham deleted the fix_gha_avx2 branch October 16, 2023 21:20
DimitriPapadopoulos pushed a commit to DimitriPapadopoulos/numcodecs that referenced this pull request Aug 10, 2024
* Try dropping `CC` on macOS GHA builds

Ideally this specification is not needed to pick up the right compiler
on macOS. So try dropping it to see if things still work.

* Disable AVX2 on macOS

Lately there have been intermittent issues on macOS GHA building with
AVX2 support on. So just turn it off. Hopefully this clears those
errors.
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.

Sporadic AVX2 failures on macOS CI
2 participants