Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

add RID for new FreeBSD releases #41794

Merged
merged 2 commits into from
Oct 24, 2019
Merged

add RID for new FreeBSD releases #41794

merged 2 commits into from
Oct 24, 2019

Conversation

wfurt
Copy link
Member

@wfurt wfurt commented Oct 15, 2019

This adds entry for FreeBSD 12 (stable) and Freebsd 13 (snapshots)
I used #41397 as example and dropped minor versions so we will track only major releases like we do for Centos. Based on my testing, binaries build on 11.x works fine on 12 (with already submitted threading fix) so I see no reason to track them separate. I have not done testing on 13 but I assume it will be similar. When we did builds last time we used freebsd-x64

cc: @jasonpugsley

fixes #40865

@wfurt wfurt added the os-freebsd FreeBSD OS label Oct 15, 2019
@wfurt wfurt self-assigned this Oct 15, 2019
@@ -99,7 +99,7 @@
<RuntimeGroup Include="freebsd">
<Parent>unix</Parent>
<Architectures>x64</Architectures>
<Versions>11;11.0;11.1;11.2;11.3</Versions>
<Versions>11;12;13</Versions>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we've ever removed anything.... is that safe to do, @ericstj?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I imagine that would be breaking. We need to look at what the RID calculation algorithm is doing on those releases to understand if its safe to omit the minor version.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering the same. However never really had FreeBSD support so I thought it would be OK and easier to drag forward.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

core-setup/get_current_os_rid_platform will get freebsd.11 and freebsd.12 PlatformApis.GetOSVersion will do the same.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have any more thoughts on this @ericstj ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, if you've confirmed through testing that minor version is omitted from these and they are never actually used than I'm fine removing them.

@wfurt wfurt merged commit 32d103e into dotnet:master Oct 24, 2019
@wfurt wfurt deleted the freebsd_40865 branch October 24, 2019 17:19
@karelz karelz added this to the 5.0 milestone Dec 19, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
os-freebsd FreeBSD OS
Projects
None yet
4 participants