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
Build for Apple Silicon #1743
Build for Apple Silicon #1743
Conversation
Co-authored-by: Spitz <noella.spitz@ndw2544mac.isis.cclrc.ac.uk>
install_name_tool -change /usr/local/opt/ftgl/lib/libftgl.2.dylib @rpath/libftgl.2.dylib bin/dissolve-gui.app/Contents/MacOS/dissolve-gui | ||
|
||
cd ../ | ||
|
||
# Deploy Conan dependencies for ease | ||
mkdir deploy && cd deploy | ||
conan install .. -g deploy -s arch=armv8 | ||
|
||
# Copy over ftgl so it can be shipped with the bundle | ||
mkdir ftgl | ||
cp $(brew --prefix ftgl)/lib/libftgl.2.dylib ftgl | ||
cp $(brew --prefix ftgl)/lib/libftgl.2.1.3.dylib ftgl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding the rename and copy, would it be slightly neater to make our ftgl
dir (at the end of the stage), copy the libs, and then apply install_name_tool
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually realised its best to remove the install_name_tool call as it will not work without notorisation!
Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
Co-authored-by: Spitz <noella.spitz@ndw2544mac.isis.cclrc.ac.uk> Co-authored-by: Adam Washington <adam.washington@stfc.ac.uk> Co-authored-by: Tristan Youngs <tristan.youngs@stfc.ac.uk>
This PR introduces a GitHub workflow for apple silicon. This specific workflow is to be used on intel GH runners, as it is configured to crossbuild. Currently there is no codesigning step, so in order to open the application, you will have to run these commands first:
You may have to right click + 'Open' the first time in order to bypass security.
Notes
brew install ftgl