Add support to consume JIT Nuget package
We intend to load the JIT dynamically, as opposed to static linking, for the defaults. Thus, the following needs to happen:
-
CLI will need to be updated to consume the same when it invokes crossgen to precompile the SharedFX
-
SharedFX Meta package would need to be updated to ensure it carries clrjit.dll
-
Publish of standalone application also publishes clrjit.dll
CC @schellap @piotrpMSFT @pgavlin @russellhadley
Doing this change also depends upon whether we are picking up the new build pipeline (which publishes CoreCLR package that depends upon JIt package) or using the Closed build for rtm (which carries JIT inside coreclr package).
@markwilkie Do we have clarity on whether we will be using the new build pipeline or the closed build?
@piotrpMSFT @Sridhar-MS Have you picked up post-RC2 SharedFW package within CLI?
@gkhanna79, yes - we should use the new build pipeline if at all possible. Confirming that this is a CoreCLR pipeline update? I'm not 100% sure the status of that bringup by Wil. We are wanting to switch over to the new pipeline for CoreFx today, and intend to have a good tested build by Monday assuming the product and tests build at all after forking. (We are also building from TFS over the weekend as a backstop)
cc @weshaggard
@schellap This also requires the host to be updated to pass the JIT path to the runtime if there is a case of loading CoreCLR when clrjit is not next to it. See https://github.com/dotnet/coreclr/commit/2385b697ea4eeaa7314fafd32415e943601211cf#diff-6202e77c14df46ab42fe3b629083b3a9 for details.
@schellap Is this addressed?
This is addressed, yes, left it open for end to end validation to go through.
The Crossgen change has been address in both core-setup and CLI repos. See:
https://github.com/dotnet/core-setup/pull/106/commits/a2857af7e34d5b2fceb2cdc5ea6c3b46a6f3e6d6 and https://github.com/dotnet/cli/pull/3425/commits/82ef0304bb2289f36a18c718b3e9f07d01992115
Thanks @eerhardt. Is there anything outstanding for this issue?
The only thing that I can think of is @schellap's comment above for end to end validation.
@schellap has this occurred?
@schellap?
Closing... since CLI is consuming the rc3 bits with this change.