-
Notifications
You must be signed in to change notification settings - Fork 118
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
Add support for macOS arm64 wheels #1649
Conversation
alexsavulescu
commented
Feb 21, 2022
•
edited
Loading
edited
- update build_wheels.bash logic for osx wheels
- add build_static_readline_osx.bash
- fix neurondemo for arm64
- update docs
* update build_wheels.bash logic for osx wheels * add build_static_readline_osx.bash * fix neurondemo for arm64 * update docs Co-authored-by: Pramod Kumbhar <pramod.s.kumbhar@gmail.com>
Have done sanity checks ( NEURON_nightly-8.0a747-cp310-cp310-macosx_11_0_arm64.whl.zip |
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.
There is a lot here I don't understand. Can't really do a substantive review. Perhaps I should finish off my last question about MACOS_DEPLOYMENT_TARGET for #1570 . It is not clear to me why this has to be limited to arm64.
We were focusing on getting wheels support for |
libnrnmech_dir=$instdir/share/nrn/demo/release/x86_64 | ||
if [[ `uname -m` == 'arm64' ]]; then | ||
libnrnmech_dir=$instdir/share/nrn/demo/release/arm64 | ||
else | ||
libnrnmech_dir=$instdir/share/nrn/demo/release/x86_64 | ||
fi |
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.
libnrnmech_dir=$instdir/share/nrn/demo/release/`uname -m`
?
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.
heh, tempting! but for legacy reasons I'd rather not ..
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.
In the context of Arm64 I am thinking about @tristan0x's suggestion because on circleci-arm we now have aarch64
😒. Looking at CMake docs:
So this definitely needs more care!
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.
Tbh, I'd like to see the platform disappear entirely.
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 completely agree, but that would be for next (major) release. But as we started doing fixes for Apple M1 and AArch64, we need to such changes anyway. (I will PR circle-ci soon)
* always export MACOSX_DEPLOYMENT_TARGET=10.9
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1649 +/- ##
==========================================
+ Coverage 45.16% 45.20% +0.03%
==========================================
Files 551 551
Lines 111189 111189
==========================================
+ Hits 50217 50261 +44
+ Misses 60972 60928 -44 ☔ View full report in Codecov by Sentry. |
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.
LGTM