Uh oh!
There was an error while loading. Please reload this page.
[infra] Enable trimming on Helix for Apple mobile - #100669
Conversation
This commit introduces the EnableAggressiveTrimming parameter in the Apple mobile targets for build machines. It ensures that parameters and items used by the ILLink target are passed correctly.
This commit introduces the EnableAggressiveTrimming parameter in the proxy project. Additionally, it ensures that ILLink props and targets are included into the payload.
This commit adds ILLink descriptor files to preserve types needed for tests. Additionally, it disables tests that are not trim-compatible.
kotlarmilos
commented
Apr 5, 2024
/azp run runtime-ioslike |
|
Azure Pipelines successfully started running 1 pipeline(s). |
kotlarmilos
commented
Apr 5, 2024
/azp run runtime-ioslike |
|
Azure Pipelines successfully started running 1 pipeline(s). |
kotlarmilos
commented
Apr 5, 2024
/azp run runtime-ioslike |
|
Azure Pipelines successfully started running 1 pipeline(s). |
kotlarmilos
commented
Apr 5, 2024
/azp run runtime-ioslike |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
mdh1418
commented
Apr 5, 2024
Are we going to still run iOSlike tests without |
steveisok
commented
Apr 5, 2024
Since customers could theoretically turn it off, there is value in running w/o trimming. I don't think it needs to be run anywhere except the rolling build. |
kotlarmilos
commented
Apr 11, 2024
/azp run runtime-ioslike |
|
Azure Pipelines failed to run 1 pipeline(s). |
kotlarmilos
commented
Apr 11, 2024
/azp run runtime-ioslike |
|
Azure Pipelines failed to run 1 pipeline(s). |
kotlarmilos
commented
Apr 11, 2024
/azp run runtime-ioslike |
|
Azure Pipelines successfully started running 1 pipeline(s). |
kotlarmilos
commented
Apr 11, 2024
The trimming is enabled by default on PR builds and disabled on rolling builds. |
ivanpovazan
left a comment
There was a problem hiding this comment.
I believe the only thing that is left is to remove references to EnableSoftTrimming.
Other than that I think we are good to go!
kotlarmilos
commented
Apr 12, 2024
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
* Add ILLink support to build machines This commit introduces the EnableAggressiveTrimming parameter in the Apple mobile targets for build machines. It ensures that parameters and items used by the ILLink target are passed correctly. * Add ILLink support on Helix This commit introduces the EnableAggressiveTrimming parameter in the proxy project. Additionally, it ensures that ILLink props and targets are included into the payload. * Fix trimming-related test failures This commit adds ILLink descriptor files to preserve types needed for tests. Additionally, it disables tests that are not trim-compatible. * Fix ILLinkTasksAssembly path in AppleBuild.LocalBuild.props * Remove EnableSoftTrimming property --------- Co-authored-by: Ivan Povazan <ivan.povazan@gmail.com>
Description
This PR (fixes#91923) introduces the trimming of library tests on Helix for Apple mobile targets. With trimming enabled, the configuration more closely mirrors the experience of an end user when building Apple mobile applications.
This change results in a
20min (42%) reduction in CI job builds for iOS(a subset of tests) and a22min (18%) reduction for tvOS(the complete coverage).Initial work is available at #92719.
Test job run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=622954&view=results