-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Use and support OpenSSL 3 on macOS #68045
Conversation
Tagging subscribers to this area: @dotnet/runtime-infrastructure Issue DetailsThis changes macOS builds and runs to use OpenSSL 3, as well as support it for pkg-config.
|
c86ec4e
to
554294c
Compare
@EgorBo Good thinking. Thank you! |
Somehow
nor on download, but there's 3 places its downloaded and all are failing so that's presumably fine.
then they all fail with
@MattGal have you ever seen something like this? |
Maybe after zipping we should have something like doing that manually I get this -- suggesting the file just wasn't completely uploaded.
|
This has been seen before in #67159 so at least there appears to be a tracking issue for it. |
Well I clicked rerun failed jobs, in case you can't @vcsjones |
Thanks @danmoseley. Looks like it failed again, I wonder if those re-runs just re-used whatever bad asset was produced. I'll push up an empty commit. |
I think this is the one that @krwq is currently root causing. |
This looks good to me, the |
I'm not sure who has context here to review. @wfurt? |
Is OpenSSL3 available on all supported versions @vcsjones. And what happen to uses who upgrade .NET but not existing OpenSSL? |
No version of macOS comes with a useable version of OpenSSL. We still need it for building locally though. So this PR allows using OpenSSL 3, in addition to 1.1, for local builds. At run time, it's an optional dependency. If present, it lights up some functionality like
Let me double check that this works. I think we use a portable build for macOS, so it should just "work". In the mean time, I'll mark this as draft to verify that scenario. |
Thanks. If we can verify that that it does not break existing uses I'm fine with moving forward. |
Developers today have to tell us which version of OpenSSL they want to use. If they wanted to use .NET 6 today with OpenSSL 3 on macOS, they could:
So all this change is doing is changing what we install with CI and what headers are available for compiling. If we want to wait for @bartonjs to confirm I'm not overlooking anything, I'm okay with that. |
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
* Use OpenSSL 3 on macOS * Update documentation * Restart CI
Belatedly, this seems OK to me 😄. |
This changes macOS builds and runs to use OpenSSL 3, as well as support it for pkg-config.