Bug 1356991 (build Stylo in nightly, but keep Stylo pref'd off) will
be landing soonish, and building Stylo requires Clang (as a separate
tool from the primary compiler) on all platforms.  On Tier 1
platforms, `mach bootstrap` will be downloading Clang from our
infrastructure, instead of installing Clang from a package manager or
similar.  This method ensures that we're using the same version of
Clang that's being used to build Stylo on our build machines and also
serves as a testbed for downloading more things (e.g. actual build
toolchains and supporting tools) from our infrastructure.[0]

Although we can do local testing, there are a wide variety of build
configurations out there.  Getting all these tested ahead of actually
building Stylo and fixing any issues would help make the transition
smoother.  If you're so inclined, it would be helpful if you would:

1. Run `mach bootstrap` on an updated mozilla-central checkout and
answer "yes" to whether Stylo-related packages should be downloaded.
2. (If applicable) Report any problems to Core :: Build Config.
3. Follow the instructions printed out about applying changes to your
mozconfig.  You may want to use a separate mozconfig than what you
normally use.
4. Build with the mozconfig you set up in step 3.  (Bug 1368177 may
make this difficult on Windows; feel free to apply the patch there
locally or add backslash escapes for spaces in paths manually.)
5. (If applicable) Report any problems to Core :: Build Config.

Please CC me on all bugs filed.

Thanks!
-Nathan

[0] Using Clang from a package manager should work, but it's not what
we're supporting.  Tier 3 platforms (e.g. *BSD) will have to use Clang
via a package manager.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to