NCAR/pyngl

Mac M1/ARM build?

whannah1 opened this issue · 3 comments

I just tried to create a conda env for PyNGL on an M1 macbook and got this error:

>conda install pyngl --channel conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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

  - pyngl

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

I assume this means PyNGL hasn't been built for this architecture?
Is something that can be remedied even though PyNGL is in maintenance mode?

Hi @whannah1 , yes we didn't build PyNGL for ARM architecture and unfortunately we don't have the resource to do that or look into it in the future. Sorry!

@whannah1, I added pyngl to the automatic migrators on the conda-forge side and it is now waiting approval here: conda-forge/pyngl-feedstock#27 after the maintainers got ncl through. We will want to test these build locally once they are through though to ensure they actually work. They're technically cross-compiled in the conda-forge ecosystem

Available now, but broken with: ngl/fplib.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '___aarch64_ldadd4_relax'

conda-forge/pyngl-feedstock#30