alire
alire copied to clipboard
[RFC] `alr install` for cross-workspace availability of heavy crates
Convenient? Doable? Good or bad idea? Implement a new alr install
that deploys a crate at the current configuration location, making it "globally" available for all regular workspaces sharing the configuration.
This could be useful to reuse "heavy" dependencies like AWS, Matreshka, GNATCOLL... and eventually maybe even GNATStudio and additional compilers?
I'm sure there are tricky things to consider to make this work. At the very least, do something to avoid rebuilding from different workspaces with different environment configurations (gprinstall?)
That's a good question, I was also thinking about this lately. I guess this going more in the "sandbox" territory.
As I see it, our current solution is a pure sandbox because everything needed is entirely in a workspace. Doing this would mean going out of that sandbox into another encompassing configuration-wide sandbox.