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

11385 Коммитов

Автор SHA1 Сообщение Дата
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
Cosmin Sabou c3f8e90d2c Backed out 11 changesets (bug 1858225) for causing build bustages on nsFilePicker.cpp. CLOSED TREE
Backed out changeset 808f68da4438 (bug 1858225)
Backed out changeset e6f456e40dda (bug 1858225)
Backed out changeset d1efbf517c7e (bug 1858225)
Backed out changeset 61c8a62b47c5 (bug 1858225)
Backed out changeset 9b1f0d37b74b (bug 1858225)
Backed out changeset f57ac4a387f2 (bug 1858225)
Backed out changeset 9b2c6eaf137e (bug 1858225)
Backed out changeset 6aacb8fde7e1 (bug 1858225)
Backed out changeset 2eb38cba55d6 (bug 1858225)
Backed out changeset c31dfa5f9be5 (bug 1858225)
Backed out changeset 82b7b851c429 (bug 1858225)
2023-12-01 00:18:29 +02:00
Ray Kraesig 3f73215354 Bug 1858225 - [10/9] add thread name to permitted-threads list. r=bustage-fix CLOSED TREE
The async file-picker creates a new thread, but the thread name was not
added to the permitted-thread-names list. Amended.

Differential Revision: https://phabricator.services.mozilla.com/D195170
2023-11-30 21:20:00 +00:00
Gabriele Svelto f86c830487 Bug 1864000 - Update minidump-writer to version 0.8.3 r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D194529
2023-11-30 17:01:18 +00:00
Mike Hommey eba47166c7 Bug 1867202 - Fix missing include in clang 8. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194952
2023-11-30 08:48:34 +00:00
Mike Hommey 5d9e274ba1 Bug 1867181 - Set LDFLAGS to point binutils build to the sysroot libraries. r=firefox-build-system-reviewers,ahochheiden build
Differential Revision: https://phabricator.services.mozilla.com/D194946
2023-11-30 08:48:03 +00:00
Mike Hommey 0b31eb4df3 Bug 1866931 - Add windows-sys to the rust workspace hack. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194831
2023-11-30 07:31:38 +00:00
Mike Hommey 2c5b1d870b Bug 1866928 - Enable the parallel feature in the cc crate. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194829
2023-11-30 07:31:37 +00:00
Mike Hommey fb9496d6ae Bug 1866921 - Add rust search path to $PATH for the build. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194826
2023-11-30 04:48:02 +00:00
serge-sans-paille 3a2b678746 Bug 1862309 - Add speedometer3 to the PGO training set r=smaug,sparky,jnicol
This is done for both Android and regular builds, and it brings a nice
1% perf improvement on Windows, and 2% on Android.

Do not get rid of Speedometer2 yet, adding Speedometer3 already brings
an interesting performance boost.

To update to the latest version run

        > ./mach vendor third_party/webkit/PerformanceTests/Speedometer3/moz.yaml

Differential Revision: https://phabricator.services.mozilla.com/D194040
2023-11-28 11:32:56 +00:00
Nicolas Guichard 67539877a9 Bug 1490144 - Mozsearch indexer: remove pretty field from super/override relationships. r=asuth
This is the update from https://github.com/mozsearch/mozsearch/pull/672.
Mozsearch doesn't expect the pretty field on super/override
relationships anymore. It doesn't hurt being there, but let's clean it
up anyway.

Differential Revision: https://phabricator.services.mozilla.com/D194524
2023-11-27 20:03:10 +00:00
Sylvestre Ledru a2447809e0 Bug 1863497 - sccache: update the doc r=glandium
Depends on D192932

Differential Revision: https://phabricator.services.mozilla.com/D193704
2023-11-27 16:59:49 +00:00
stransky 4c3bfd25fb Bug 1864382 [Linux] Allow memleak of GdkWindow x11 inernals r=emilio
Depends on D194622

Differential Revision: https://phabricator.services.mozilla.com/D194623
2023-11-25 10:41:47 +00:00
Sylvestre Ledru 82bc783c85 no bug - docs: remove references to non existing docs r=geckoview-reviewers,owlish
Depends on D194633

Differential Revision: https://phabricator.services.mozilla.com/D194634
2023-11-24 20:25:56 +00:00
Andreas Pehrson 6bb8230ea7 Bug 1670633 - Update bindgen to 0.69.1 and coreaudio-sys to 0.2.14. r=supply-chain-reviewers,glandium
This sets the stage for an update to cubeb-coreaudio-rs.

Differential Revision: https://phabricator.services.mozilla.com/D193899
2023-11-24 11:33:56 +00:00
Cristian Tuns b54e9ee57c Backed out 3 changesets (bug 1670633, bug 1866014) for causing build bustages in MediaEngineWebRTCAudio.cpp CLOSED TREE
Backed out changeset c0d256e9cde9 (bug 1866014)
Backed out changeset e7d101bd73d9 (bug 1670633)
Backed out changeset a849a8e4bd37 (bug 1670633)
2023-11-24 06:18:42 -05:00
Andreas Pehrson e94273f845 Bug 1670633 - Update bindgen to 0.69.1 and coreaudio-sys to 0.2.14. r=supply-chain-reviewers,glandium
This sets the stage for an update to cubeb-coreaudio-rs.

Differential Revision: https://phabricator.services.mozilla.com/D193899
2023-11-24 08:22:32 +00:00
Stanca Serban 41f7486e5f Backed out 2 changesets (bug 1670633) as requested for causing Bug 1866014. CLOSED TREE
Backed out changeset be8e9a8eaa80 (bug 1670633)
Backed out changeset bace8b9c91dc (bug 1670633)
2023-11-23 20:03:07 +02:00
Cosmin Sabou 720d42893d Backed out 2 changesets (bug 1843209) for python3 related browser accessible failures. CLOSED TREE
Backed out changeset 052214d67a99 (bug 1843209)
Backed out changeset 36c5e6c2819f (bug 1843209)
2023-11-23 02:41:22 +02:00
ahochheiden aa3fc79e81 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-11-22 20:07:41 +00:00