You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move Libraries test host setup out of the Libraries product build #33128
Today, the setup of the libraries test host is done during the product build. This creates a dependency on the full CoreCLR or Mono build having been completed. The product build should just depend on getting a copy of System.Private.CoreLib to build against (either an implementation assembly or a ref assembly).
If this is implemented, then we can move the Libraries product build in PR/CI/Official builds to depend only on a job that builds System.Private.CoreLib and not on the CoreCLR or Mono builds. This will enable us to further parallelize our builds and shorten our official build times by 15-20 minutes.
cc: @dotnet/runtime-infrastructure
Reacted by Jared Parsons, Eric StJohn and Alan Pinkert
This is blocking most of the PR and CI time improvements possible from #33067 since the coreclr test build depends on the libraries build which (without this being fixed) depends on the coreclr product build.
The product build should just depend on getting a copy of System.Private.CoreLib to build against (either an implementation assembly or a ref assembly).
Worst case here we can segment the set of src libs that need a core-lib reference and build those separately from those which can build against our reference assemblies.
@jkoritzinsky is this something you're working on? Do we understand the dependencies of CoreLib project to know if this is technically feasible? /cc @safern@ViktorHofer
Activity
jkoritzinsky commentedon Mar 4, 2020
This is blocking most of the PR and CI time improvements possible from #33067 since the coreclr test build depends on the libraries build which (without this being fixed) depends on the coreclr product build.
jaredpar commentedon Mar 5, 2020
Love it.
ericstj commentedon Mar 5, 2020
Worst case here we can segment the set of src libs that need a core-lib reference and build those separately from those which can build against our reference assemblies.
ericstj commentedon Mar 14, 2020
@jkoritzinsky is this something you're working on? Do we understand the dependencies of CoreLib project to know if this is technically feasible? /cc @safern @ViktorHofer
mangod9 commentedon Apr 1, 2020
I believe my PR #34166 should help with this, and pretest.proj can we removed from the libraries build.
ViktorHofer commentedon Jun 16, 2020
@jkoritzinsky this should already be done with the introduced clr.corelib subset:
build clr.corelib+libs. Should we close the issue?ViktorHofer commentedon Jun 16, 2020
Long term I would like to see us using a P2P to CoreLib instead of the manual reference.
jkoritzinsky commentedon Jun 16, 2020
Yes we can close this.