Skip to content

Move Libraries test host setup out of the Libraries product build #33128

Closed

Description

@jkoritzinsky

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

Activity

  1. added this to the 5.0 milestone on Mar 4, 2020
  2. added
    untriaged
    on Mar 4, 2020
  3. jkoritzinsky commented on Mar 4, 2020

    @jkoritzinsky
    MemberAuthor

    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.

  4. jaredpar commented on Mar 5, 2020

    @jaredpar
    Member

    This will enable us to further parallelize our builds and shorten our official build times by 15-20 minutes.

    Love it.

  5. ericstj commented on Mar 5, 2020

    @ericstj
    Member

    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.

  6. removed
    untriaged
    on Mar 14, 2020
  7. ericstj commented on Mar 14, 2020

    @ericstj
    Member

    @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

  8. mangod9 commented on Apr 1, 2020

    @mangod9
    Member

    I believe my PR #34166 should help with this, and pretest.proj can we removed from the libraries build.

  9. ViktorHofer commented on Jun 16, 2020

    @ViktorHofer
    Member

    @jkoritzinsky this should already be done with the introduced clr.corelib subset: build clr.corelib+libs. Should we close the issue?

  10. ViktorHofer commented on Jun 16, 2020

    @ViktorHofer
    Member

    Long term I would like to see us using a P2P to CoreLib instead of the manual reference.

  11. jkoritzinsky commented on Jun 16, 2020

    @jkoritzinsky
    MemberAuthor

    Yes we can close this.

  12. ghost locked as resolved and limited conversation to collaborators on Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions