Skip to content

Conversation

@artemcm
Copy link
Contributor

@artemcm artemcm commented Sep 3, 2020

Preprocess the dependency graph, setting module paths to be relative to the module cache path, if one is present.
Only do so for modules that do not already specify a path.

… in the module cache

Preprocess the dependency graph, setting module paths to be relative to the module cache path, if one is present.
Only do so for modules that do not already provide a path.
@artemcm
Copy link
Contributor Author

artemcm commented Sep 3, 2020

One alternative I considered was to have the job generation code set the output paths, but that approach is not sufficient, because we also use the dependency graphs to communicate existence and location of module dependencies (for placeholder resolution), for which we would need to encode this information into the dependency graph anyway.

@artemcm
Copy link
Contributor Author

artemcm commented Sep 3, 2020

@swift-ci please test

@artemcm artemcm merged commit 5d80fe4 into swiftlang:master Sep 4, 2020
@artemcm artemcm deleted the DependenciesInModuleCache branch January 20, 2021 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants