Hi everyone,
Tup is a modern build system that enables fast and correct builds. I'm pleased to announce the availability of Tup for building Firefox on Linux. Compared to Make, building with Tup will result in faster incremental build times and reduce the need for clobber builds. See the in-tree docs for details [1].
We’re looking for some early adopters to try it out and let us know if it improves your workflow, or if you hit any blockers or barriers to adoption that keep you on the Make backend for now.
Quick howto:
You’ll need to install the Tup executable, as well as the nightly rust/cargo toolchain:
cd ~/.mozbuild && mach artifact toolchain --from-build linux64-tup
rustup install nightly
rustup default nightly
Your mozconfig needs to describe how to find the executable if it’s not in your PATH, and enable the Tup backend:
export TUP=~/.mozbuild/tup/tup
ac_add_options --enable-build-backends=Tup
If you have any issues, feel free to file a bug blocking “buildtup” [2], or contact mshal or chmanchester in #build on IRC.
[1] https://firefox-source-docs.mozilla.org/build/buildsystem/tup.html
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=buildtup
Thanks!
-Mike
Being able to have objdirs outside the srcdir is pretty important in my
case; it makes it a lot easier to search code without having the objdir
interfere with the searches...
_______________________________________________
dev-builds mailing list
dev-b...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds
> * You must be using an in-tree OBJDIR.
Does it handle multiple in-tree objdirs? E.g. I have d64 (debug), o64 (opt), etc.
Hi everyone,
Tup is a modern build system that enables fast and correct builds. I'm pleased to announce the availability of Tup for building Firefox on Linux. Compared to Make, building with Tup will result in faster incremental build times and reduce the need for clobber builds. See the in-tree docs for details [1].
Michael Shal wrote on 2018-08-02 08:34:
Should Btup bustage trigger immediate backout? I appear to have busted it with a recent change [1], triggering an immediate backout, and it isn't obvious to me that this is the optimal policy for an experimental build backend.Hi everyone,
Tup is a modern build system that enables fast and correct builds. I'm pleased to announce the availability of Tup for building Firefox on Linux. Compared to Make, building with Tup will result in faster incremental build times and reduce the need for clobber builds. See the in-tree docs for details [1].
(I'll investigate the bustage regardless. My question is more generally about the policy we want to enforce for this build task.)