-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Enable osx_arm64 #32
Enable osx_arm64 #32
Conversation
…nda-forge-pinning 2024.01.19.09.00.57
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
…nda-forge-pinning 2024.01.19.09.00.57
Same error as in #25, swig does not like the CPU |
Maybe try to add |
No luck @hadim! Also tried to add this to conda-forge.yaml: test_on_native_only: true |
I tested locally with an M3 and the build works. It means it's indeed related to cross-compilation. But not sure what is causing this... |
I reckon it is related with swig, a build tool, being downloaded for arm64, but we need it compiled for the build machine. Is there a way to download a package for the host architecture? |
Here's the corresponding section from the openmm-torch recipe, which successfully cross-compiles. requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- numpy >=1.19 # [build_platform != target_platform]
- swig <4.1 # [build_platform != target_platform]
- pytorch # [build_platform != target_platform]
- pytorch =*={{ torch_proc_type }}* # [build_platform != target_platform]
- openmm >=8.0.0 # [build_platform != target_platform]
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} # [cuda_compiler_version not in (undefined, 'None')]
- {{ cdt('mesa-libgl-devel') }} # [linux]
- cmake
- make The one obvious difference is that it also includes OpenMM. Try adding - openmm >=8.1.0 # [build_platform != target_platform] Note that OpenMM-Plumed now requires 8.1 or later |
I wonder why the same does not work here as in OpenMM-Torch.... |
omg, I fixed arm but broke the other one -.- |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2024.01.31.07.41.50
Looks like I pulled it off! |
I am not a maintainer but it looks good to me. |
Oh right -.- |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)Closes #25