mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 11:37:43 -10:00
The base compiler check in python configure does some preprocessing, which ensures the compiler works to some extent. Autoconf used to have a more complete test, doing a compile/link. We do have plenty of tests afterwards that do that anyways, but it's better if we fail early if the toolchain fails somehow. This refactors try_compile such that the *_compiler variable themselves can be used to trigger compiler tests. Eventually, we'll want something similar for preprocessing and possibly other invocations. This also removes similar tests from build/autoconf/toolchain.m4 and old-configure.in.
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 ## pyyaml | pystache Used in taskcluster related mach commands to update download from github and remove .git and tests. Then run tests in taskcluster/tests/