-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Update gcc/gfortran to 12.x + Apple Silicon support, update openblas to 0.3.21, gsl to 2.7.1 #33816
Comments
comment:1
Looks like homebrew is able to use upstream gcc 12 on M1 - https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/[email protected] |
comment:2
... with one big patch: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/[email protected]#L43 |
This comment has been minimized.
This comment has been minimized.
Commit: |
Author: Matthias Koeppe |
comment:7
I don't know if this is ready yet but I tried it anyway on my new M2 laptop. It failed; the end of the log file reads
I can post the full log file if you want. |
comment:8
Thanks for testing. Also on Intel I ran into a build error. This will need more work. |
comment:9
I'm happy to test. It's just a MacBook Air, but it builds Sage faster than my iMac Pro, and I like giving it tasks. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
On Intel, this still fails The failure when trying to build |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
This builds for me now on Intel. Haven't tested anything else yet |
comment:15
Still fails for me on m2. |
comment:16
full log please |
comment:17
Hold on, I tried |
comment:18
|
comment:19
Great! I think we can ignore the failure to build gcc. We haven't been testing those in quite a while |
comment:55
Replying to Matthias Köppe:
Actually, a typo was the cause. Fixed now |
comment:57
2nd stage running now at https://github.com/mkoeppe/sage/actions/runs/3108109396/jobs/5036946542 |
comment:58
Replying to Matthias Köppe:
(although 4 timed out) |
comment:59
There are some failures, I'll have to investigate what's going on there. |
comment:60
Looks like the failures are only due to a flaw in my new 2-stage workflow, related to the use of
|
comment:61
I've opened #34572 to improve this. |
comment:62
Do we need to test on OS X pre-Monterey? Otherwise, I'm ready to give this a positive review, at least from the OS X point of view. |
comment:63
A test on Catalina (10.15) ran at https://github.com/mkoeppe/sage/actions/runs/3094982845/jobs/5008934048, looks OK |
comment:64
I've manually tested I've also tested |
comment:65
So I think this is ready to go |
comment:66
Okay, let's merge it early in this release cycle, not that too many people are building our |
Changed reviewer from https://github.com/mkoeppe/sage/actions/runs/3094982876, https://github.com/mkoeppe/sage/actions/runs/3108109396/jobs/5036946542 to John Palmieri |
comment:67
Thanks! |
comment:68
Full run: http://build.sagemath.org/#/builders/15/builds/5 Flint testsuite dies on the kucalc buildbot (Ubuntu 16.04.5 LTS)
|
comment:69
Our web page https://trac.sagemath.org/wiki/ReleaseTours/sage-9.8#Configurationchanges says "Users of older Linux distributions (in particular, ubuntu-xenial or older, debian-stretch or older, linuxmint-18 or older) should upgrade their systems before attempting to install Sage from source." So does a test failure on Ubuntu 16.04 matter? |
comment:70
Yes, I think this buildbot should be updated to a supported configuration, for example using https://askubuntu.com/questions/1140183/install-gcc-9-on-ubuntu-18-04/1149383#1149383 |
comment:71
So do we just set this back to positive, or does someone have to do something with the buildbot first? |
Changed branch from u/mkoeppe/update_gcc_gfortran_to_12_x___apple_silicon_support to |
<!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> Since Sage 9.8, it is no longer required to use homebrew when building on M1/M2 because of: - sagemath#33816 Here we correct the README. - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36828 Reported by: Matthias Köppe Reviewer(s): John H. Palmieri
<!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> Since Sage 9.8, it is no longer required to use homebrew when building on M1/M2 because of: - sagemath#33816 Here we correct the README. - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36828 Reported by: Matthias Köppe Reviewer(s): John H. Palmieri
We would use 12.2.0 plus the feature patch for Apple Silicon support that the homebrew folks use:
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/gcc.rb#L12
Depends on #34266
Depends on #34228
CC: @culler @jhpalmieri @kliem
Component: packages: standard
Author: Matthias Koeppe
Branch/Commit:
e89ba55
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/33816
The text was updated successfully, but these errors were encountered: