Skip to content

Conversation

davidwrighton
Copy link
Member

  • A new ItemList (PublishReadyToRunPgoFiles) can be used to specify a custom list of Mibc files
  • Any Mibc files defined in associated RuntimePacks via a RuntimeAsset with AssetType PgoData will also be included
    • This behavior can be disabled by setting PublishReadyToRunUseRuntimePackOptimizationData to false

@ghost
Copy link

ghost commented May 21, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@davidwrighton
Copy link
Member Author

See related PR dotnet/arcade#7425 for logic around RuntimeList.xml generation
@dotnet/crossgen-contrib

<ItemGroup>
<_ReadyToRunPgoFiles Include="@(PublishReadyToRunPgoFiles)" />
<_ReadyToRunPgoFiles Include="@(RuntimePackAsset)"
Condition="'%(RuntimePackAsset.AssetType)' == 'pgodata' and '%(RuntimePackAsset.Extension)' == '.mibc' and ('$(PublishReadyToRunUseRuntimePackOptimizationData)' == 'true' or '$(PublishReadyToRunUseRuntimePackOptimizationData)' == '')" />
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Condition is not aligned with Include. I would either use '$(PublishReadyToRunUseRuntimePackOptimizationData)' != 'false' or default that property to true if not set.

Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@davidwrighton davidwrighton merged commit 751fb14 into dotnet:main May 27, 2021
davidwrighton added a commit to davidwrighton/sdk that referenced this pull request May 27, 2021
- A new ItemList (PublishReadyToRunPgoFiles) can be used to specify a custom list of Mibc files
- Any Mibc files defined in associated RuntimePacks via a RuntimeAsset with AssetType PgoData will also be included
This behavior can be disabled by setting PublishReadyToRunUseRuntimePackOptimizationData to false
davidwrighton added a commit that referenced this pull request May 27, 2021
…he SDK (#17930)

Port #17769 to preview 5.

- A new ItemList (PublishReadyToRunPgoFiles) can be used to specify a custom list of Mibc files
- Any Mibc files defined in associated RuntimePacks via a RuntimeAsset with AssetType PgoData will also be included
This behavior can be disabled by setting PublishReadyToRunUseRuntimePackOptimizationData to false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants