3 ms·
If you're doing a monorepo I think it's strongly implied that you'll also use a build system (Blaze/Brazil/BuildXL etc) that has granular compilation units and
by kevan 7y ago
If you're doing a monorepo I think it's strongly implied that you'll
also use a build system (Blaze/Brazil/BuildXL etc) that has granular compilation units and output caching so build time doesn't scale linearly with the company's total codebase.
It's definitely important to consider before jumping in. Going from 5m to 50m compile times would be a major issue for me.
- sagarm 7y agoErr what is even the alternative? Even a makefile would provide incremental builds.
- Too 7y agoA good makefile provides incremental builds in every possible scenario of source file changes. It's very easy to write bad makefiles that don't catch modified or removed header files, or even worse when code generation or other complicated build logic is involved. Because a lot of developers seem to think "random build fail? oh just do make clean" is an acceptable workaround.
- joshschreuder 7y agoGood to know, thanks. Something I'll have to do a bit more reading up on.