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
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to