Strategies to trim shipped not critical libs

If you look at the Julia bin directory it includes several packages that are only used for convenience by other packages, in particular 7z and libexpat to name the ones I see as candidates. I’m wondering if it would be better to try to decouple shipping these libs from julia in favor of having them e.g. downloaded as needed from e.g. some separate package, or some similar strategy. I’m not exactly sure how things would look but wanted to bring up the discussion as I think it’s important as Julia tries to trim down.

3 Likes

Are below issues addressing your concern?

https://github.com/JuliaLang/julia/issues/5155

https://github.com/JuliaLang/julia/issues/18795