On Sat, Jul 22, 2017 at 1:11 PM, Enrico Weigelt, metux IT consult <
enrico.weig...@gr13.net> wrote:

> Hi folks,
>
>
> the whole build seems to be very complex.
>
> Not just the huge configure.in, but also the complexity in moz.build
> files, many ifdef's, etc, etc. Many orthogonal things are twisted
> together (eg. widget toolkits influence lots of other things)
>
> I'm thinking of having a deeper look at Kbuild. It's really nice to
> handle complex dependencies. In the kernel we also use that for
> automatically switch hidden settings by higher level ones
> (eg. combination of a and b can activate c, certain things automatically
> happen based on platform/cpu type, etc, etc.
>
> Could it be an option for moz ?
>

Yes, the build system is complex. It has evolved organically for over 20
years, accumulating tons of cruft and complexity along the way. Much of the
existing complexity can be simplified. In fact, the build system today with
moz.build files is much simpler than it was 5 years ago.

Kbuild is not a viable long-term solution because it is tied to Make, which
has fundamental shortcomings that make it not suitable for large, complex,
and cross-platform projects like Firefox. The future of the build system
will involve tools that incorporate modern technologies and wisdom and
don't have their underpinnings based on 1970's technology (like Make does).
Bazel is one such modern tool.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to