Run IBCMerge on Linux build#36763
Conversation
MichalStrehovsky
commented
Apr 10, 2019
- Restores IBC data for both Linux and Windows on all platforms
- Chooses the right IBC data based on the target OS
- When target OS isn't anything specific (like, e.g. System.Linq and other assemblies that are not OS specific), embeds Windows IBC data
* Restores IBC data for both Linux and Windows on all platforms * Chooses the right IBC data based on the target OS * When target OS isn't anything specific (like, e.g. System.Linq and other assemblies that are not OS specific), embeds Windows IBC data
ericstj
left a comment
There was a problem hiding this comment.
Looks reasonable. Just double check your condition.
|
What is IBC data? |
Citing @MichalStrehovsky from Gitter: "IBC = Instrumented Block Counts. Basically, profile guided optimizations for managed code." |
|
This broke the official builds: https://dnceng.visualstudio.com/internal/_build/results?buildId=151325 |
|
Well that's interesting. The way this is supposed to work (and I actually tested this on both Windows and Linux in both configs) is that there are two options:
Obviously, there's a secret option 3: Ibcmerge was restored on the official build machine where ibcmerge.dll has a quantum state. This does not spark joy. |
This reverts commit ef2ee12.
|
Rollback in #36791. |
|
/cc @safern looks like this is a problem with the internal tools restore on linux. |
|
Just had a look at the different steps and there's definitely something wrong here: So it looks like the Linux legs don't even attempt to run nuget at all. |
|
Yes internal tools restore currently only works on Windows as we use nuget.exe in the yml step. Locally we use a crossplat solution. I will check what we can do here. |
I'm already in it... @chcosta is helping me set some service connections or an |
|
Given that #36840 has been merged, can we try enabling IBCMerge on Linux again? |
|
Yes 👍 |
|
#36924 has the revert of the revert. |
* Restores IBC data for both Linux and Windows on all platforms * Chooses the right IBC data based on the target OS * When target OS isn't anything specific (like, e.g. System.Linq and other assemblies that are not OS specific), embeds Windows IBC data Commit migrated from dotnet/corefx@ef2ee12
…refx#36791) This reverts commit dotnet/corefx@ef2ee12. Commit migrated from dotnet/corefx@8e84331