Skip to content

Add linux aarch64 wheel build support - #289

Closed
odidev wants to merge 1 commit into
zarr-developers:mainfrom
odidev:odidev_numcodecs
Closed

odidev wants to merge 1 commit into
zarr-developers:mainfrom
odidev:odidev_numcodecs

Conversation

@odidev

@odidev odidev commented Oct 6, 2021

Copy link
Copy Markdown

Add linux aarch64 wheel build support.

Related to #288 @joshmoore Could you please review this PR?

@joshmoore
joshmoore requested a review from jakirkham October 6, 2021 06:14
@jthetzel

Copy link
Copy Markdown

What is needed to include this pull request in the master branch? Aarch64 wheels for Linux are convenient.

@joshmoore

Copy link
Copy Markdown
Member

Apologies, @odidev. I have no idea how I missed this originally! Never hesitate to re-ping or jump on https://gitter.im/zarr-developers/community -- I'll take a look ASAP.

@joshmoore joshmoore left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One small comment. Otherwise, seems like we should give it a try. @jakirkham?

- name: Build wheel for aarch64
if: ${{ matrix.arch == 'aarch64' }}
env:
CIBW_ENVIRONMENT: 'DISABLE_NUMCODECS_AVX2=1 DISABLE_NUMCODECS_SSE2=1'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could these have also be set in the setup.py rather than passing? Just wondering if having a single place to look would prevent future issues.

@joshmoore

Copy link
Copy Markdown
Member

Also looking at the conflict, @odidev and @jthetzel, any thoughts on the use of pypa/[email protected] from #309?

@jthetzel

Copy link
Copy Markdown

Also looking at the conflict, @odidev and @jthetzel, any thoughts on the use of pypa/[email protected] from #309?

Testing that at #315 . Please advise if not kosher. I get confused on best practices pull requesting against pull requests.

@joshmoore

Copy link
Copy Markdown
Member

@jthetzel: no worries. Git can take care of all of that. More important is the semantics of the explicit calls to cibuildwheel versus the pre-built action which I'm not familiar enough with to deciper ("without more effort"™️)

@jakirkham

Copy link
Copy Markdown
Member

Sorry for the lack of reply here. Thought I had already replied.

The main concern from my perspective is CI time is getting pretty long for the wheel builds ( #312 ). Would like to limit the builds for custom architectures, libc implementations, etc.. Namely not running on every commit, but only running if a label is added, some text in the commit, particular files changed, etc. Something to keep the build time manageable.

@rabernat

rabernat commented Jan 24, 2023 •

Copy link
Copy Markdown
Contributor

Edit: removed comment once I realized the discussion had moved to #315.

@jakirkham

Copy link
Copy Markdown
Member

Going to close in favor of PR ( #315 ), which is more up-to-date. Hopefully this more cleanly organizes discussion around this change. Thanks for the work @odidev! 🙏

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.

5 participants