[NativeAOT] Support library mode with NativeAOT on iOS-like platforms#93658
[NativeAOT] Support library mode with NativeAOT on iOS-like platforms#93658ivanpovazan merged 6 commits intodotnet:mainfrom
Conversation
|
Tagging subscribers to this area: @directhex Issue DetailsThis PR enables support for building libraries for iOS-like platforms with NativeAOT. Changes
Additional notesTo test locally one can execute the following from the repo root directory:
Fixes #88737
|
|
|
|
/azp run runtime-ioslikesimulator |
|
Azure Pipelines successfully started running 1 pipeline(s). |
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
Outdated
Show resolved
Hide resolved
5089847 to
2f65e3b
Compare
43f2655 to
9ef633d
Compare
|
/azp run runtime-ioslikesimulator |
|
/azp run runtime-ioslike |
|
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-ioslikesimulator |
|
Azure Pipelines successfully started running 1 pipeline(s). |
am11
left a comment
There was a problem hiding this comment.
Two optional nits, otherwise looks great! 👍
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
Outdated
Show resolved
Hide resolved
src/tests/FunctionalTests/iOS/Device/LibraryMode/iOS.Device.LibraryMode.Test.csproj
Outdated
Show resolved
Hide resolved
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
17e5aed to
22235dd
Compare
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
The CI failures are unrelated. @steveisok @rolfbjarne @jkotas could you please take another look as we would like to get this in for |
The changes in the shared native AOT files LGTM. |
MichalStrehovsky
left a comment
There was a problem hiding this comment.
nativeaot/BuildIntegration looks good to me too!
This PR enables support for building libraries for iOS-like platforms with NativeAOT.
Changes
AppleAppBuilderto support bundling in library mode for both MonoAOT and NativeAOTAppleAppBuilderto support bundling in library mode when targeting iOS-like devicessrc/tests/FunctionalTests/iOS/Simulator/LibraryModefor testing the library mode oniossimulators-arm64/x64with NativeAOT - currently this only works locally please see comments in the project file for more infosrc/tests/FunctionalTests/iOS/Device/LibraryModefor testing the library mode onios-arm64for both MonoAOT and NativeAOTAdditional notes
To test locally one can execute the following from the repo root directory:
Test
MonoAOTlibrary mode onios-arm64:Test
NativeAOTlibrary mode onios-arm64:Documentation
Fixes #88737