Added install script for Mac Silicon which compiles dart #206
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This script is based on the install_osx script. It compiles and install
dart
/dartpy
following the steps provided on the documentation.An ugly patch has been added to include <std.io> in a header (maybe it can be avoided if we force cmake to use g++ instead of clang which is used by default?)
Some environment variables have been changed/added (PYTHONPATH, DYLD_LIBRARY_PATH)
I did not add any additional installation in the script (like
cmake
,xquartz
orffmpeg
). These commands are all installable withhomebrew
but they might have been already installed by the user by other means (e.g.cmake
andxquartz
have they own PKG/DMG installers). To avoid any side effect to the user, I did not add any of these install in the script, but documentation should mention these programs as prerequisite.