prefix-dev / rattler-build

rattler-build is a universal package builder for Windows, macOS and Linux
https://prefix-dev.github.io/rattler-build
BSD 3-Clause "New" or "Revised" License
185 stars 38 forks source link

rattler-build could potentially cache execution of inner build command #978

Open nichmor opened 1 month ago

nichmor commented 1 month ago

Currently, when re-building a Rust recipe and using cargo install, the process downloads and compiles the crates again. We could potentially cache the downloaded crates to make re-building the recipe faster and it can be also utilized by other builds. This could be an explicit option ( for example as flatpak does--ccache as suggested by @Hofer-Julian )