Skip to content

Haiku: Configuration support - #86391

Merged
jkotas merged 1 commit into
dotnet:mainfrom
trungnt2910:dev/trungnt2910/haiku-config
Oct 24, 2023
Merged

Haiku: Configuration support#86391
jkotas merged 1 commit into
dotnet:mainfrom
trungnt2910:dev/trungnt2910/haiku-config

Conversation

@trungnt2910

Copy link
Copy Markdown
Contributor

Added more support for configuration for Haiku cross-compile builds.

This commit adds recognition for Haiku as a supported platform in various build and configuration files.

For CMake files, this change adds additional guards for non-POSIX headers, functions, and struct members, most notably the <ucontext.h> header. (According to the latest POSIX standard, ucontext_t should be defined in <signal.h>, while <ucontext.h> is no longer mandated). -ldl is also replaced with ${CMAKE_DL_LIBS} since Haiku does not have libdl.

Part of #55803.

@ghostghost added community-contribution Indicates that the PR has been added by a community member needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels May 17, 2023
@trungnt2910
trungnt2910force-pushed the dev/trungnt2910/haiku-config branch 3 times, most recently from 8b9fb18 to af97252CompareMay 17, 2023 16:59
@vargaz

Copy link
Copy Markdown
Contributor

The mono changes look ok.

@trungnt2910
trungnt2910force-pushed the dev/trungnt2910/haiku-config branch from af97252 to 79b7330CompareMay 17, 2023 17:29
@runfoapprunfoappBot mentioned this pull request May 17, 2023
@trungnt2910
trungnt2910force-pushed the dev/trungnt2910/haiku-config branch from 79b7330 to 3b981e8CompareMay 18, 2023 00:31
@trungnt2910
trungnt2910force-pushed the dev/trungnt2910/haiku-config branch from 3b981e8 to 2c315d5CompareMay 26, 2023 13:37
@trungnt2910
trungnt2910force-pushed the dev/trungnt2910/haiku-config branch from 2c315d5 to e8d4f3cCompareMay 28, 2023 12:35
@danmoseleydanmoseley added area-Infrastructure-coreclr Only use for closed issues and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jun 1, 2023
@ghost

ghost commented Jun 1, 2023

Copy link
Copy Markdown

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

Added more support for configuration for Haiku cross-compile builds.

This commit adds recognition for Haiku as a supported platform in various build and configuration files.

For CMake files, this change adds additional guards for non-POSIX headers, functions, and struct members, most notably the <ucontext.h> header. (According to the latest POSIX standard, ucontext_t should be defined in <signal.h>, while <ucontext.h> is no longer mandated). -ldl is also replaced with ${CMAKE_DL_LIBS} since Haiku does not have libdl.

Part of #55803.

Author:trungnt2910
Assignees:-
Labels:

area-Infrastructure-coreclr, community-contribution, os-haiku

Milestone:-

@trungnt2910
trungnt2910force-pushed the dev/trungnt2910/haiku-config branch 5 times, most recently from 91e7d16 to 98090daCompareJuly 31, 2023 06:55
Comment threadsrc/libraries/System.Data.Odbc/src/System.Data.Odbc.csproj Outdated
Comment threadsrc/libraries/Microsoft.NETCore.Platforms/src/runtime.json Outdated

@am11am11 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! :shipit:

Comment threadsrc/tests/Directory.Build.props Outdated
@trungnt2910
trungnt2910force-pushed the dev/trungnt2910/haiku-config branch from e5ba96e to a0efe97CompareOctober 23, 2023 01:54

@jkotasjkotas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Any concerns with getting this PR merged?

@ViktorHoferViktorHofer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The libraries changes look good to me. I would like to change the four touched projects (Net.Http, Net.NetworkInformation, Net.Security and Serialization.Formatters) in the future so that we don't have to introduce new platform TFMs.

@jkotas

Copy link
Copy Markdown
Member

@trungnt2910 Could you please resolve the conflict?

Added more support for configuration for Haiku cross-compile
builds.
@trungnt2910
trungnt2910force-pushed the dev/trungnt2910/haiku-config branch from a0efe97 to 7338ea4CompareOctober 24, 2023 00:48
@trungnt2910

Copy link
Copy Markdown
ContributorAuthor

@trungnt2910 Could you please resolve the conflict?

Done.

@jkotas

Copy link
Copy Markdown
Member

@trungnt2910 Thank you!

@jkotas
jkotas merged commit d775a3b into dotnet:mainOct 24, 2023
@ghostghost locked as resolved and limited conversation to collaborators Nov 23, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure-coreclrOnly use for closed issuescommunity-contributionIndicates that the PR has been added by a community memberos-haiku

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@trungnt2910@vargaz@jkotas@dsplaisted@tmds@akoeplinger@am11@ViktorHofer@AaronRobinsonMSFT@elinor-fung@danmoseley