Skip to content

Is there a way to recursively build from source? #5688

Answered by gromgit
osalbahr asked this question in Linux
Discussion options

You must be logged in to vote

I don't think there's a way to implicitly build dependencies from source, and I can see a good reason for that: if brew install -s gh also built go from source without marking it as "installed by request", then brew cleanup and brew rm can auto-remove it, which would piss off most people considering how long go takes to build. If that happened to gcc, rust, and every other heavyweight dev toolchain on your system, I'm guessing you'd be about ready to toss your machine out a high window. 😁

So I think you're pretty much stuck with brew install -s $(brew deps gh) gh.

Replies: 2 comments 2 replies

Comment options

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

Comment options

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

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