-
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
Enable aligned_alloc on macOS #94298
Conversation
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsFixes #54296
|
@@ -608,14 +607,10 @@ elseif(CLR_CMAKE_TARGET_ANDROID) | |||
elseif(CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI) | |||
set(HAVE_FORK 0) | |||
else() | |||
if(CLR_CMAKE_TARGET_OSX) | |||
unset(HAVE_ALIGNED_ALLOC) # only exists on OSX 10.15+ |
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.
Our minimum supported macOS version is 10.15 so this block is no longer needed.
Tagging subscribers to 'os-ios': @steveisok, @akoeplinger, @kotlarmilos Issue DetailsFixes #54296
|
/azp run runtime-ioslike |
Azure Pipelines successfully started running 1 pipeline(s). |
@kotlarmilos @ivanpovazan Could you please review and approve? |
src/native/libs/configure.cmake
Outdated
@@ -581,23 +581,22 @@ if(CLR_CMAKE_TARGET_IOS) | |||
# Manually set results from check_c_source_runs() since it's not possible to actually run it during CMake configure checking | |||
unset(HAVE_SHM_OPEN_THAT_WORKS_WELL_ENOUGH_WITH_MMAP) | |||
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) |
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.
@akoeplinger could this change cause issues related to: #73650
Co-authored-by: Adeel Mujahid <[email protected]>
Fixes #54296