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

Disable AVX2 in macOS ARM wheels #483

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

jakirkham
Copy link
Member

As AVX2 is an x86_64 feature, ARM understandably doesn't have it. However for some reason macOS ARM wheels are building with this functionality enabled. So disable it in pyproject.toml. Hopefully this should fix that issue.

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)

As AVX2 is an `x86_64` feature, ARM understandably doesn't have it.
However for some reason macOS ARM wheels are building with this
functionality enabled. So disable it in `pyproject.toml`. Hopefully this
should fix that issue.
@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

Merging #483 (974e60e) into main (28d5733) will increase coverage by 0.04%.
The diff coverage is n/a.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #483      +/-   ##
===========================================
+ Coverage   99.95%   100.00%   +0.04%     
===========================================
  Files          56        56              
  Lines        2241      2242       +1     
===========================================
+ Hits         2240      2242       +2     
+ Misses          1         0       -1     

see 2 files with indirect coverage changes

@jakirkham jakirkham merged commit 05a54d9 into zarr-developers:main Oct 17, 2023
25 checks passed
@jakirkham jakirkham deleted the disable_avx2_macos_arm branch October 17, 2023 02:30
DimitriPapadopoulos pushed a commit to DimitriPapadopoulos/numcodecs that referenced this pull request Aug 10, 2024
As AVX2 is an `x86_64` feature, ARM understandably doesn't have it.
However for some reason macOS ARM wheels are building with this
functionality enabled. So disable it in `pyproject.toml`. Hopefully this
should fix that issue.
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.

Sporadic AVX2 failures on macOS CI
1 participant