Граф коммитов

1221 Коммитов

Автор SHA1 Сообщение Дата
Sandor Molnar e3932a5144 Backed out changeset 572b175efb09 (bug 1696504) for causing regressions. a=backout 2021-12-01 19:48:29 +02:00
Agi Sferro 9ce9bd86e7 Bug 1740358 - Use Java JDK from Adoptium in CI. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D131928
2021-11-30 16:11:00 +00:00
Mike Hommey 21c8cb7ed7 Bug 1696504 - Bump macOS builds to SDK 11.0. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D131588
2021-11-24 22:47:43 +00:00
Mitchell Hentges abeedf3bbd Bug 1717051: Automatically create and activate Mach virtualenv r=ahal
Consolidate Mach virtualenv management to the front of the
Mach process. This obsoletes `./mach create-mach-environment`
and simplifies the `sh` portion of the top-level `./mach` script.

This helps ensure that the Mach virtualenv doesn't become
out-of-sync and simplifies the mental model of the Mach
virtualenv situation.

Differential Revision: https://phabricator.services.mozilla.com/D120401
2021-11-24 20:06:33 +00:00
Mitchell Hentges 144daeecaf Bug 1731836: Simplify `./mach python` arguments r=ahal
`--no-virtualenv` was needed for one use case: the
`get_and_diffoscope` task, despite not needing `psutil`, would
run into failures during virtualenv-creation because we used to
unconditionally build the `psutil` package, and `get_and_diffoscope`
didn't have the environment needed for such a build.

Since we no longer build and install `psutil` into every virtualenv,
it's no longer needed for its one usage, which means that it can be
removed.

`--requirements` is replaced by `--virtualenv`, which removes an
ad-hoc pip package installation and embraces the centralized dep
system.

`--no-activate` is now implied by default: a virtualenv is only
created and activated if `--virtualenv` is provided.`

`ipython==7.16.1` was the chosen version because it is the last
one compatible with Python 3.6.

Differential Revision: https://phabricator.services.mozilla.com/D131529
2021-11-24 20:06:33 +00:00
Marian-Vasile Laza 376fd53683 Backed out changeset a899281204c7 (bug 1696504) for causing GTest failures. 2021-11-23 11:51:05 +02:00
Mike Hommey 9caeaefc7d Bug 1696504 - Bump macOS builds to SDK 11.0. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D131588
2021-11-23 02:29:31 +00:00
Sylvestre Ledru 70be2344fc Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=ahal,webdriver-reviewers,perftest-reviewers,whimboo,gerard-majax,alexandru.irimovici
This changed with this:
https://github.com/psf/black/pull/1740

Depends on D130964

Differential Revision: https://phabricator.services.mozilla.com/D130965
2021-11-22 22:10:03 +00:00
Alexis Beingessner 0e8ed332d1 Bug 1741205 - Use rust-minidump's minidump-stackwalk for mozcrash.py r=gsvelto,KrisWright
This is the first step in replacing a huge pile of our breakpad-based infra
with our new implementation (rust-minidump). This stackwalker is only used
for reporting crashes in local builds and CI, so it's a good first deploy.

Although most of the work on rust-minidump has been focused on the JSON output,
this uses the --human output, because it's primarily intended for humans to
directly read. There is however some minor parsing done on this format. This
is not *strictly* supported by --human (it has no schema) but it's not something
we plan to break. (This parsing is pre-existing, just recording the facts.)

The new build configs/scripts are hybridized from fix-stacks and dump_syms,
as this basically is a hybrid of the two. In particular it needs the openssl
vendoring tricks that dump_syms uses, but is a target binary that prefers
win32 over win64 (like fix-stacks).

Technically a regression but probably just culling legacy cruft at this point:
this patchset removes support for building a local copy of minidump-stackwalk
from source. You must now download a copy built on task-cluster using mozboot.
mozboot *already* did this, which is why this feature appears to be legacy cruft
-- there was little reason to build a local copy.

However rust-minidump's minidump-stackwalk has a far better portability story,
so you can build+install your own local copy by just running:

cargo install minidump-stackwalk

Differential Revision: https://phabricator.services.mozilla.com/D131315
2021-11-22 20:33:34 +00:00
Iulian Moraru 897bb9d353 Backed out 2 changesets (bug 1707591) for causing python mozlint failures on test_yaml.py. CLOSED TREE
Backed out changeset a730ab2d0dbe (bug 1707591)
Backed out changeset 0269849fd7ef (bug 1707591)
2021-11-12 18:44:36 +02:00
Sylvestre Ledru c1b5edd8be Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=webdriver-reviewers,whimboo,gerard-majax
This changed with this:
https://github.com/psf/black/pull/1740

Differential Revision: https://phabricator.services.mozilla.com/D130965
2021-11-12 15:06:56 +00:00
Tom Ritter f896e83f09 Bug 1738754 - Exempt the ./mach try commit on try from updatebot verify r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D130918
2021-11-11 19:02:33 +00:00
Tom Ritter f8381156e9 Bug 1738754 - Fix the Updatebot verify job to match the commit message r=jewilde
We inadvertently were matching the bug summary, causing
the verify job to fail.

Differential Revision: https://phabricator.services.mozilla.com/D130917
2021-11-11 19:02:33 +00:00
Agi Sferro 9e1b1f9456 Bug 1529082 - Add bundletool to Android's bootstrap r=jmaher
This tool is used to install AAB packages to devices.

AAB is the new package format for Android Apps and will supersede APK.

Differential Revision: https://phabricator.services.mozilla.com/D127318
2021-11-02 18:56:25 +00:00
Mike Hommey 544ec65ba5 Bug 1734747 - Apply the compiler_builtins hack to remaining android targets. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D129611
2021-10-27 20:57:24 +00:00
Connor Sheehan 08ee03c250 Bug 1733180: add 2021/2022 hgmo SSL certificate fingerprint to `FALLBACK_FINGERPRINT` r=dhouse
Differential Revision: https://phabricator.services.mozilla.com/D129071
2021-10-21 14:02:11 +00:00
Andi-Bogdan Postelnicu 0d12e234b2 Bug 1731582 - Move to clang-13 r=firefox-build-system-reviewers,mhentges,decoder
Join work with glandium.

Differential Revision: https://phabricator.services.mozilla.com/D126208
2021-10-20 12:03:20 +00:00
Butkovits Atila c56f15eca0 Backed out changeset 7de44eaecb13 (bug 1731582) as requested by Andi. CLOSED TREE 2021-10-19 20:52:08 +03:00
Andi-Bogdan Postelnicu 151c81623a Bug 1731582 - Move to clang-13 r=firefox-build-system-reviewers,mhentges,decoder
Join work with glandium.

Differential Revision: https://phabricator.services.mozilla.com/D126208
2021-10-19 14:45:59 +00:00
Marian-Vasile Laza 3883f0ad91 Backed out changeset f3cf8baf4f0a (bug 1731582) for causing build bustages. CLOSED TREE 2021-10-19 12:36:47 +03:00
Andi-Bogdan Postelnicu da72439c02 Bug 1731582 - Move to clang-13 r=firefox-build-system-reviewers,mhentges
Join work with glandium.

Differential Revision: https://phabricator.services.mozilla.com/D126208
2021-10-19 08:00:30 +00:00
Mike Hommey b18b2b21a0 Bug 1690973 - Build the clang android cross toolchain as a repack of clang + compiler-rt. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D127933
2021-10-08 09:40:54 +00:00
Mike Hommey 63924fb2f0 Bug 1690973 - Add compiler-rt tasks for android. r=firefox-build-system-reviewers,andi
The necessary flags are somewhat different from what we currently use in
build-clang.py, but work.

Differential Revision: https://phabricator.services.mozilla.com/D127932
2021-10-08 09:40:53 +00:00
Mike Hommey 515b0d4960 Bug 1734331 - Upgrade toolchains to macosx-sdk 11.0. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D127618
2021-10-06 09:00:39 +00:00
Mike Hommey 4ca51203f1 Bug 1732824 - Update wasi-sdk to the latest trunk. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D126749
2021-10-06 08:56:32 +00:00
Butkovits Atila 8b745c7243 Backed out changeset 2f93c060a50c (bug 1732824) as per dev's request. CLOSED TREE 2021-09-29 04:21:35 +03:00
Mike Hommey f43531930b Bug 1732824 - Update wasi-sdk to the latest trunk. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D126749
2021-09-28 09:08:35 +00:00
Andi-Bogdan Postelnicu e2cab5c39c Bug 1731542 - remove `infer` from our static-analysis pipeline. r=static-analysis-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D126070
2021-09-20 12:47:44 +00:00
Mike Hommey 397ece0e6e Bug 1500802 - Remove now unused mingw32-gcc toolchain. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D125923
2021-09-17 20:55:42 +00:00
Mike Hommey 636982aa2e Bug 1500804 - Build nsis with mingw-clang rather than mingw-gcc. r=tjr
While here, build the Linux portions with a sysroot.

Differential Revision: https://phabricator.services.mozilla.com/D125922
2021-09-17 20:55:42 +00:00
Mike Hommey c2981c2307 Bug 1731195 - Use a linux-native makensis for Windows cross-builds. r=firefox-build-system-reviewers,andi
Because the result is 99% identical to the win64-nsis toolchain, we
produce a single toolchain that can be used both on native windows and
on cross builds.

Differential Revision: https://phabricator.services.mozilla.com/D125926
2021-09-17 09:11:22 +00:00
Mike Hommey a6e466b943 Bug 1731175 - Build clang-mingw off clang-12 rather than from scratch. r=firefox-build-system-reviewers,andi
The build-clang step in the clang-mingw toolchains just replicates what
we already do for clang, except with no patched applied, which could
arguably seen as an issue. Instead of rebuilding what we essentially
already have as a result of the clang-12 toolchain, we use the clang-12
toolchain directly instead.

Differential Revision: https://phabricator.services.mozilla.com/D125912
2021-09-17 08:26:33 +00:00
Mike Hommey a83683f935 Bug 1730851 - Build the rust-dev toolchain with more complete version information. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D125775
2021-09-16 22:34:24 +00:00
Mike Hommey b429159003 Bug 1730851 - Allow to keep .git directories in git fetches. r=firefox-build-system-reviewers,mhentges
And reduce the size of the artifact by making it a shallow clone.

Differential Revision: https://phabricator.services.mozilla.com/D125774
2021-09-16 22:34:24 +00:00
Mike Hommey 4dbe34f810 Bug 1730825 - Build NSIS as a relocatable binary. r=firefox-build-system-reviewers,andi
The reason the error mentioned in build-mingw32-nsis.sh happens is that
the default mode NSIS builds in is a fully-installed mode, where it
hardcodes the locations of its data files. This is why nsis needs to
be used from the same place it's built for. But there's another mode,
enabled with NSIS_CONFIG_CONST_DATA_PATH=no, that makes it relocatable,
and makes it find its data files relatively to the nsis binary.

However, there's a bug in the nsis build scripts, which makes the nsis
binary installed in the destination directory instead of a bin/
subdirectory, while the source code itself looks for data files relative
to the parent directory of the directory that contains the executable.
So we need to set PREFIX_BIN to force the executable to be installed in
a bin/ subdirectory.

There is also an issue in nsis itself when it's executed by anything
other than a shell, which we patch out.

Differential Revision: https://phabricator.services.mozilla.com/D125638
2021-09-15 08:33:06 +00:00
Mike Hommey f7c5a8e8cd Bug 1730825 - Ship the linux64-mingw32-nsis toolchain in a nsis/ directory. r=firefox-build-system-reviewers,andi
While the comment at the top of build-mingw32-nsis.sh is true, it only
applies to nsis being in the same path in the build tasks as it was
built from in the toolchain task. So we don't actually need to build
it in a mingw32/bin directory, and can ship it in a nsis/bin directory,
as long as that's where we build it.

That makes the toolchain match the expectations from bootstrap, which
also makes PATH adjustments for nsis unnecessary, no other toolchain
used in those builds providing a binary in mingw32/bin.

Differential Revision: https://phabricator.services.mozilla.com/D125637
2021-09-15 08:33:05 +00:00
Mike Hommey 7e693067b8 Bug 1730825 - Bootstrap nsis for Windows builds. r=firefox-build-system-reviewers,andi
And at the same time, make the toolchain artifact directly usable on
cross-compiles.

Differential Revision: https://phabricator.services.mozilla.com/D125635
2021-09-15 08:33:04 +00:00
Mike Hommey b3ea935824 Bug 1730078 - Build gn with system gcc. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D125155
2021-09-15 02:39:51 +00:00
Mike Hommey 4b9f8db275 Bug 1726506 - Build linux grcov with the linux build sysroot. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D124166
2021-09-15 02:22:13 +00:00
Mike Hommey 0aae65e107 Bug 1726506 - Build cctools-port with the toolchain sysroot. r=firefox-build-system-reviewers,mhentges
And while here, remove tooltool-downloads attribute that is unused, and
add verbosity to ninja output.

Differential Revision: https://phabricator.services.mozilla.com/D124164
2021-09-15 02:22:13 +00:00
Mike Hommey dd72dc7fb3 Bug 1728507 - Upgrade NSIS to 3.07. r=firefox-build-system-reviewers,agashlin,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D124163
2021-09-14 23:18:22 +00:00
Mike Hommey c27d5e43d1 Bug 1728507 - Pass the nsis version to scons. r=firefox-build-system-reviewers,mhentges
Rather than rewriting SConstruct.

Differential Revision: https://phabricator.services.mozilla.com/D124162
2021-09-14 23:18:22 +00:00
Mike Hommey b2dd8f3c30 Bug 1729611 - Remove the separate llvm-dsymutil toolchain. r=firefox-build-system-reviewers,mhentges
It made sense when we did have problems with the one shipped with clang
and needed an explicitly newer version, but that hasn't been true in a
while. On the contrary, we're now using a version older than clang for
no reason other than having forgotten to update it.

Differential Revision: https://phabricator.services.mozilla.com/D124886
2021-09-09 00:11:47 +00:00
Mike Hommey 692e4afda9 Bug 1729610 - Remove taskcluster/scripts/misc/source-test-clang-setup-macos64.sh. r=firefox-build-system-reviewers,mhentges DONTBUILD
It isn't used anymore after bug 1725171.

Differential Revision: https://phabricator.services.mozilla.com/D124874
2021-09-08 23:59:54 +00:00
Mike Hommey 9ef9a07ff2 Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged:
- geckodriver because the results are used to releases on github.
- sixgill because the script that creates it is not in-tree.
- *-dist-toolchain because sccache is not expecting a .tar.zst.

We use native tar support in most cases, except for toolchain scripts also
used on Windows, for which we use our zstdpy script.

Differential Revision: https://phabricator.services.mozilla.com/D124733
2021-09-08 23:46:51 +00:00
Iulian Moraru 82a880399a Backed out 2 changesets (bug 1729406) for causing toolchain-wrench-deps build bustages. CLOSED TREE
Backed out changeset 2b28ac860723 (bug 1729406)
Backed out changeset 89c9940d7402 (bug 1729406)
2021-09-08 16:08:40 +03:00
Mike Hommey cc6d99c4e2 Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged:
- geckodriver because the results are used to releases on github.
- sixgill because the script that creates it is not in-tree.
- *-dist-toolchain because sccache is not expecting a .tar.zst.

We use native tar support in most cases, except for toolchain scripts also
used on Windows, for which we use our zstdpy script.

Differential Revision: https://phabricator.services.mozilla.com/D124733
2021-09-08 08:00:54 +00:00
Cosmin Sabou e097f3b06f Backed out changeset 40f514ec207e (bug 1729406) for causing windows build bustages. CLOSED TREE 2021-09-08 07:43:48 +03:00
Mike Hommey c7391546a8 Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged:
- geckodriver because the results are used to releases on github.
- sixgill because the script that creates it is not in-tree.
- *-dist-toolchain because sccache is not expecting a .tar.zst.

We use native tar support in most cases, except for toolchain scripts also
used on Windows, for which we use our zstdpy script.

Differential Revision: https://phabricator.services.mozilla.com/D124733
2021-09-08 03:44:03 +00:00
Noemi Erli 2c90034df8 Backed out changeset d6d54748247b (bug 1729406) for causing Win build bustages CLOSED TREE 2021-09-08 05:26:26 +03:00