[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42049] [PATCH 0/4] build-system/cargo: Propagations across the crat
From: |
Jakub Kądziołka |
Subject: |
[bug#42049] [PATCH 0/4] build-system/cargo: Propagations across the crate closure. |
Date: |
Thu, 25 Jun 2020 23:25:23 +0200 |
Due to the unusual (for Guix) compilation model used by
cargo-build-system, any phases or inputs added by a given library crate
need to be duplicated in all its dependents. This patchstack attempts to
solve this by allowing to propagate inputs, native-inputs and phases
across cargo-inputs edges in the dependency graph.
Apart from the build system work itself, I have included samples of the
cleanup they allow. Apart from being a good example, these are the
changes I have used to test the feature.
Jakub Kądziołka (4):
build-system/cargo: Allow propagating inputs across CARGO-INPUTS edges
gnu: crates-io: Use propagated-inputs and propagated-native-inputs.
build-system/cargo: Add a propagated-phases argument.
gnu: crates-io: Use propagated-phases.
gnu/packages/crates-io.scm | 157 +++++++++++-------------------------
gnu/packages/rust-apps.scm | 9 +--
gnu/packages/sequoia.scm | 3 +-
guix/build-system/cargo.scm | 92 +++++++++++++++------
4 files changed, 120 insertions(+), 141 deletions(-)
--
2.26.2
- [bug#42049] [PATCH 0/4] build-system/cargo: Propagations across the crate closure.,
Jakub Kądziołka <=