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

10948 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 3976af8e92 Bug 1718171 - Add the clang runtime directory to LIB during configure. r=firefox-build-system-reviewers,andi
We currently do so from mozconfigs, but that means this doesn't happen
for local builds.

Differential Revision: https://phabricator.services.mozilla.com/D174064
2023-04-05 00:16:52 +00:00
Mike Hommey 3c43de2d49 Bug 1824166 - Avoid passing thumb-interwork flags to clang for bindgen. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D174554
2023-04-05 00:12:42 +00:00
Mark Banner 5552888a2f Bug 1825793 - Re-layout and improve the Editor integration documentation, and link to it from the quick start guide. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D174320
2023-04-04 16:00:06 +00:00
Masayuki Nakano 28ae9ee2e1 Bug 1826036 - Make CanRunScriptChecker treat references as safe if initialized with safe things r=andi
For preparation of bug 1620312, CanRunScriptChecker needs to allow references
which are initialized with safe instance(s) to run script.  Unfortunately,
this does not allow references which are initialized with safe references
recursively because it requires more complicated checks but it must be not
used in many places.

Differential Revision: https://phabricator.services.mozilla.com/D174436
2023-04-04 05:07:33 +00:00
serge-sans-paille acc75d964c Bug 1826049 - Make toolkit/components/url-classifier/tests/gtest buildable outside of a unified build environment r=andi
Depends on D174432

Differential Revision: https://phabricator.services.mozilla.com/D174433
2023-04-03 20:39:58 +00:00
Mike Hommey 1de53ad3c6 Bug 1825480 - Update crossbeam-epoch to 0.9.14 and minidump-writer to current master. r=gsvelto,supply-chain-reviewers
This updates memoffset to 0.8 and nix to 0.26.

Differential Revision: https://phabricator.services.mozilla.com/D174055
2023-03-30 21:08:39 +00:00
Mike Hommey 93784bacca Bug 1825478 - Update bindgen to 0.64. r=emilio,necko-reviewers,supply-chain-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D174054
2023-03-30 21:05:14 +00:00
Mike Hommey deb12f66cd Bug 1825478 - Update coreaudio-sys to 0.2.12. r=emilio,supply-chain-reviewers
The only change is a dependency on bindgen 0.64, which we
force-downgrade to 0.63 for now.

Differential Revision: https://phabricator.services.mozilla.com/D174053
2023-03-30 21:05:13 +00:00
Matthew Gregan 07b0619d68 Bug 1697845 - Remove AudioIPC v1. r=glandium,supply-chain-reviewers,cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D134931
2023-03-29 10:25:33 +00:00
serge-sans-paille 1b97818ea7 Bug 1815790 - Replace intgemm by gemmology r=yury
gemmology is a rewrite of intgemm based on xsimd (that we already
vendor), with a focus on the API we actually use.

It also supports sse2 and has a decent implementation for arm32 and
aarch64.

This patch integrates sse2, ssse3 and avx2 support.

Differential Revision: https://phabricator.services.mozilla.com/D171265
2023-03-28 17:12:20 +00:00
Narcis Beleuzu 4e6a52a24a Backed out changeset a8fd4d476a47 (bug 1815790) for Linting opt failure on gemmology . CLOSED TREE 2023-03-28 17:16:42 +03:00
serge-sans-paille 194cb113aa Bug 1815790 - Replace intgemm by gemmology r=yury
gemmology is a rewrite of intgemm based on xsimd (that we already
vendor), with a focus on the API we actually use.

It also supports sse2 and has a decent implementation for arm32 and
aarch64.

Differential Revision: https://phabricator.services.mozilla.com/D171265
2023-03-28 13:22:27 +00:00
Mike Hommey 5e255416a7 Bug 1824873 - Revert upstream change that causes reftest regressions. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D173786
2023-03-28 07:29:30 +00:00
Arthur Carcano 5fe3e81c1d Bug 1823599 - Add a mechanism to force running (pre-)export. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D173279
2023-03-28 00:50:29 +00:00
Cosmin Sabou 1f6c18d1a4 Backed out changeset 19ca420febe8 (bug 1815790) for causing SM bustages on GemmologyEngineAVX2.cpp. CLOSED TREE 2023-03-28 00:01:16 +03:00
serge-sans-paille 69bf76a412 Bug 1815790 - Replace intgemm by gemmology r=yury
gemmology is a rewrite of intgemm based on xsimd (that we already
vendor), with a focus on the API we actually use.

It also supports sse2 and has a decent implementation for arm32 and
aarch64.

Differential Revision: https://phabricator.services.mozilla.com/D171265
2023-03-27 20:40:04 +00:00
Andi-Bogdan Postelnicu 38a4785b34 Bug 1798305 - for clang-tidy do not cache attributes using a matcher since incomplete definitions may occur. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D169821
2023-03-27 16:04:39 +00:00
Mike Hommey b6972306c0 Bug 1824255 - Update glsl to 6.0.2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D173488
2023-03-24 00:13:38 +00:00
Mike Hommey 76df0cfce2 Bug 1820876 - Update NDK to r23c. r=firefox-build-system-reviewers,nalexander
Wrench android builds had been kept on rustc 1.67 waiting for this
upgrade.

Differential Revision: https://phabricator.services.mozilla.com/D172089
2023-03-23 22:18:09 +00:00
Stanca Serban 7c5ebbcf74 Backed out changeset df6f338d6a26 (bug 1820876) for causing build bustages on Android Shippable. CLOSED TREE 2023-03-23 14:13:08 +02:00
Julien Cristau c6a93ac62f Bug 1821513 - patch mercurial debian package to make http.timeout option work r=releng-reviewers,bhearsum
Cherry-pick from https://www.mercurial-scm.org/repo/hg/rev/3bb7c56e8fe6

Differential Revision: https://phabricator.services.mozilla.com/D173274
2023-03-23 07:07:57 +00:00
Mike Hommey 1f158eae92 Bug 1820876 - Update NDK to r23c. r=firefox-build-system-reviewers,nalexander
Wrench android builds had been kept on rustc 1.67 waiting for this
upgrade.

Differential Revision: https://phabricator.services.mozilla.com/D172089
2023-03-23 01:27:51 +00:00
Mike Hommey a6287b9ca6 Bug 1823837 - Move the location of libunwind in the clang toolchain. r=firefox-build-system-reviewers,ahochheiden
Before clang 16, the libunwind install only contained the libunwind.a
library. Since clang 16, however, it also contains header files,
including a unwind.h file that conflicts with the unwind.h file that
is also shipped alongside compiler-rt.

When building clang itself with compiler-rt and libunwind (i.e. not
building everything separately like we do), however, that's not a
problem because it puts libunwind in a different directory than
compiler-rt.

So we change the clang repacking to follow a similar convention.

But because clang doesn't look for libraries under clang/lib/$arch, but
looks under clang/lib/$target instead, we also need to enable per-target
directories for libunwind.

But because clang also looks for libraries under clang/lib/$exact_target
rather than clang/lib/$relaxed_target (in Android's case, exact_target
might be aarch64-unknown-linux-android21, relaxed_target
aarch64-unknown-linux-android), we patch clang to apply the same kind of
fallbacks it does for runtimes for clang/lib.

Differential Revision: https://phabricator.services.mozilla.com/D173363
2023-03-23 00:25:57 +00:00
Andi-Bogdan Postelnicu 10f49d4180 Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot
Differential Revision: https://phabricator.services.mozilla.com/D173035
2023-03-22 11:35:33 +00:00
Stanca Serban e31a178029 Backed out 7 changesets (bug 1660405) for causing bustages on Linux x64 opt. CLOSED TREE
Backed out changeset ad1a5f59214f (bug 1660405)
Backed out changeset a39e95f0aafe (bug 1660405)
Backed out changeset 48629ee0d70d (bug 1660405)
Backed out changeset 8419b99aab60 (bug 1660405)
Backed out changeset 535cc12c8bed (bug 1660405)
Backed out changeset e27052da4927 (bug 1660405)
Backed out changeset 11b0f9cf8091 (bug 1660405)
2023-03-22 13:05:53 +02:00
Andi-Bogdan Postelnicu a5d28acdd6 Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot
Differential Revision: https://phabricator.services.mozilla.com/D173035
2023-03-22 09:27:56 +00:00
Nicolas Chevobbe a1645740cc Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-21 17:27:48 +00:00
Mike Hommey 03ca551286 Bug 1821221 - Switch Android builds to compiler-rt + libunwind. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D172076
2023-03-21 05:13:43 +00:00
Marian-Vasile Laza 1c28d89a7e Backed out 3 changesets (bug 1823335, bug 1815937, bug 1823399) for devtools failures on browser_dbg-features-breakable-positions.js. CLOSED TREE
Backed out changeset f931921c97f2 (bug 1823399)
Backed out changeset 077d67ccc0d5 (bug 1823335)
Backed out changeset 103bf8d93883 (bug 1815937)
2023-03-21 00:01:11 +02:00
Nicolas Chevobbe 4aa1bc2655 Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-20 19:25:19 +00:00
Cristina Horotan 588b393945 Backed out 2 changesets (bug 1815937) for causing wpt failures at blockeduri-inline.html CLOSED TREE
Backed out changeset 668971329051 (bug 1815937)
Backed out changeset a4a3430c9bab (bug 1815937)
2023-03-17 15:52:33 +02:00
Nicolas Chevobbe c0be3c7697 Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-17 08:03:07 +00:00
Noemi Erli 2de6906fbc Backed out changeset 41589839f711 (bug 1821221) for causing build bustage CLOSED TREE 2023-03-17 00:43:28 +02:00
Mike Hommey c53db6818d Bug 1821221 - Switch Android builds to compiler-rt + libunwind. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D172076
2023-03-16 21:39:24 +00:00
Kershaw Chang 79403e1620 Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-16 21:28:58 +00:00
Mike Hommey eaca1f3dd4 Bug 1820947 - Use "new style" sysroot on Android. r=firefox-build-system-reviewers,andi
For a few NDK releases now, the situation has been simplified wrt
headers and libraries, and while we're currently still using things here
and there because we never changed our ways, we can simplify things a
lot by using the new simplified things. This involves:
- Using a --target that contains the Android version, making clang set
  __ANDROID_API__ itself, and makes it look in $sysroot/usr/lib/$target/$ver
  when linking.
- Using the sysroot that is under toolchains/llvm/prebuilt/*.
- Removing the hacks around libstdc++/libc++.

This ends up emptying stlport compiler flags, which allows to remove a
bunch of things.

Differential Revision: https://phabricator.services.mozilla.com/D172039
2023-03-15 20:44:02 +00:00
Norisz Fay 4a35828e21 Backed out 2 changesets (bug 1820947) for causing build bustage CLOSED TREE
Backed out changeset eb6419bb8748 (bug 1820947)
Backed out changeset 9990083e8ea2 (bug 1820947)
2023-03-14 01:20:54 +02:00
Mike Hommey f5844f16c5 Bug 1820947 - Use "new style" sysroot on Android. r=firefox-build-system-reviewers,andi
For a few NDK releases now, the situation has been simplified wrt
headers and libraries, and while we're currently still using things here
and there because we never changed our ways, we can simplify things a
lot by using the new simplified things. This involves:
- Using a --target that contains the Android version, making clang set
  __ANDROID_API__ itself, and makes it look in $sysroot/usr/lib/$target/$ver
  when linking.
- Using the sysroot that is under toolchains/llvm/prebuilt/*.
- Removing the hacks around libstdc++/libc++.

This ends up emptying stlport compiler flags, which allows to remove a
bunch of things.

Differential Revision: https://phabricator.services.mozilla.com/D172039
2023-03-13 21:14:47 +00:00
Ben Hearsum 8e86487f21 Bug 1814727: add tasks for attributing en-US builds r=ahal,nalexander
Notably, the actual attribution code we're using is stored in `browser`. This was largely motivated by the fact that the subsequent revision in this stack will also need it, and this seemed like the best way to make it shareable between the two. The only alternative I could come up with was stuffing it into a transforms - but it's really just data - there's no reason it ought to live in such a place. (We do have precedent for this sort of thing with both locale and whats new page information, so I don't think it's breaking huge new ground.) Nick - I'm tagging you mainly on this part, but I welcome any other comments you may have (here or in the rest of the stack for that matter).

The other notable part of this patch is that I've _explicitly_ decided not to use the `multi_dep` loader, nor reimplement any of its magic pulling of properties in a transform. I find that this makes it more clear what's _actually_ going on, and easier to debug when making changes. The dwonside, of course, is that there's some verboseness in the kind - all platforms we need to run this for must be explicitly listed. I'm open to debate on whether or not this is the right trade-off, so feel free to push back if you disagree.

Differential Revision: https://phabricator.services.mozilla.com/D170243
2023-03-13 19:04:06 +00:00
Marian-Vasile Laza ee72efd1e9 Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang 2b54ddaca8 Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-13 11:12:32 +00:00
Mike Hommey 22af5046bf Bug 1820919 - Apply clang trunk patches related to symlinks. r=firefox-build-system-reviewers,andi
To replace our own patch, which now conflicts with clang trunk.
We don't build clang 14 for Windows, so we just remove the patch for
clang 14.

Differential Revision: https://phabricator.services.mozilla.com/D172059
2023-03-09 22:21:23 +00:00
Mike Hommey a0388593b5 Bug 1820919 - Revert clang trunk change that conflicts with another revert. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D171957
2023-03-09 22:21:23 +00:00
Mike Hommey 08c5bf14ec Bug 1820946 - Stop implying a toolchain prefix for Android builds. r=firefox-build-system-reviewers,andi
This used to be necessary, but since we switched most things to use LLVM
tools instead of binutils ones, this has become less useful.

Differential Revision: https://phabricator.services.mozilla.com/D171956
2023-03-08 20:23:43 +00:00
Mike Hommey 98a59b9e61 Bug 1820946 - Remove old NDK directories. r=firefox-build-system-reviewers,andi
The NDK detection has some code that remains from older NDKs that we
don't support anymore.

Differential Revision: https://phabricator.services.mozilla.com/D171955
2023-03-08 20:23:43 +00:00
Mike Hommey 55d47e4aa0 Bug 1820946 - Remove -fno-exceptions from Android-specific compiler flags. r=firefox-build-system-reviewers,andi
It is already added globally.

Differential Revision: https://phabricator.services.mozilla.com/D171954
2023-03-08 20:23:42 +00:00
Mike Hommey 0a19976465 Bug 1820946 - Remove special case for libatomic with clang on Linux x86. r=firefox-build-system-reviewers,andi
Apparently, the problem that this worked around doesn't happen anymore.

Differential Revision: https://phabricator.services.mozilla.com/D171953
2023-03-08 20:23:42 +00:00
Mike Hommey 0db8c3eb0f Bug 1820946 - Pass armv7 related flags to bindgen. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D171952
2023-03-08 20:23:42 +00:00
Mike Hommey 6d7d562d0a Bug 1820946 - Avoid duplication of Android flags between python and autoconf configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D171951
2023-03-08 20:23:41 +00:00
Mike Hommey efd791965b Bug 1820946 - Remove unused Android related variables from the build system. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D171950
2023-03-08 20:23:41 +00:00