Re: Faster compilers available in bootstrap
Yes, this is wonderful, thank you so much! Improvements to build times are a force-multiplier. 5%-15% improvements in our build times is no joke! On Thu, 9 Apr 2020 at 13:09, Botond Ballo wrote: > Thanks, compile time improvements are always good news! > > Out of curiosity, does this impact builds targeting Android on Linux or > Windows? > > Thanks, > Botond > > On Thu, Apr 9, 2020 at 12:52 PM David Major wrote: > > > > As of bug 1326486, our clang toolchains for Linux and Windows are built > > with PGO. (Apologies to Mac users: that toolchain is cross-compiled.) > > > > Under optimal conditions (Spidermonkey build, touch mfbt) I've seen > 10-15% > > compile time improvements locally, but in more common scenarios the gains > > will be diluted by other parts of the system. Perfherder measured 5-9% > > improvements in CI. > > > > To pick up a new compiler: after the next time you update your tree, run > > `./mach bootstrap` or `cd ~/.mozbuild && /path/to/mach artifact toolchain > > --from-build linux64-clang`, or on Windows replace the last part with > > `win64-clang-cl`. > > > > Happy compiling! > > ___ > > 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 > ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: Faster compilers available in bootstrap
Yes, I believe so. On Thu, Apr 9, 2020 at 1:09 PM Botond Ballo wrote: > Thanks, compile time improvements are always good news! > > Out of curiosity, does this impact builds targeting Android on Linux or > Windows? > > Thanks, > Botond > > On Thu, Apr 9, 2020 at 12:52 PM David Major wrote: > > > > As of bug 1326486, our clang toolchains for Linux and Windows are built > > with PGO. (Apologies to Mac users: that toolchain is cross-compiled.) > > > > Under optimal conditions (Spidermonkey build, touch mfbt) I've seen > 10-15% > > compile time improvements locally, but in more common scenarios the gains > > will be diluted by other parts of the system. Perfherder measured 5-9% > > improvements in CI. > > > > To pick up a new compiler: after the next time you update your tree, run > > `./mach bootstrap` or `cd ~/.mozbuild && /path/to/mach artifact toolchain > > --from-build linux64-clang`, or on Windows replace the last part with > > `win64-clang-cl`. > > > > Happy compiling! > > ___ > > 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
Re: Faster compilers available in bootstrap
Thanks, compile time improvements are always good news! Out of curiosity, does this impact builds targeting Android on Linux or Windows? Thanks, Botond On Thu, Apr 9, 2020 at 12:52 PM David Major wrote: > > As of bug 1326486, our clang toolchains for Linux and Windows are built > with PGO. (Apologies to Mac users: that toolchain is cross-compiled.) > > Under optimal conditions (Spidermonkey build, touch mfbt) I've seen 10-15% > compile time improvements locally, but in more common scenarios the gains > will be diluted by other parts of the system. Perfherder measured 5-9% > improvements in CI. > > To pick up a new compiler: after the next time you update your tree, run > `./mach bootstrap` or `cd ~/.mozbuild && /path/to/mach artifact toolchain > --from-build linux64-clang`, or on Windows replace the last part with > `win64-clang-cl`. > > Happy compiling! > ___ > 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
Faster compilers available in bootstrap
As of bug 1326486, our clang toolchains for Linux and Windows are built with PGO. (Apologies to Mac users: that toolchain is cross-compiled.) Under optimal conditions (Spidermonkey build, touch mfbt) I've seen 10-15% compile time improvements locally, but in more common scenarios the gains will be diluted by other parts of the system. Perfherder measured 5-9% improvements in CI. To pick up a new compiler: after the next time you update your tree, run `./mach bootstrap` or `cd ~/.mozbuild && /path/to/mach artifact toolchain --from-build linux64-clang`, or on Windows replace the last part with `win64-clang-cl`. Happy compiling! ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform