conda-forge / esmpy-feedstock

A conda-smithy repository for esmpy.
BSD 3-Clause "New" or "Revised" License
6 stars 15 forks source link

Possible to add osx-arm build? #55

Closed jbusecke closed 1 year ago

jbusecke commented 2 years ago

Comment:

I am not able to install this package on my M1 (Apple Silicone) macbook. When I do a conda search esmpy, I get only this:

No match found for: esmpy. Search: *esmpy*

PackagesNotFoundError: The following packages are not available from current channels:

  - esmpy

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

This is hampering my local development workflow quite a bit.

Would it be possible to add an Apple Silicone specific build?

I am not sure what this entails, but if there is anything I can help with, Id be happy to invest some time.

xylar commented 2 years ago

Not so far, see: https://github.com/conda-forge/esmf-feedstock/pull/75

None of the ESMF maintainers have expertise with debugging these OSX ARM problems and haven't been able to get help from elsewhere so far.

jbusecke commented 2 years ago

Oh yikes, that looks gnarly indeed. Thanks for the update.

durack1 commented 2 years ago

@jbusecke I'm in the same boat now, just upgraded to M1, so hopefully, this issue can be solved sometime in the near-term 🤞

durack1 commented 2 years ago

@jbusecke have you fiddled with a solution of creating a secondary osx-64/x86-64 conda env alongside your native osx-arm64? Not ideal, but it might get things working as an interim solution

jbusecke commented 2 years ago

Interesting. I have personally resorted to just using xesmf only on the pangeo cloud deployments, but thats not ideal either. Ill check this out when I need to use xesmf next time!

durack1 commented 2 years ago

@jbusecke looks like it might be a solved problem https://betterprogramming.pub/switching-between-multiple-conda-distributions-on-macos-b78b6b21720

jbusecke commented 2 years ago

Oh that is very interesting! Thanks for the hint.

xylar commented 1 year ago

Still working on this...

xylar commented 1 year ago

@zklaus took care of this in #65 !!!