Skip to content

Support explicit module paths #1951

Open
@rauhul

Description

@rauhul

Add support in the explicit modules mode for users passing the exact paths to their module dependencies.

Given the following build graph, where SDK represents an arbitrarily large subgraph:

  flowchart LR;
      A-->B;
      B-->D;
      A-->C;
      E-->B;
      D-->SDK;
Loading

On the compilation of module "A" it should possible to pass the exact paths to .swiftmodule/.pcm files for modules "B", "C", and "D".

The driver will:

  • Perform a dep scan.
  • Not schedule module builds for B, C, D.
    • Verify the user passed modules are valid to be used and error if not.
  • Schedule module builds for any other discovered modules.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions