Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Update codeOptimization targets #2196

Merged
merged 1 commit into from
Nov 6, 2018

Conversation

DrewScoggins
Copy link
Member

This change has two parts to it. The first is fixing a breaking change
that was introduced with the Arcade work in CoreFX. The restore target
that we had for brining down the IBC data was relying on the sync
target which was removed. It now follows the restore target.

The second piece is work that allows us to specify the IBC data package
that we will pull down depending on whether we are doin application for
Linux or Windows.

@DrewScoggins
Copy link
Member Author

PTAL @weshaggard @adiaaida @maririos

@michellemcdaniel
Copy link

LGTM

@@ -84,7 +85,7 @@

<!-- We need the OptimizationData package in order to be able to optimize the assembly -->
<Target Name="RestoreOptimizationDataPackage"
BeforeTargets="Sync"
BeforeTargets="Restore"
Copy link
Member

Choose a reason for hiding this comment

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

Please just remove this we should avoid this "magic" hook-up because we will easily break it if we don't look for it.

Choose a reason for hiding this comment

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

How would you suggest these targets get called?

Copy link
Member

Choose a reason for hiding this comment

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

Actually you should be careful about changing this at all. If there are other repo's still hooking this up with Sync either changing it or removing will break those.

Copy link
Member

Choose a reason for hiding this comment

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

How would you suggest these targets get called?

It should be explicitly pulled in like I did in dotnet/corefx#33076.

This work allows us to specify the IBC data package that we will
pull down depending on whether we are doing application for
Linux or Windows.
@DrewScoggins
Copy link
Member Author

I decided to just remove the dependency on Sync, since we are calling this explicitly . @weshaggard

@DrewScoggins DrewScoggins merged commit fd4d0dc into dotnet:master Nov 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants