-
Notifications
You must be signed in to change notification settings - Fork 48
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
Install robotology-superbuild natively on macOS arm64 (so-called "Apple Silicon") #916
Comments
First of all, we should track which dependencies are available on macOS on arm64. Due to #842, we are going to track this on conda, even if also Homebrew can install packages on macOS arm64 . We got the dependencies from https://github.com/robotology/robotology-superbuild/blob/8c81b4e310358db602c4fe834d19bf2aed8effa7/doc/conda-forge.md#create-an-environment-and-install-dependencies : Open source dependencies (provided by conda-forge):
Closed source dependencies:
|
Graph of missing dependencies as of 2021/11/06 from https://conda-forge.org/status/#armosxaddition : |
As described in the related issue, getting ace to work on |
This was solved completly thanks to: |
The only two missing dependencies are ACE (not a problem as the dependency on ACE of YARP can be skipped) and MATLAB/Simulink. |
Branch that adds Deps to install:
|
I am trying compiling on Apple Silicon, and SKIP_ACE compilation of YARP fails with:
|
The above problem was solved by adding a few |
Even by commenting that part, I tried to compile YARP but spawning models based on gazebo-yarp-plugins result in model never being spawned, so it appears that there are still a few problems. |
Fix for CMake:
|
As clear from https://github.com/robotology/robotology-superbuild/runs/5627657694, the SKIP_ACE + macOS problem is not specific to Apple Silicon but it happens also on macOS + amd64. |
Beta version available: https://twitter.com/walkingrandomly/status/1512103862198484998?s=20&t=Zw773YISc03-wZuY-nq3rg, MATLAB only for now, no Simulink. |
I submitted a PR upstream in robotology/yarp#2934 . |
@DanielePucci was able to run a iCub simulation on Gazebo Classic, so robotology/yarp#2934 worked fine. |
This was finally fix in conda-forge/ace-feedstock#29 . |
In the future, the amount of members of the lab or external contributors that may be arm-based mac computers will increase. It will be ideal to get ready for that point, with instructions that explain how to install the robotology-superbuild on macOS arm64 natively. In the mean time, it probably could make sense to clearly document how to install the robotology-superbuild on Rosetta2, but this is tracked in another issue: #915 .
The text was updated successfully, but these errors were encountered: