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 announced this on dev-builds[2] a few weeks ago, and addressed much of
the feedback from early adopters. Now we’re looking for more users to try
it out and let us know what issues you have, and whether or not it improves
your development workflow.

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 default nightly-2018-09-16

*  Note that normally “rustup default nightly” would suffice, but until
https://github.com/rust-lang/cargo/issues/6082 is in nightly, try
2018-09-16 for now.

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” [3], or
contact mshal or chmanchester in #build on IRC.

[1] https://firefox-source-docs.mozilla.org/build/buildsystem/tup.html

[2]
https://groups.google.com/d/msg/mozilla.dev.builds/c4rxss-ScmM/8M8fo_uzDAAJ

[3] https://bugzilla.mozilla.org/show_bug.cgi?id=buildtup

Thanks!

-Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to