Add OpenHarmony platform identity and exclude unsupported NUMA calls - #134670
Merged
Merged
Conversation
Split out from dotnet#132827 (per review) so these changes can land independently of the shared-memory / named-mutex work. - OperatingSystem: report OPENHARMONY and add internal IsOpenHarmony() - System.Private.CoreLib.Shared.projitems: define TARGET_OPENHARMONY when TargetsOpenHarmony is set (the MSBuild property comes with dotnet#132953) - numasupport: compile out the get_mempolicy/mbind paths on OpenHarmony, where the syscalls are unavailable (same treatment as Android)
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @dotnet/area-system-runtime |
jkotas
approved these changes
Sep 26, 2026
springmin
added a commit
to springmin/runtime-ohos
that referenced
this pull request
Sep 28, 2026
- merge-tree 39/39 clean; rebase rehearsal 20/21 clean (19 semantic SAME; platform-numa EMPTY = duplicate of merged dotnet#134670); only tls-flag-cleanup conflicts and stays dropped (absorbed by infra 8ef4e92) - playbook: replace the pre-rehearsal 17-branch order with the determined order + per-branch prerequisites; record upstream tip and rehearsal time - new rehearsal page: docs/plans/2026-09-28-ohos-upstream-rebase-rehearsal.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split out from #132827 per @jkotas' request — these are the changes that are not related to the shared-memory / named-mutex work, so they can land independently.
OperatingSystem: reportOPENHARMONYfromOSPlatformNameand addinternal IsOpenHarmony().System.Private.CoreLib.Shared.projitems: defineTARGET_OPENHARMONYwhenTargetsOpenHarmonyistrue(the MSBuild property is added by Add OpenHarmony/HarmonyOS build infrastructure #132953).numasupport: compile out theget_mempolicy/mbindNUMA paths on OpenHarmony, where the syscalls are unavailable (same treatment as Android).The remaining parts of #132827 (
SharedMemoryManager.Unix.cs,NamedMutex.Unix.cs,MutexTests.cs) will wait for @jkoritzinsky's shared-memory design changes.