Commit Graph

11012 Commits

Author SHA1 Message Date
Mike Hommey
71bcf54e47 Bug 1832700 - Set MSVS_VERSION according to the MSVC version. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D177836
2023-05-15 21:56:37 +00:00
Cristian Tuns
c86f3584d1 Backed out changeset 2b70a6c70b27 (bug 1832700) for causing spidermonkey bustages with Unknown version CLOSED TREE 2023-05-15 17:50:14 -04:00
Mike Hommey
bb87849acf Bug 1831242 - Remove revert-llvmorg-16-init-9324-g01859da84bad.patch. r=firefox-build-system-reviewers,sergesanspaille
Now that the underlying issue has been found and fixed on our side, we
don't need to workaround the issue at the compiler level anymore.

Differential Revision: https://phabricator.services.mozilla.com/D177554
2023-05-15 21:15:02 +00:00
Mike Hommey
e0a9db124e Bug 1832700 - Set MSVS_VERSION according to the MSVC version. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D177836
2023-05-15 21:08:36 +00:00
Mike Hommey
b35c1ad056 Bug 1832693 - Remove --with-visual-studio-version. r=firefox-build-system-reviewers,andi
Back when it was added, the use case for to pick a specific version of
Visual Studio when several were installed on the system. This originally
allowed to pick between 2015 and 2017, and since then, 2015 support was
removed. But two new versions of VS also have been released, 2019 and
2022, and they were never added.

Furthermore, the option has been accidentally broken by bug 1123821.

I think it's time to declare it unnecessary and remove it.

Differential Revision: https://phabricator.services.mozilla.com/D177834
2023-05-15 21:05:01 +00:00
Botond Ballo
db7f25be25 Bug 1828223 - Implement heuristic resolution of CXXDependentScopeMemberExpr. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D177945
2023-05-14 23:44:28 +00:00
Randell Jesup
a97ea15efa Bug 1111233: Correct MSVS_VERSION in gyp_base.mozbuild r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D177846
2023-05-12 03:51:25 +00:00
Mike Hommey
c179c1f5c7 Bug 1832467 - Switch builds to VS 2019. r=firefox-build-system-reviewers,andi
While here, we switch to using an alias to make such changes easier in
the future. This will also ensure that CI builds and bootstrap use the
same one.

Differential Revision: https://phabricator.services.mozilla.com/D177717
2023-05-11 21:46:43 +00:00
Mike Hommey
01e5cb5949 Bug 1832467 - Add the new vcruntime140_1.dll file when building with VS 2019. r=firefox-build-system-reviewers,andi,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D177716
2023-05-11 21:30:15 +00:00
Mike Hommey
37aee400e8 Bug 1832209 - Remove a bunch of unused add_old_configure_assignment. r=firefox-build-system-reviewers,ahochheiden
- Last use of CROSS_COMPILE was removed in bug 1460620,
- Last use of EARLY_BETA_OR_EARLIER was removed in bug 1603834,
- Last use of RELEASE_OR_BETA was removed in bug 1670948,
- Last use of MOZILLA_VERSION was removed in bug 1745838,
- Last use of GNU_AS was removed in bug 1635764,
- Last use of AR was removed in bug 1638193,
- Last use of PKG_CONFIG was removed in bug 1747775,
- Last use of MOZ_DMD was removed in bug 1747970,
- Last use of NSPR_CFLAGS and NSS_CFLAGS were removed in bug 1722652,
- Last use of MOZ_PROFILING was removed in bug 1640578,
- Last use of USE_FC_FREETYPE was removed in bug 1747325,
- Last use of MOZ_FMP4 was removed in bug 1382930,
- Last use of MOZ_WEBSPEECH was removed in bug 1295480,
- MOZ_ASAN_REPORTER doesn't seem to have ever been used,
- Last use of MOZ_THUMB2 and ANDROID_CPU_ARCH were removed in bug 1814802,
- Last use of ARM_ARCH was removed in bug 1747753,

Differential Revision: https://phabricator.services.mozilla.com/D177581
2023-05-10 22:13:13 +00:00
Mike Hommey
36ed5cdb05 Bug 1832214 - Add arm64 crt to vs2019.yaml. r=firefox-build-system-reviewers,sergesanspaille
It is necessary to build geckodriver.

Differential Revision: https://phabricator.services.mozilla.com/D177587
2023-05-10 21:09:39 +00:00
Mike Hommey
5ad4a9eaa6 Bug 1832214 - Refresh vs2019.yaml. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D177586
2023-05-10 21:09:39 +00:00
serge-sans-paille
4378e70adc Bug 1821680 - provide --enable-lto=full-cross r=glandium
This combines the effect of full LTO for C/C++ code with rust cross LTO
capability.

Differential Revision: https://phabricator.services.mozilla.com/D172266
2023-05-10 10:56:31 +00:00
Sandor Molnar
2b1a30bb79 Backed out changeset 8ed1797a2640 (bug 1821680) dev spotted a bug. CLOSED TREE 2023-05-10 12:26:12 +03:00
serge-sans-paille
3d53fad43c Bug 1821680 - provide --enable-lto=full-cross r=glandium
This combines the effect of full LTO for C/C++ code with rust cross LTO
capability.

Differential Revision: https://phabricator.services.mozilla.com/D172266
2023-05-10 07:41:10 +00:00
nicklas boman
c3f1952ebe Bug 1798746 - Ensure checking for mercurial/git only if its a hg/git clone, not release source r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162461
2023-05-09 16:33:36 +00:00
Cosmin Sabou
6f28253d4c Backed out changeset fab57c6553f4 (bug 1798746) for causing win aarch64 build bustages. CLOSED TREE 2023-05-09 08:25:18 +03:00
nicklas boman
641e4e6803 Bug 1798746 - Ensure checking for mercurial/git only if its a hg/git clone, not release source r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162461
2023-05-09 02:15:30 +00:00
Mike Hommey
8958fe18f8 Bug 1831274 - Enable CARGO_INCREMENTAL only on developer builds as intended. r=firefox-build-system-reviewers,ahochheiden
Bug 1705324 changed the argument name in the function declaration, but
not in @depends.

Differential Revision: https://phabricator.services.mozilla.com/D177137
2023-05-08 22:27:47 +00:00
Kash Shampur
520597815d Bug 1819166 - Add a toolchain for Visual Studio 2022. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D175786
2023-05-08 21:20:49 +00:00
Mike Hommey
0270b637e1 Bug 1831461 - Remove unused clang patches. r=firefox-build-system-reviewers,sergesanspaille
- compiler-rt-no-codesign.patch has not been used since bug 1731582.
- llvmorg-16-init-*.patch have not been used since bug 1823591.
- revert-llvmorg-14-init-365*.patch have not been used since bug
  1754668.
- tsan-D101154.patch has not been used since bug 1739543.

Differential Revision: https://phabricator.services.mozilla.com/D177217
2023-05-05 21:09:37 +00:00
serge-sans-paille
77973c6ab3 Bug 1830039 - Remove mach support for REQUIRES_UNIFIED_BUILD r=andi,glandium
As a consequence, rename hybrid builds into non-unified builds in tree
herder.

Differential Revision: https://phabricator.services.mozilla.com/D176545
2023-05-05 12:10:39 +00:00
Iulian Moraru
5f08dc66c3 Backed out changeset 02cc74634f7d (bug 1798746) for causing build bustages. CLOSED TREE 2023-05-03 20:54:50 +03:00
nicklas boman
9871455d0d Bug 1798746 - Ensure checking for mercurial/git only if its a hg/git clone, not release source r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D162461
2023-05-03 15:45:36 +00:00
Mike Hommey
4f916a9c9a Bug 1829129 - Backport clang patch that properly exports needed template constructor/destructors. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D176123
2023-04-25 04:31:38 +00:00
Mike Hommey
39d0e7cee8 Bug 1538043 - Remove Visual C++ toolchain search path from $PATH. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D175985
2023-04-24 21:24:03 +00:00
Mike Hommey
8663f940bb Bug 1829262 - Explicitly set the clang-cl Visual C++ compatibility version. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D176112
2023-04-24 20:34:34 +00:00
Cosmin Sabou
382bd8db17 Merge mozilla-central to autoland. 2023-04-21 06:06:26 +03:00
Cosmin Sabou
26790fecfc Backed out changeset f70225b67b76 (bug 1538043) for causing Bug 1829262. a=backout 2023-04-21 06:04:10 +03:00
Mike Hommey
c25d86db7a Bug 1821227 - Update builders to rustc 1.69. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D175814
2023-04-20 21:50:13 +00:00
Julian Descottes
7cfa924151 Bug 1829152 - Add example.net for http3 mochitests r=ahal
example.net is used in many devtools browser mochitests and should be available for http3 browser mochitests

Differential Revision: https://phabricator.services.mozilla.com/D176030
2023-04-20 20:05:10 +00:00
Lee Salzman
c891dafa82 Bug 1829203 - Fix valgrind suppression in Skia. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D176074
2023-04-20 19:14:22 +00:00
Mike Hommey
d117ab4ffc Bug 1538043 - Remove Visual C++ toolchain search path from $PATH. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D175985
2023-04-20 05:19:29 +00:00
Ryan VanderMeulen
c061ec4e7e Bug 1770595 - Backport upstream LLVM fixes for TSAN allocation failures. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D175903
2023-04-19 14:37:16 +00:00
Mike Hommey
7c2404f86c Bug 1828771 - Exclude MSI files with the longest extracted paths. r=firefox-build-system-reviewers,andi
msiexec on Windows fails to extract MSI files where the extracted path
(including the absolute base directory) is longer than 260 characters.
Unfortunately, a few MSI files from the Windows SDK contain paths that
are 213 characters long, which doesn't leave much room for
$drive:\Users\$user\.mozbuild\get_vs$tmp\unpack.

We fortunately don't actually need the whole thing, and while there is
certainly a lot more cleanup we can do, let's start with the ones that
contain the >= 200 character paths.

With this change, the longest path contained by the remaining MSIs is
126, which should be enough leeway for all users.

Differential Revision: https://phabricator.services.mozilla.com/D175819
2023-04-19 09:31:54 +00:00
Mike Hommey
c996a2aa5b Bug 1828217 - Add from_bits_retain for increased compatibility. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D175710
2023-04-18 20:57:49 +00:00
Mike Hommey
6a16e9e717 Bug 1828217 - Make our fake 1.3.2-derived bitflags 2.0 compatible with more uses of bitflags 2.0. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D175530
2023-04-18 20:57:49 +00:00
Zeid
7c080097d0 Bug 1817289: generate exported mots in mach doc r=sheehan,firefox-source-docs-reviewers,sylvestre
- generate exported index.rst file in mach doc
- stop tracking docs/mots/index.rst, add it to ignore files
- add mots.yaml to sphinx-docs sparse profile
- add mots to requirements

Differential Revision: https://phabricator.services.mozilla.com/D170116
2023-04-18 17:20:55 +00:00
Otto Länd
369970a5ba Bug 1123821: apply code formatting via Lando
# ignore-this-changeset
2023-04-18 04:32:26 +00:00
Mike Hommey
e97c4546ee Bug 1123821 - Use the boostrappable Visual Studio definitions for the build. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D175446
2023-04-18 04:25:36 +00:00
Mike Hommey
1d0bb4f408 Bug 1123821 - Adjust the Visual Studio toolchain to be bootstrappable. r=firefox-build-system-reviewers,andi
This makes them switch to private_local_toolchain.sh, which wraps a call
to `mach python --virtualenv build taskcluster/scripts/misc/$script`

Differential Revision: https://phabricator.services.mozilla.com/D175445
2023-04-18 04:25:36 +00:00
Mike Hommey
60dbcb7e13 Bug 1123821 - Use the build virtualenv for private local toolchain commands. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D175443
2023-04-18 04:25:36 +00:00
Mike Hommey
0872989963 Bug 1828027 - Allow to selectively opt in or opt out of bootstrapping specific toolchains. r=firefox-build-system-reviewers,andi
New upcoming bootstrapped toolchains may cause problems, so I'd rather
tell people "use --enable-bootstrap=-foo" as a work around while things
are being figured out than "go back to an earlier version of m-c that
works, or disable bootstrap entirely".

Differential Revision: https://phabricator.services.mozilla.com/D175442
2023-04-18 01:41:05 +00:00
Mike Hommey
ab4b2e61f0 Bug 1827533 - Adjust clang patches to upstream changes on trunk. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D175703
2023-04-18 01:40:21 +00:00
Emilio Cobos Álvarez
0277d1fb8f Bug 1826304 - Update base64 in some in-tree crates. r=glandium,webdriver-reviewers,necko-reviewers,supply-chain-reviewers,jesup,jgraham,emilio
Patch old base64 0.13 to 0.21 to avoid introducing the dup dependency.

Differential Revision: https://phabricator.services.mozilla.com/D175116
2023-04-17 21:12:47 +00:00
Lee Salzman
17121ddfaa Bug 1821512 - Update fuzz for Skia update. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D173326
2023-04-16 15:34:50 +00:00
Natalia Csoregi
53631b0cfb Backed out 6 changesets (bug 1821512) for failures on browser_screenshots_test_full_page.js. CLOSED TREE
Backed out changeset a31f2795710e (bug 1821512)
Backed out changeset 3985c29a6490 (bug 1821512)
Backed out changeset 0d9814a43a4d (bug 1821512)
Backed out changeset e5570884e8e4 (bug 1821512)
Backed out changeset efc92c86fafd (bug 1821512)
Backed out changeset 3222f6498a44 (bug 1821512)
2023-04-16 11:30:32 +03:00
Lee Salzman
f678652f3c Bug 1821512 - Update fuzz for Skia update. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D173326
2023-04-16 04:00:01 +00:00
Sandor Molnar
eb2de1ef8a Backed out changeset 694a4c9a4085 (bug 1826304) for causing xpc failures in security/manager/ssl/tests/unit/test_cert_storage.js CLOSED TREE 2023-04-14 18:09:53 +03:00
Emilio Cobos Álvarez
a3c219bee7 Bug 1826304 - Update base64 in some in-tree crates. r=glandium,webdriver-reviewers,necko-reviewers,supply-chain-reviewers,jesup,jgraham,emilio
Patch old base64 0.13 to 0.21 to avoid introducing the dup dependency.

Differential Revision: https://phabricator.services.mozilla.com/D175116
2023-04-14 13:50:45 +00:00