Commit Graph

11404 Commits

Author SHA1 Message Date
Tom Marble
d9e526f1a8 Bug 1873265 - mach skip-fails improvements r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D198329
2024-01-12 15:56:31 +00:00
Gijs Kruitbosch
5e323fd1f1 Bug 1874141 - update build docs for components.conf to list esModule instead of jsm, r=firefox-build-system-reviewers,nalexander DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D198264
2024-01-12 11:49:57 +00:00
Narcis Beleuzu
0e622d6c51 Backed out changeset cc5b886ea3a2 (bug 1861365) for causing build bustages. CLOSED TREE 2024-01-12 11:44:56 +02:00
serge-sans-paille
af290d730b Bug 1861365 - Detect statically linking with libstdc++ r=glandium
Do this by scanning for lib(std)c++ in the dynamic section.

Differential Revision: https://phabricator.services.mozilla.com/D194744
2024-01-12 09:22:27 +00:00
serge-sans-paille
1e70dedf6a Bug 1873905 - Fix variable naming for cached configure variable r=glandium
Otherwise the caching doesn't actually happen, see
https://searchfox.org/mozilla-central/rev/6f90f50b7a32cc062ab755e0653b3d3f512fe3bd/build/autoconf/acgeneral.m4#1127

Differential Revision: https://phabricator.services.mozilla.com/D198149
2024-01-12 07:38:40 +00:00
Mike Hommey
14b8d8e846 Bug 1873821 - Remove unused bindgen 0.66 patch. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D198126
2024-01-10 22:19:07 +00:00
serge-sans-paille
3b336e99e6 Bug 1873495 - Fix variable naming for cached EXPAND_LIBS_LIST_STYLE r=glandium
Cached variable *must* have `_cv_` in their name, per

        https://searchfox.org/mozilla-central/rev/6f90f50b7a32cc062ab755e0653b3d3f512fe3bd/build/autoconf/acgeneral.m4#1127

Differential Revision: https://phabricator.services.mozilla.com/D197945
2024-01-10 14:07:40 +00:00
serge-sans-paille
c3147ff86e Bug 1873494 - Cache check for malloc_usable_size argument constness r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D197944
2024-01-10 14:07:40 +00:00
serge-sans-paille
7ca6ae234d Bug 1872889 - Disable symbol ordering warning r=aryx
We only generate a single orderfile and use it for each linked object,
which results in some symbols being listed while not belonging to that
particular object.

Differential Revision: https://phabricator.services.mozilla.com/D197621
2024-01-04 14:23:12 +00:00
Narcis Beleuzu
e5f27a07b7 Backed out changeset 399d9781e72b (bug 1724089) for causing xpcshell failures. CLOSED TREE 2024-01-02 13:56:25 +02:00
Gregory Pappas
bf28beba3c Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-02 11:17:09 +00:00
Stanca Serban
9fe9443876 Backed out changeset 88de278b4ca9 (bug 1724089) for causing xpcshell failures. 2024-01-02 11:16:31 +02:00
Gregory Pappas
3ed862b8e0 Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-02 07:53:31 +00:00
Nicolas Guichard
4303f386e4 Bug 1865048 - Mozsearch indexer: add bindingSlots/slotOwner to C++ code bound from/to Java code r=asuth
This is a squash of commits 978bdb2d..549ce9bf from github:mozsearch/mozsearch.
Previously reviewed on https://github.com/mozsearch/mozsearch/pull/673.

Depends on D196795

Differential Revision: https://phabricator.services.mozilla.com/D196796
2023-12-28 22:47:46 +00:00
Mike Hommey
c3eddbda66 Bug 1871895 - Get macos SDK from tooltool on automation. r=firefox-build-system-reviewers,ahochheiden
Ideally, we wouldn't rely on tooltool, but until we can have private
fetches that can actually be used forever without having to be
retriggered for CoT or other reasons, tooltool is the best we have.

Differential Revision: https://phabricator.services.mozilla.com/D197305
2023-12-28 20:03:51 +00:00
Mike Hommey
acf309eddf Bug 1871895 - Switch unpack-sdk.py to sha512. r=firefox-build-system-reviewers,ahochheiden
That will more easily allow to use tooltool.

Differential Revision: https://phabricator.services.mozilla.com/D197304
2023-12-28 20:03:50 +00:00
Mike Hommey
61cd516c19 Bug 1857090 - Update builders to rustc 1.75. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D197273
2023-12-28 19:59:02 +00:00
Mike Hommey
54b163ec29 Bug 1872001 - Refresh Visual Studio artifacts. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D197312
2023-12-27 20:25:28 +00:00
Mike Hommey
2f22100893 Bug 1871894 - Switch builds to macOS 14.2 SDK. r=spohl,firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D197280
2023-12-27 20:23:36 +00:00
Mike Hommey
4f69399904 Bug 1868266 - Properly handle the Visual C++ situation when cross-compiling on Windows. r=firefox-build-system-reviewers,nalexander
The first thing is that the target CPU may not be supported by Visual
C++, so using that, we don't find the path to a Visual C++ compiler.
By using the host CPU in that case, we can find it.

For ATL and MFC libraries, we may not be able to find them for similar
reasons, but we don't actually need them when cross-compiling, so just
return nothing for those when the target OS is not Windows.

Differential Revision: https://phabricator.services.mozilla.com/D197037
2023-12-21 20:22:10 +00:00
serge-sans-paille
f7255a7edc Bug 1606191 - Remove hand-written Windows orderfile r=glandium
Since 1839832 we generate an equivalent file based on PGO data
automatically.

Differential Revision: https://phabricator.services.mozilla.com/D195848
2023-12-19 14:03:13 +00:00
serge-sans-paille
9779ed6e69 Bug 1868949 - Add support for AVX VNNI in cpu detection and IntegerGemm r=marco
This make it possible to use the recently added changes in gemmology.

Differential Revision: https://phabricator.services.mozilla.com/D196425
2023-12-19 13:04:19 +00:00
Mike Hommey
2f5afc2211 Bug 1870206 - Remove ReleaseNotes part of the clang patches. r=firefox-build-system-reviewers,ahochheiden
It's not like we publish the ReleaseNotes from the clang toolchain
artifact, and it's only going to be a recurrent source of patch conflict
when the upstream release notes change.

Differential Revision: https://phabricator.services.mozilla.com/D196529
2023-12-18 20:14:31 +00:00
serge-sans-paille
4ecf883504 Bug 1839832 - Use PGO-based orderfile when possible r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D181750
2023-12-18 10:20:33 +00:00
Mike Hommey
1b55864833 Bug 1869970 - Make snap builds pick minidump-stackwalk in case PGO crashes. r=firefox-build-system-reviewers,ahochheiden
We use UPLOAD_DIR rather than UPLOAD_PATH because UPLOAD_DIR is handled
by run-task to be set properly from a relative path.

As the snaps rightfully unset MOZ_AUTOMATION, we add another way to
enable the use of the symbols server.

Differential Revision: https://phabricator.services.mozilla.com/D196399
2023-12-15 01:19:17 +00:00
Joel Maher
0bc470a2e8 Bug 1869890 - migrate cram.ini to .toml. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D196352
2023-12-14 21:00:24 +00:00
Mike Hommey
b9c409edd4 Bug 1869078 - Filter-out target_cpu from substs provided by old-configure. r=firefox-build-system-reviewers,sergesanspaille
AC_SUBSTs with a lower-case key are not really supposed to be used,
although that has never been enforced, and at least one of them is
used in practice.

At least, that's the theory behind using files to store their value in
config.statusd (added in bug 1402012). Because obviously, on
case-insensitive file systems, a variable that is upper case will use
the same file as the lower case one. If their value is the same, then
fine, but if they aren't, thing go bad.

Until bug 1867457, that held true for TARGET_CPU and target_cpu: their
value was the same. But bug 1867457 changed that. But target_cpu is only
there because it's set by autoconf itself, and we don't care about it.

The result is that the value of target_cpu takes precedence because it's
set last, and overwrites the value of TARGET_CPU in config.statusd,
subsequently making the value read in GenerateAtomicOperations.py wrong.

Differential Revision: https://phabricator.services.mozilla.com/D195959
2023-12-14 05:14:32 +00:00
ogiorgis
111705f5fd Bug 1840493 - doc/rst: fix some languages declaration r=firefox-source-docs-reviewers,webdriver-reviewers,necko-reviewers,geckoview-reviewers,devtools-reviewers,profiler-reviewers,championshuttler,whimboo,nchevobbe,julienw,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D196268
2023-12-13 18:32:20 +00:00
Narcis Beleuzu
399de5a9a6 Backed out changeset 83ef845d60ab (bug 1869078) for build bustages 2023-12-13 11:45:40 +02:00
Mike Hommey
b2e94d0ddd Bug 1869078 - Filter-out target_cpu from substs provided by old-configure. r=firefox-build-system-reviewers,sergesanspaille
AC_SUBSTs with a lower-case key are not really supposed to be used,
although that has never been enforced, and at least one of them is
used in practice.

At least, that's the theory behind using files to store their value in
config.statusd (added in bug 1402012). Because obviously, on
case-insensitive file systems, a variable that is upper case will use
the same file as the lower case one. If their value is the same, then
fine, but if they aren't, thing go bad.

Until bug 1867457, that held true for TARGET_CPU and target_cpu: their
value was the same. But bug 1867457 changed that. But target_cpu is only
there because it's set by autoconf itself, and we don't care about it.

The result is that the value of target_cpu takes precedence because it's
set last, and overwrites the value of TARGET_CPU in config.statusd,
subsequently making the value read in GenerateAtomicOperations.py wrong.

Differential Revision: https://phabricator.services.mozilla.com/D195959
2023-12-13 09:09:40 +00:00
Mike Hommey
97e0e8c3c4 Bug 1860630 - Upgrade zstandard to 0.22. r=firefox-build-system-reviewers,mach-reviewers,sergesanspaille,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194184
2023-12-13 02:39:24 +00:00
Noemi Erli
bf3ce8752b Backed out changeset 83540e45dfb8 (bug 1860630) for causing mach related bustage 2023-12-12 23:00:01 +02:00
Mike Hommey
2aae8fea6a Bug 1860630 - Upgrade zstandard to 0.22. r=glandium CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D194184
2023-12-12 20:11:48 +00:00
ahochheiden
140c1177cb Bug 1843209 - Fix pygobject for python 3.8. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D195911
2023-12-12 03:52:00 +00:00
ahochheiden
94030d06be Bug 1843209 - Bump Mach's minimum Python version to 3.8 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183449
2023-12-12 03:52:00 +00:00
Sandor Molnar
632d352596 Backed out changeset 96f4aa903123 (bug 1839832) for causing bpgo bustages CLOSED TREE 2023-12-12 03:04:48 +02:00
serge-sans-paille
fbf7297f82 Bug 1839832 - Use PGO-based orderfile when possible r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D181750
2023-12-11 21:31:43 +00:00
Mike Hommey
0ff3c2f865 Bug 1868924 - Adjust revert-llvmorg-15-init-11205-gcead4eceb01b_clang_18.patch to upstream changes. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D195844
2023-12-11 20:11:37 +00:00
mleclair
d8336f39a8 Bug 1867581 - Fixed PGO training set not working for SP3 since SP3 wasn't running as root r=bas
Differential Revision: https://phabricator.services.mozilla.com/D195898
2023-12-08 18:41:04 +00:00
Otto Länd
a97998200e Bug 1867459: apply code formatting via Lando
# ignore-this-changeset
2023-12-08 10:47:01 +00:00
Mike Hommey
b7bb7390ba Bug 1867459 - Avoiding silently dismissing uses of CPU_ARCH. r=firefox-build-system-reviewers,sergesanspaille
In many cases, using CONFIG["CPU_ARCH"] will silently do the unexpected
thing now that it doesn't exist anymore. In case there are in-flight
patches using it, it's better to avoid those causing subtle problems
after a rebase by making most uses of the variable throw an exception.

Differential Revision: https://phabricator.services.mozilla.com/D195158
2023-12-08 10:43:59 +00:00
Mike Hommey
619672a8e4 Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D195157
2023-12-08 10:43:59 +00:00
Logan Rosen
141305b4e4 Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre
#ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D193007
2023-12-08 04:26:45 +00:00
Mike Hommey
7ee8115088 Bug 1867457 - Make TARGET_CPU in the build system mean the same as target.cpu in configure. r=firefox-build-system-reviewers,sergesanspaille
This is the continuation of what was started with bug 1835189.

Differential Revision: https://phabricator.services.mozilla.com/D195075
2023-12-08 01:11:14 +00:00
serge-sans-paille
883a3c8e0b Bug 1864318 - Faster elfhack core loop r=glandium
This is 5% faster on my setup, mostly thanks to unrolling being
possible.

We also skip the early loop exit. Most of the bits of `bits` are generally set, so it's ok to do a
few more extra operations if we do them faster.

Differential Revision: https://phabricator.services.mozilla.com/D193366
2023-12-07 14:50:17 +00:00
serge-sans-paille
882e879a4e Bug 1867867 - Restore temporal instrumentation support in clang r=glandium
Should be ok since rustc understands the new format now.

Differential Revision: https://phabricator.services.mozilla.com/D195316
2023-12-05 13:01:31 +00:00
Natalia Csoregi
f10c99c5a8 Backed out changeset 08e37313483d (bug 1864318) as requested. CLOSED TREE 2023-12-04 23:47:32 +02:00
serge-sans-paille
897929a1e4 Bug 1864318 - Faster elfhack core loop r=glandium
This is 20% faster on my setup, and according to llvm-mca, the IPC for
the false branch (which is the hottest one) goes from 3 to 5.7, thanks
to unrolling and conditional moves.

Only activated on non-Android target though, as it breaks at runtime.

Basically, most of the bits of `bits` are generally set, so it's ok to do a
few more extra operations as we do them faster.

Differential Revision: https://phabricator.services.mozilla.com/D193366
2023-12-04 21:12:36 +00:00
Andrew Halberstadt
757f0bf16a Bug 1867990 - Fix black formatting errors that snuck in due to regression, r=linter-reviewers,taskgraph-reviewers,releng-reviewers,bhearsum,sylvestre
These were not caught due to bug 1865672.

Depends on D195431

Differential Revision: https://phabricator.services.mozilla.com/D195432
2023-12-04 14:51:39 +00:00
Ray Kraesig
b442fec76f Bug 1858225 - [3/9] introduce "local" async-filepicker implementation functions r=handyman,win-reviewers,mhowell
Introduce functions which create and invoke the Windows file-picker in a
separate thread. This thread is created with a new single-threaded COM
apartment to avoid implicitly creating a nested modal loop on the main
STA thread.

Technically, no functional changes: these functions aren't actually
invoked yet. (That will occur in an upcoming commit.)

Differential Revision: https://phabricator.services.mozilla.com/D193735
2023-12-01 05:03:18 +00:00