Skip to content

Redesign the subset feature #34403

Closed
@ViktorHofer

Description

@ViktorHofer
  • Combine the -subset and -subsetcategory switches into just -subset. This probably involves making subset names distinct which IMO is a good idea anyway as we should remove the sub repositories (another case of that is removing the helper scripts for coreclr, libraries, mono, installer). Specifying -subset libraries should be sufficient to build all default subsets for libraries. No need for the extra -subsetcategory verb.
  • Allow adding to the default set of subsets without the need to specify all of them, ie. -subset libs+libs.tests.
  • Allow removing from the default set of subsets without needing to specify all of them...

Moved proposal up

Proposal

You can specify multiple subsets. clr, mono, libs and installer imply the child subsets.

clr
 clr.runtime
 linuxdac
 clr.corelib
 clr.corelibnative
 clr.tools
 clr.packages
mono
 mono.runtime
 mono.corelib
 mono.packages
libs
 libs.native
 libs.ref
 libs.src
 libs.pretest
 libs.tests
 libs.packages
installer
 corehost
 installer.managed
 installer.depproj
 installer.packages
 bundles
 installers
 installer.tests

Examples

  1. Build libraries and coreclr
    build.cmd/sh libs+clr

  2. Build libraries tests:
    build.cmd/sh libs.tests

  3. Build mono corelib and libraries
    build.cmd/sh mono.corelib+libs

  4. Build libraries tests and installer tests
    build.cmd/sh installer.tests+libs.tests

  5. Build coreclr, libraries and libraries tests
    build.cmd/sh clr libs+libs.tests

cc @dotnet/runtime-infrastructure @jkotas @danmosemsft @stephentoub

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions