-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
linear_algebra PG: update options and BLIS variant; NTPoly: revbump to ensure correct linking #23395
Conversation
@szhorvat @catap What was the conclusion re MPICH on macOS 13? Apparently it is again (or still?) broken:
|
I don't really use MPICH (often had trouble building in the past), and I no longer have macOS 13, so unfortunately I have no input here. On macOS 14 with Xcode 15.3 and |
@szhorvat Yes, it is still needed on macOS 14, but should be removed for macOS 13. (At least going by results of CI on either. Locally I can only check macOS 14.) |
@reneeotten @pmetzger Unless this PR is merged, we won’t be able to update any MPICH ports, since CI will fail on macOS 13. |
Can you explain what the change to the portgroup does? |
@pmetzger The earlier version did not work in a way I thought it was. What we need is to make sure that the selected BLAS is linked to, even when multiple implementations are available. And we need to be able to override PG defaults when needed. And when that is done, it should actually link to the correct BLAS. With the earlier version, for example, I had NTPoly claiming This one seems to work correctly. |
@pmetzger @reneeotten Maybe this can be merged? It is needed for other ports too. UPD. Now this cannot be updated too: #23510 |
It seems highly unlikely that the need for this flag would be based on the OS version. Surely it is based entirely on whether you are using the Xcode 15 or later linker. The condition in the portgroup was: if Xcode 15 or later or the Xcode 15 command line tools or later are installed, then use On the macOS 13 GitHub Actions runner, according to CI logs, it has So, the condition needs to be changed to: if |
It looks like the same problematic condition was copy/pasted into at least the gcc-devel, gcc11, gcc12, gcc13, sundials5, and root6 portfiles. |
I am not certain that checking |
@ryandesign To be honest I do not know how that Xcode checks work, and I can set that however it is appropriate, if someone can instruct me. What we need in result is that |
Well, does anyone have macOS 13 locally to confirm, what is the case? On CI now everything consistently fails, as long as @catap Kirill, could you actually test this? I think you had macOS 13. Otherwise we are in trouble, updates and, yet worse, fixes are blocked. |
To illustrate what happens now, I am trying to upgrade
It opportunistically picks |
This PR appears to be stalled. What can be done to move it forward that does not involve convincing people who don't want to work on something to work on it? |
@pmetzger What would you like to be changed? It should work fine as is. We can remove MPICH part, that can be done separately. I am more concerned about BLAS issue. |
@barracuda156 I will want to hear that @ryandesign and @reneeotten are satisfied. |
@pmetzger Well, @ryandesign issue was about I do not get why @reneeotten was unhappy about a comment in a port group. It certainly cannot hurt anyone to have it there. Re BLAS, let me run a few builds once again to make sure the problem does not show up, that I will do today soon. |
I close this for a bit, needs more testing. Gonna make a new PR in a couple of days. |
Description
Update PG and
NTPoly
port to ensure correct linking.Type(s)
Tested on
macOS 14.4.1
Xcode 15.3
Verification
Have you
port lint --nitpick
?sudo port test
?sudo port -vst install
?