-
-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
type: RFCIssues that are idea discussions - Deprecated, use a Discussion insteadIssues that are idea discussions - Deprecated, use a Discussion instead
Milestone
Description
@mosteo: Should we consider supporting this in the future? Are there drawbacks to it?
We'd lose:
- some built-in parallelism currently achieved by having gprbuild compile all the sources in one go. (we could use the same tactic as the test runner, spawning async commands in the dependency tree walk -> need to expose a make jobserver?)
- (maybe) some change detection if we compile each source in a separate directory? ideally: pins and subcrates should call
gprbuildevery time, but regular dependencies could get away with rebuilding only if their build profile/switches changed.We'd gain:
- Build variable isolation.
gprinstallwill export a trimmed-down gpr project indevmode, exposing only what's necessary, and baking in the externals used for compilation.- Better compatibility with AdaCore libraries (which are initially meant to be used that way).
- Consistency between alr build and alr install.
There are probably some other advantages/drawbacks, I'll edit this if I think of others.
Originally posted by @AldanTanneo in #2056
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: RFCIssues that are idea discussions - Deprecated, use a Discussion insteadIssues that are idea discussions - Deprecated, use a Discussion instead