On Fri, Sep 28, 2018 at 12:56 PM Michael Shal <ms...@mozilla.com> wrote:

> 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.
>

This fix is now in nightly rustc (starting with 5597ee8a6 2018-10-03). You
can now run `rustup default nightly` to track the current rustc nightly and
build with tup.


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

Reply via email to