Tweaks `./mach lint` behaviour to always fall back to only linting files
that have changed according to VCS - previously, this only happened if
no linter was provided.
Adjusts "am I at $topsrcdir" check to use `pathlib` to avoid mismatches
due to inconsistent capitalization or slash direction.
Updates CI references to explicitly provide `*` as the path to avoid
the only-lint-files-changed restriction.
Differential Revision: https://phabricator.services.mozilla.com/D137870
This means we can now skip building a 32-bit compiler-rt when building
clang itself, as well as the asan pdb files, which will be taken from
the compiler-rt artifact.
Differential Revision: https://phabricator.services.mozilla.com/D137259
As of bug 1751824, the only remaining use of the 2-stages Windows clang
toolchain is for llvm-profdata in the generate-profile runs.
We don't need that to be built by clang itself (whereas it was desirable
to get compiler-rt from stage 2 before bug 1751824), so we can drop that
build to one stage only.
And because as of bug 1751839 we can start building stage 2 from a
separate stage 1 task, we do that for the Windows clang toolchain, like
we do for the Linux one.
Also, make the win64-clang-toolchain alias point to that stage 1 build,
like for Linux.
Differential Revision: https://phabricator.services.mozilla.com/D137257
Back when it was added (bug 1337233), it was copied from llvm-dsymutil,
which was renamed to dsymutil later, in clang 7. As such, we don't
actually need a dsymutil in cctools-port anymore, since it's there with
clang.
This makes the cctools-port build independent of the clang version it's
built with, so we can rename it and move it to misc.yml, since there
won't be a need for multiple builds of it in the future.
Differential Revision: https://phabricator.services.mozilla.com/D137507
For msix pushes, set the payload's publishMode to Immediate for the
Beta channel, and Manual for all other channels (no other channels
are currently enabled, and Manual publishing is desired on Release).
Differential Revision: https://phabricator.services.mozilla.com/D137575
Rather than defining a distinct `Parameter` class for Gecko, this now uses the
`extend_parameters_schema` utility function (which mobile repos are already
using).
As a consequence, shared parameters are now defined in standalone taskgraph.
And only Gecko-specific parameters are listed in
`gecko_taskgraph/parameters.py`
The only exception is `project` which gets redefined so we can override the
standalone taskgraph default (since it derives `project` from the repo name,
which doesn't work for Gecko).
Differential Revision: https://phabricator.services.mozilla.com/D134515
This patch adds the matrix-react-bench to raptor-browsertime. It will run alongside the other benchmarks on trunk and mozilla-beta. It will also be possible to run these on chrome and chromium.
Differential Revision: https://phabricator.services.mozilla.com/D137344
The platform(s) were not specified, and it seems when that is the case that
it will only run on linux by default. The platforms are now explicitly
set to include Windows, Linux, and Mac.
Differential Revision: https://phabricator.services.mozilla.com/D136214
Applying all the patches from build-clang enabled the patch for macos
cross compiles that adds a -target argument based on
LLVM_DEFAULT_TARGET_TRIPLE, that we weren't setting.
Differential Revision: https://phabricator.services.mozilla.com/D137252
It turns out not only can we successfully build the Windows compiler
runtimes separately like on other platforms, but we can also
cross-compile them (like for other platforms)! Which saves a tremendous
amount of time when rebuilding the toolchains, since we can now produce
the clang-win-cross toolchain much earlier than waiting for a native
build of a windows clang compiler first.
While the script supports building an aarch64 compiler-rt, the llvm code
actually doesn't support it, so we don't create a task for it.
Differential Revision: https://phabricator.services.mozilla.com/D136837
And use the clang-13 json for all clang-13-based compiler-rt tasks.
This will ensure we apply all the patches that are intended to be
applied (we may want to split out the compiler-rt patches in the future,
though).
Differential Revision: https://phabricator.services.mozilla.com/D137119