sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Add support to consume JIT Nuget package

Open gkhanna79 opened this issue 10 years ago • 12 comments

We intend to load the JIT dynamically, as opposed to static linking, for the defaults. Thus, the following needs to happen:

  1. CLI will need to be updated to consume the same when it invokes crossgen to precompile the SharedFX

  2. SharedFX Meta package would need to be updated to ensure it carries clrjit.dll

  3. Publish of standalone application also publishes clrjit.dll

CC @schellap @piotrpMSFT @pgavlin @russellhadley

gkhanna79 avatar May 03 '16 04:05 gkhanna79

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).

gkhanna79 avatar May 20 '16 18:05 gkhanna79

@markwilkie Do we have clarity on whether we will be using the new build pipeline or the closed build?

gkhanna79 avatar May 20 '16 20:05 gkhanna79

@piotrpMSFT @Sridhar-MS Have you picked up post-RC2 SharedFW package within CLI?

gkhanna79 avatar May 20 '16 20:05 gkhanna79

@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

markwilkie avatar May 20 '16 20:05 markwilkie

@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.

gkhanna79 avatar May 24 '16 22:05 gkhanna79

@schellap Is this addressed?

gkhanna79 avatar Jun 06 '16 16:06 gkhanna79

This is addressed, yes, left it open for end to end validation to go through.

schellap avatar Jun 06 '16 16:06 schellap

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

eerhardt avatar Jun 08 '16 04:06 eerhardt

Thanks @eerhardt. Is there anything outstanding for this issue?

gkhanna79 avatar Jun 08 '16 04:06 gkhanna79

The only thing that I can think of is @schellap's comment above for end to end validation.

@schellap has this occurred?

eerhardt avatar Jun 08 '16 17:06 eerhardt

@schellap?

TheRealPiotrP avatar Jun 08 '16 20:06 TheRealPiotrP

Closing... since CLI is consuming the rc3 bits with this change.

schellap avatar Jun 08 '16 20:06 schellap