Skip to content

Does brew has any plan to trim formulae's dependency trees? #5167

Discussion options

You must be logged in to vote

I find they has heavier dependencies than it does in other pkg manager, especilly for c++ pkgs

Ultimately, this boils down to a design decision in (modern) Homebrew: packages in homebrew-core may not have optional dependencies. The two primary reasons for this choice, to my understanding, are:

  • Everything in homebrew-core is distributed as bottles (precompiled binaries for each target platform). There ultimately needs to be a decision on what dependencies this precompiled package has, especially with a language like C++.
    • It's not feasible for Homebrew to build and maintain a copy of precompiled packages for each optional dependency. Naively, for a formula that has n optional dependenci…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ivaquero
Comment options

Answer selected by ivaquero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants