Skip to content

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented Nov 2, 2023

Fixes #54296

@ghost
Copy link

ghost commented Nov 2, 2023

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #54296

Author: jkotas
Assignees: -
Labels:

area-System.Runtime.InteropServices

Milestone: -

set(HAVE_FORK 0)
else()
if(CLR_CMAKE_TARGET_OSX)
unset(HAVE_ALIGNED_ALLOC) # only exists on OSX 10.15+
Copy link
Member Author

Choose a reason for hiding this comment

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

Our minimum supported macOS version is 10.15 so this block is no longer needed.

@jkotas jkotas requested a review from kotlarmilos November 2, 2023 13:31
@lambdageek lambdageek added os-mac-os-x macOS aka OSX os-ios Apple iOS labels Nov 2, 2023
@ghost
Copy link

ghost commented Nov 2, 2023

Tagging subscribers to 'os-ios': @steveisok, @akoeplinger, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #54296

Author: jkotas
Assignees: jkotas
Labels:

area-System.Runtime.InteropServices, os-mac-os-x, os-ios

Milestone: -

@lambdageek lambdageek requested a review from steveisok November 2, 2023 18:20
@lambdageek
Copy link
Member

/azp run runtime-ioslike

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkotas
Copy link
Member Author

jkotas commented Nov 13, 2023

@kotlarmilos @ivanpovazan Could you please review and approve?

unset(HAVE_ALIGNED_ALLOC) # only exists on iOS 13+
unset(HAVE_CLOCK_MONOTONIC) # only exists on iOS 10+
unset(HAVE_CLOCK_REALTIME) # only exists on iOS 10+
set(HAVE_CLOCK_MONOTONIC)
Copy link
Member

Choose a reason for hiding this comment

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

@akoeplinger could this change cause issues related to: #73650

@jkotas jkotas merged commit 475c28e into dotnet:main Nov 14, 2023
@jkotas jkotas deleted the aligned_alloc branch November 27, 2023 18:28
@github-actions github-actions bot locked and limited conversation to collaborators Dec 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update SystemNative_AlignedAlloc to properly check aligned_alloc availability for Apple targets

7 participants