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

Add build for arm64? #14

Open
andrewpauling opened this issue Jan 25, 2023 · 4 comments
Open

Add build for arm64? #14

andrewpauling opened this issue Jan 25, 2023 · 4 comments

Comments

@andrewpauling
Copy link

I noticed there is no build for arm64 on conda-forge for Macs with Apple Silicon. I managed to build libmo_unpack and mo_pack from source successfully on an M1 Macbook Pro, but it would be nice if a build could be added to conda-forge.

@trexfeathers
Copy link
Contributor

Hi @andrewpauling, thanks for getting in touch.

I'm afraid the SciTools development team is stretched very thin at the moment, so we're unlikely to have resource for this in the short-/medium-term.

We will certainly keep this issue open - it's a useful record of a user requirement!

@andrewpauling
Copy link
Author

andrewpauling commented Jan 25, 2023

Hi @trexfeathers, thanks for the quick reply.

No problem, totally understand. In case it is helpful for someone who does eventually look at this or others who run into this problem, I was able to build and install libmo_unpack and mo_pack from source successfully on my M1 Mac by following the build recipe for OSX at https:/conda-forge/libmo_unpack-feedstock and the instructions for installation from source for mo_pack. I made a repo containing a script to build libmo_unpack and instructions for installing mo_pack into a conda environment at https:/andrewpauling/install_mo_pack_applesilicon. Hope someone finds it useful.

@bjlittle
Copy link
Member

For this we'd have to support building wheels, and cibuildwheel would be a friend here ... however, the immediate complication would be packaging the libmo_unpack pure C dependency first.

Not impossible, but needs some thought 🤔

@ocefpaf
Copy link
Member

ocefpaf commented Oct 20, 2023

Not impossible, but needs some thought 🤔

Maybe you can:

  1. build libmo_unpack for arm64, osx-arm64, etc using the conda-forge structure;
  2. build the wheel using the conda-forge package like in this.

That would get both wheel and conda package in sync and make it easier to maintain the extra c-libs builds in a single place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

4 participants