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

8736 Коммитов

Автор SHA1 Сообщение Дата
Ciure Andrei b23acd28e8 Backed out changeset fe3a47b458ad (bug 1605264) for causing build bustages on central a=backout 2020-01-01 13:00:37 +02:00
Ricky Stewart 13365ed474 Bug 1605264 - "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D57908

--HG--
extra : moz-landing-system : lando
2019-12-31 21:19:33 +00:00
Sylvestre Ledru f3a0c62f4c Bug 1605560 - Move to clang 9.0.1 r=froydnj
remove patch "r372020-r372182-profiler-linkage.patch" as
it is now applied upstream in the branch 9:
99e5b1a41a (diff-74ce7383b15a6fad853c8677f58da28a)

Differential Revision: https://phabricator.services.mozilla.com/D58076

--HG--
extra : moz-landing-system : lando
2019-12-22 21:57:04 +00:00
shindli 4f5d5bf966 Backed out changeset 008852b3720d (bug 1569370) for causing linux x64 wasm bustages CLOSED TREE
--HG--
extra : rebase_source : bb2fac5057260496f457c6466a0803c3c41b930c
2019-12-30 21:15:37 +02:00
Nathan Froyd 52c254b0e6 Bug 1569370 - add mozconfig fragments for declaring wasm sandboxing bits; r=firefox-build-system-reviewers,rstewart
This patch is not ideal: if would be better to do the defaulting in
`toolkit/moz.configure`, but doing it there runs into problems with base
toolchain configurations, as the clang there is not new enough.  So we
have this, doing everything with environment variables, which is easily
turned on or off, depending on the needs of the specific configuration.

The `mozconfig.no-compile` change is not really needed, as the wasm
sandboxing detection bits are not conditional on
`--enable-compile-environment`.  Those bits should be, and I will tackle
doing that after the holidays.

Differential Revision: https://phabricator.services.mozilla.com/D58102

--HG--
extra : moz-landing-system : lando
2019-12-24 04:27:01 +00:00
Dzmitry Malyshau 785a7cfbc2 Bug 1596126 - Github synchronization for gfx/wgpu r=Callek,tomprince
This change introduces a "github-sync" component into tools,
which aims to support synchronizing both wgpu and WebRender with github.
~~It also features a "cargo test" job for standalone wgpu (bug  1596127)~~

The code is ported from "gfx/wr/scripts/wrupdater" folder. Changes are:
  1. remove explicit WR parts and make them configurable by command line params
  2. detect "mozilla-xxx" tags and use them in addition to the commits

As a follow up, wrupdater will be removed in favor of github-sync.

Status:
  - [x] get the CI test job working
  - [x] get @kats to fork "wgpu" github for "moz-gfx" bot
  - [x] remove the wgpu testing CI job (into separate PR)
  - [x] create new secret and reference it

Differential Revision: https://phabricator.services.mozilla.com/D57057

--HG--
extra : moz-landing-system : lando
2019-12-28 02:44:59 +00:00
Mike Hommey 57f5b8a7bf Bug 1604335 - Enable PHC on early beta. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D58285

--HG--
extra : moz-landing-system : lando
2019-12-27 04:34:33 +00:00
Mike Hommey e4a8d2ba9f Bug 1597834 - Make EARLY_BETA_OR_EARLIER available to python configure. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D58280

--HG--
extra : moz-landing-system : lando
2019-12-27 22:18:32 +00:00
Nicholas Nethercote b692b7c5cf Bug 1599337 - Make PHC nightly-only again. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D56480

--HG--
extra : moz-landing-system : lando
2019-12-10 05:28:58 +00:00
Andreea Pavel bfb46a92de Backed out changeset c867ca4daf74 (bug 1569370) for build bustages on a CLOSED TREE 2019-12-24 05:40:35 +02:00
Nathan Froyd be203e102e Bug 1569370 - add mozconfig fragments for declaring wasm sandboxing bits; r=firefox-build-system-reviewers,rstewart
This patch is not ideal: if would be better to do the defaulting in
`toolkit/moz.configure`, but doing it there runs into problems with base
toolchain configurations, as the clang there is not new enough.  So we
have this, doing everything with environment variables, which is easily
turned on or off, depending on the needs of the specific configuration.

The `mozconfig.no-compile` change is not really needed, as the wasm
sandboxing detection bits are not conditional on
`--enable-compile-environment`.  Those bits should be, and I will tackle
doing that after the holidays.

Differential Revision: https://phabricator.services.mozilla.com/D58102

--HG--
extra : moz-landing-system : lando
2019-12-23 16:47:18 +00:00
Andreea Pavel 859dfc94b1 Backed out changeset e6e01dd97002 (bug 1605560) for causing build bustages a=backout 2019-12-22 12:14:47 +02:00
Sylvestre Ledru 6b5a637f41 Bug 1605560 - Move to clang 9.0.1 r=froydnj
remove patch "r372020-r372182-profiler-linkage.patch" as
it is now applied upstream in the branch 9:
99e5b1a41a (diff-74ce7383b15a6fad853c8677f58da28a)

Differential Revision: https://phabricator.services.mozilla.com/D58076

--HG--
extra : moz-landing-system : lando
2019-12-21 18:08:28 +00:00
Chris Manchester d068aba2ee Bug 1605110 - Adjust `import-instr-limit` on macOS to match other platforms now that we have pgo. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D58045

--HG--
extra : moz-landing-system : lando
2019-12-20 21:07:42 +00:00
Narcis Beleuzu 4784c2b263 Backed out changeset 476527cfd083 (bug 1596182) for Bpgo crashes on linux-gate.so . CLOSED TREE 2019-12-20 20:43:46 +02:00
Chris Manchester 225ec59663 Bug 1596182 - Add raptor-webaudio to the pgo profile run. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D58003

--HG--
extra : moz-landing-system : lando
2019-12-20 17:22:53 +00:00
Jonathan Watt b53043624b Bug 1605268. Notify Xcode debugger users that the KeyError can be ignored. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D57914

--HG--
extra : moz-landing-system : lando
2019-12-20 03:41:00 +00:00
Ricky Stewart 3513bb2f84 Bug 1604881 - fail if user attempts to set CC or CXX with "mk_add_options" in .mozconfig r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D57656

--HG--
extra : moz-landing-system : lando
2019-12-19 21:00:43 +00:00
Sylvestre Ledru 33853fcce7 Bug 1605181 - 'if constexpr' wasn't supported in clang-tidy r=andi
Differential Revision: https://phabricator.services.mozilla.com/D57835

--HG--
extra : moz-landing-system : lando
2019-12-19 18:32:40 +00:00
shravanrn@gmail.com c9ff62b7ef Bug 1566288 - Port libGraphite usage in libThebes to use the RLBox API. r=froydnj,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D39593

--HG--
extra : moz-landing-system : lando
2019-12-19 16:05:35 +00:00
Nathan Froyd 8058ebbc5b Bug 1604814 - change the OS X SDK headers check to only run on OS X; r=rstewart
The doubling of `when` is needed: the `try_run` when ensures that we
only execute the compiler on OS X, and the `@depends` when ensures that
we don't look at the `None` result (which would normally indicate
failure) on non-OS X hosts.

Differential Revision: https://phabricator.services.mozilla.com/D57636

--HG--
extra : moz-landing-system : lando
2019-12-18 21:00:57 +00:00
Chris Manchester 6b7cde2020 Bug 1604578 - Fix pgo enable variable name in macOS mozconfig. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D57596

--HG--
extra : moz-landing-system : lando
2019-12-18 17:53:36 +00:00
Brindusan Cristian 858cf4323e Backed out 2 changesets (bug 1569369, bug 1566288) for build bustages at rlbox_sandbox.hpp. CLOSED TREE
Backed out changeset 75d775daa792 (bug 1569369)
Backed out changeset 0bc20fd26ca0 (bug 1566288)
2019-12-18 13:53:56 +02:00
shravanrn@gmail.com 0eecffaee5 Bug 1566288 - Port libGraphite usage in libThebes to use the RLBox API. r=froydnj,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D39593

--HG--
extra : moz-landing-system : lando
2019-12-17 00:26:50 +00:00
Chris Manchester 4d12edfd8d Bug 1594538 - Require rustc 1.39 to build. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D57396

--HG--
extra : moz-landing-system : lando
2019-12-17 17:12:21 +00:00
Ryan VanderMeulen fa1a2fe66d Backed out changeset ebbc8a9e9737 (bug 1543853) for causing bug 1603482. 2019-12-17 10:15:58 -05:00
Chris Manchester 0929dac033 Bug 1528374 - Add macOS pgo builds to the taskgraph. r=firefox-build-system-reviewers,mshal,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20409

--HG--
extra : moz-landing-system : lando
2019-12-16 23:25:07 +00:00
Oana Pop Rus b49aefd3c9 Backed out 3 changesets (bug 1528374) for build bustages failures during artifact upload: file-missing-on-worker: Could not read directory /Users/task_1576213467/artifacts on a CLOSED TREE
Backed out changeset 3c2a1cf616b4 (bug 1528374)
Backed out changeset 967d0072cd2f (bug 1528374)
Backed out changeset 0d0186ecd70e (bug 1528374)
2019-12-16 23:50:45 +02:00
Chris Manchester 23e9c6d856 Bug 1528374 - Add macOS pgo builds to the taskgraph. r=firefox-build-system-reviewers,mshal,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20409

--HG--
extra : moz-landing-system : lando
2019-12-13 05:43:44 +00:00
Emilio Cobos Álvarez 1258c314aa Bug 1604160 - Update cbindgen to do proper copy assignment on tagged enums. r=boris
This is needed to support min() / max() / clamp(), as LengthPercentage will have
a potential heap allocation and the current copy-assignment operators just do
bitwise copies.

Differential Revision: https://phabricator.services.mozilla.com/D57300

--HG--
extra : moz-landing-system : lando
2019-12-16 13:31:24 +00:00
Calixte Denizet c82c13e1a9 Bug 1603436 - Rename clang patch (critical_section_on_gcov_flush.patch) to make easier the switch to LLVM 10 r=dmajor
Cherry-picked from: 02ce9d8ef5.

Differential Revision: https://phabricator.services.mozilla.com/D56945

--HG--
rename : build/build-clang/critical_section_on_gcov_flush.patch => build/build-clang/critical_section_on_gcov_flush-rG02ce9d8ef5a8.patch
extra : moz-landing-system : lando
2019-12-12 22:13:04 +00:00
Tyson Smith f28f9e82c6 Bug 1602845 - Enable 'return' UBSan check. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56626

--HG--
extra : moz-landing-system : lando
2019-12-15 05:13:34 +00:00
Chris Peterson 8fd7f11cb8 Bug 1583717 - Enable clang's -Wempty-init-stmt warnings. r=glandium
-Wempty-init-stmt is a new clang diagnostic that diagnoses empty C++17 init-statements of if, switch, and range-based for statements:

void test() {
  if(; // <- warning: init-statement of 'if' is a null statement
    true)
  ;

  switch (; // <- warning: init-statement of 'switch' is a null statement
    x) {
    ...
  }

  for (; // <- warning: init-statement of 'range-based for' is a null statement
    int y : S())
  ;
}

Differential Revision: https://phabricator.services.mozilla.com/D54866

--HG--
extra : moz-landing-system : lando
2019-12-12 02:18:37 +00:00
Noemi Erli 24e02f049b Backed out 3 changesets (bug 1528374) per tomprice's request for breaking macOS signing jobs CLOSED TREE
Backed out changeset 5a6fa3b5123b (bug 1528374)
Backed out changeset 32f3b1b3fe3b (bug 1528374)
Backed out changeset a412a319534c (bug 1528374)
2019-12-13 06:48:05 +02:00
Chris Manchester 3138b4cffd Bug 1528374 - Add macOS pgo builds to the taskgraph. r=firefox-build-system-reviewers,mshal,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20409

--HG--
extra : moz-landing-system : lando
2019-12-12 19:31:17 +00:00
Tom Prince 9e2fc7ebbc Bug 1596775: Import scripts for downloading macOS system symbols; r=marco
Import the code from
https://github.com/marco-c/breakpad-mac-update-symbols/
and
https://github.com/marco-c/breakpad-scrape-system-symbols

Differential Revision: https://phabricator.services.mozilla.com/D55321

--HG--
extra : moz-landing-system : lando
2019-12-12 02:05:21 +00:00
Cosmin Sabou 1b479d118b Backed out changeset f5d00d265686 (bug 1566288) for causing build bustages.
--HG--
extra : amend_source : 4151f2dfb2775bbf1fa3255d47849a818eed5b6c
2019-12-12 20:57:57 +02:00
shravanrn@gmail.com c32b58ae0e Bug 1566288 - Port libGraphite usage in libThebes to use the RLBox API. r=froydnj,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D39593

--HG--
extra : moz-landing-system : lando
2019-12-12 02:48:11 +00:00
Tom Ritter 9a59ac123c Bug 1590624 - Update the mingw-clang compiler to clang 9 r=dmajor
We can remove our backported objcopy patches, we'll need to update
llvm-mingw for toolchain fixes, and we need to add binutils to compile
this newer version of clang because the system binutils is too old.

Differential Revision: https://phabricator.services.mozilla.com/D50152

--HG--
rename : build/build-clang/clang-8-mingw.json => build/build-clang/clang-9-mingw.json
rename : taskcluster/scripts/misc/build-clang-8-mingw.sh => taskcluster/scripts/misc/build-clang-mingw.sh
extra : moz-landing-system : lando
2019-12-12 07:43:53 +00:00
Andreea Pavel a533b175dd Backed out 4 changesets (bug 1590624) for breaking gecko decision task on a CLOSED TREE
Backed out changeset 2ac8dd1d709d (bug 1590624)
Backed out changeset 8432398c212a (bug 1590624)
Backed out changeset 2b28154aacdb (bug 1590624)
Backed out changeset d305e4160ee4 (bug 1590624)

--HG--
rename : build/build-clang/clang-9-mingw.json => build/build-clang/clang-8-mingw.json
rename : taskcluster/scripts/misc/build-clang-mingw.sh => taskcluster/scripts/misc/build-clang-8-mingw.sh
2019-12-12 08:35:11 +02:00
Tom Ritter 7a2045b616 Bug 1590624 - Update the mingw-clang compiler to clang 9 r=dmajor
We can remove our backported objcopy patches, we'll need to update
llvm-mingw for toolchain fixes, and we need to add binutils to compile
this newer version of clang because the system binutils is too old.

Differential Revision: https://phabricator.services.mozilla.com/D50152

--HG--
rename : build/build-clang/clang-8-mingw.json => build/build-clang/clang-9-mingw.json
rename : taskcluster/scripts/misc/build-clang-8-mingw.sh => taskcluster/scripts/misc/build-clang-mingw.sh
extra : moz-landing-system : lando
2019-12-10 18:56:45 +00:00
Andrew Halberstadt 26e9db86f8 Bug 1583353 - [taskgraph] Implement test chunking in transforms r=gbrown
We've long handled chunks by defining the total number of chunks in our CI
configuration, and then passing that value down into the test harnesses at task
runtime (via the '--this-chunk' and '--total-chunks' parameters).  The test
harness then runs an algorithm to determine which tests should be run in "this"
chunk.

There are several problems with this approach, but by far the biggest is that
we can't use test information in our scheduling algorithms. The information
simply isn't available yet. This patch switches things around such that we
determine which tests go in which tasks during the taskgraph generation. This
means we have perfect information around which tasks are running which tests,
and if e.g a ccov or machine learning algorithm deems a particular test
important, we can make sure to *only* schedule the tasks that contain that
test.

I'm planning to enable this a couple suites at a time so we don't accidentally
stop running tests. This specifically only enables this mode for
'mochitest-media', 'mochitest-browser-chrome' and 'mochitest-devtools-chrome'.
I chose these suites because they are the ones that are already using the
'chunk_by_runtime' algorithm.

Differential Revision: https://phabricator.services.mozilla.com/D52729

--HG--
extra : moz-landing-system : lando
2019-12-11 21:10:48 +00:00
Māris Fogels 030fc0897c Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

Differential Revision: https://phabricator.services.mozilla.com/D50819

--HG--
extra : moz-landing-system : lando
2019-12-03 18:49:06 +00:00
David Major e057c099b7 Bug 1543853 - Add StyleBench to PGO training r=firefox-build-system-reviewers,rstewart
Now that we have Rust PGO, training on this set can actually make a difference (and in fact may be needed in order to see a difference from Rust PGO at all).

Differential Revision: https://phabricator.services.mozilla.com/D56751

--HG--
extra : moz-landing-system : lando
2019-12-11 15:37:01 +00:00
David Major 08274e0b6d Bug 1603141 - Remove unused option --enable-cross-pgo r=froydnj
Nothing looks at the value of this option. We seem to have settled on the `--enable-profile-{generate,use}=cross` approach instead.

Differential Revision: https://phabricator.services.mozilla.com/D56588

--HG--
extra : moz-landing-system : lando
2019-12-11 16:21:04 +00:00
Calixte Denizet f6c15104f5 Bug 1599436 - Backport LLVM patch to add a critical section in gcov_flush r=marco
In order to avoid crashes when we're dumping gcda files, we backport a llvm/compiler-rt patch which fix this issue in adding a critical section around flush.

Differential Revision: https://phabricator.services.mozilla.com/D56559

--HG--
extra : moz-landing-system : lando
2019-12-10 16:30:08 +00:00
David Major d74698c1f9 Bug 1602568 - Enable Rust PGO on linux32 and Windows r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D56584

--HG--
extra : moz-landing-system : lando
2019-12-10 19:48:04 +00:00
Tom Ritter f85cc45712 Bug 1511073 - Enable stack protector for MinGW build r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D56295

--HG--
extra : moz-landing-system : lando
2019-12-09 17:02:50 +00:00
Dorel Luca e070fba60f Backed out changeset 870b38a3dc28 (bug 1602482) for as per dev's request. a=backout 2019-12-10 13:47:12 +02:00
Tyson Smith 30f2b5474f Bug 1602536 - Enable 'object-size' UBSan check r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56472

--HG--
extra : moz-landing-system : lando
2019-12-09 22:07:12 +00:00
Mike Shal e1d461164f Bug 1557788 - Rename MOZ_PGO_PROFILE_USE to TASKCLUSTER_PGO_PROFILE_USE; r=firefox-build-system-reviewers,chmanchester
MOZ_PGO_PROFILE_USE is used to enable certain features in the automation
mozconfigs for profile-use builds, including the MOZ_PROFILE_USE
configure option. They aren't easily combined into one flag due to the
extra settings that are enabled only in automation mozconfigs.

Renaming the former variable to TASKCLUSTER_PGO_PROFILE_USE makes it
slightly more obvious where it comes from and avoids confusion.

Differential Revision: https://phabricator.services.mozilla.com/D56117

--HG--
extra : moz-landing-system : lando
2019-12-09 18:03:57 +00:00
Mike Shal 1df5b4f9b4 Bug 1557788 - Remove pgomerge.py; r=firefox-build-system-reviewers,chmanchester
pgomerge.py was needed for Windows MSVC PGO builds. Now that we use
clang for these builds, it's no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D56113

--HG--
extra : moz-landing-system : lando
2019-12-09 18:03:40 +00:00
Tom Ritter 0d1c6b5d7e Bug 1601701 - Add -lssp to the mingw-clang for FORTIFY_SOURCE support r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D56000

--HG--
extra : moz-landing-system : lando
2019-12-07 03:35:34 +00:00
Calixte Denizet 0232caa2b6 Bug 1602482 - Remove use of ___custom_llvm_gcov_flush r=marco
Because of conflicts between gcov_flush from gcc and the one from llvm, we renamed llvm one into ___custom_llvm_gcov_flush.
Since we switched to clang for ccov builds, this workaround is now useless.

Differential Revision: https://phabricator.services.mozilla.com/D56394

--HG--
extra : moz-landing-system : lando
2019-12-09 17:07:00 +00:00
Ricky Stewart 6999ee5c42 Bug 1601448 - The clang.tar.xz bootstrap artifact should contain the libclang_rt.builtins-wasm32.a archive r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56019

--HG--
extra : moz-landing-system : lando
2019-12-09 16:59:49 +00:00
Ricky Stewart 9c9c545557 Bug 1601064 - In ./mach configure, infer the location of the bootstrapped lucetc/wasi-sysroot r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D55734

--HG--
extra : moz-landing-system : lando
2019-12-09 14:54:16 +00:00
David Major b7af94f1d0 Bug 1602355 - Fix GCC LTO build break r=froydnj
GCC doesn't understand the `import-instr-limit` option.

Differential Revision: https://phabricator.services.mozilla.com/D56366

--HG--
extra : moz-landing-system : lando
2019-12-09 14:52:28 +00:00
Emilio Cobos Álvarez 85599f3f1b Bug 1602317 - Update cbindgen to 0.11.1. r=jrmuizel
This includes more bitflag operators, which means we can remove some slightly
ugly code.

Differential Revision: https://phabricator.services.mozilla.com/D56308

--HG--
extra : moz-landing-system : lando
2019-12-09 03:20:53 +00:00
Tarek Ziadé 879e6071ec Bug 1599424 - Convert vismet task output to a perfherder artifact r=sparky,rwood
Differential Revision: https://phabricator.services.mozilla.com/D55393

--HG--
extra : moz-landing-system : lando
2019-12-06 07:57:50 +00:00
Mike Hommey efece1b05a Bug 1597901 - Fix some sources of non-determinism in clang. r=dmajor
Cherry-picked from 7e18aeba50.

Differential Revision: https://phabricator.services.mozilla.com/D55886

--HG--
extra : moz-landing-system : lando
2019-12-05 22:28:01 +00:00
Mike Shal 25308d30a2 Bug 1563403 - Use 3-tier PGO for local MOZ_PGO=1 builds; r=firefox-build-system-reviewers,dmajor,chmanchester
Local PGO builds now use 3-tier machinery under the hood. Instead of a
single object directory that gets cleaned in between the instrumented
and profile-use builds, now the instrumented build uses a separate
'${objdir}/instrumented' directory. This makes it easier to handle
within mach since we can drive the two builds with environment variables
and keep all build artifacts separate, without needing to do manual
cleanup in between.

Differential Revision: https://phabricator.services.mozilla.com/D50098

--HG--
extra : moz-landing-system : lando
2019-12-06 01:07:32 +00:00
Mike Shal 554a8c6462 Bug 1563403 - disable LTO on --enable-profile-generate; r=firefox-build-system-reviewers,chmanchester
In automation this is normally handled by mozconfigs, but we should
disable it automatically during the profile-generate stage for users if
they have LTO enabled in their mozconfig while doing a 3-tier PGO build.

Differential Revision: https://phabricator.services.mozilla.com/D50097

--HG--
extra : moz-landing-system : lando
2019-12-06 01:03:25 +00:00
Emilio Cobos Álvarez 4695746608 Bug 1601732 - Update in-tree dependencies to smallvec 1.0. r=glandium
We're vendoring it already so no reason not to. Only a couple dependencies left
after these to get rid of 0.6.

Differential Revision: https://phabricator.services.mozilla.com/D56044

--HG--
extra : moz-landing-system : lando
2019-12-05 23:30:59 +00:00
Ricky Stewart 5aa8a29e6a Bug 1601407 - Update gfx/graphite2/src/moz.build to additionally build a wasm sandboxed library r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56024

--HG--
extra : moz-landing-system : lando
2019-12-05 18:56:39 +00:00
Chris Manchester 08f94ebcd3 Bug 1595218 - Update valgrind supressions for rustc 1.39. r=emilio
Depends on D53901

Differential Revision: https://phabricator.services.mozilla.com/D55909

--HG--
extra : moz-landing-system : lando
2019-12-05 17:15:28 +00:00
Chris Manchester 5a33be02e2 Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:11 +00:00
Axel Hecht 60e0566e34 Bug 1601249, update l10n-related build documentation, r=flod
This fixes quite a bit of historical baggage, and also goes
into a bit more details of what the l10n repacks actually do.

Differential Revision: https://phabricator.services.mozilla.com/D55807

--HG--
extra : moz-landing-system : lando
2019-12-05 13:44:22 +00:00
Mike Hommey 7f061cc7b1 Bug 1601150 - Update cargo workspace hack. r=chmanchester
Bug 1601233 made cranelift bump its syn dependency to 1.0, breaking the
workspace hack. Some of the features were also stale from presumably
other updates.

Differential Revision: https://phabricator.services.mozilla.com/D55897

--HG--
extra : moz-landing-system : lando
2019-12-05 04:32:15 +00:00
Razvan Maries c9cf973dbf Backed out 3 changesets (bug 1595218) for build bustages. CLOSED TREE
Backed out changeset 499b0c27da4f (bug 1595218)
Backed out changeset f2f230a3028d (bug 1595218)
Backed out changeset 93ec75efbf41 (bug 1595218)
2019-12-05 02:53:04 +02:00
Chris Manchester a85167cf6b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-04 23:37:16 +00:00
Jesse Schwartzentruber 81870fa7c5 Bug 1482167 - Create --enable-fuzzing ASAN build job for Android x86-64 firefox. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D3027

--HG--
extra : moz-landing-system : lando
2019-12-04 21:44:06 +00:00
Emilio Cobos Álvarez 9e32088488 Bug 1600454 - Fix build with --disable-update-channel. r=glandium
Depends on D55363

Differential Revision: https://phabricator.services.mozilla.com/D55364

--HG--
extra : moz-landing-system : lando
2019-12-04 08:48:17 +00:00
Gurzau Raul 87ac4a3719 Backed out 3 changesets (bug 1595218) for Windows wrench failures.
Backed out changeset 9fdeeb697611 (bug 1595218)
Backed out changeset d7f9a4045360 (bug 1595218)
Backed out changeset 30bb03117312 (bug 1595218)
2019-12-04 05:49:06 +02:00
Ricky Stewart 7e35d31d8c Bug 1598642 - Fix error message when rustc/cargo are not installed r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D55738

--HG--
extra : moz-landing-system : lando
2019-12-03 22:39:17 +00:00
Chris Manchester be8da63e8e Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-03 21:51:47 +00:00
Nathan Froyd f47aaef62d Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

Differential Revision: https://phabricator.services.mozilla.com/D54202

--HG--
extra : moz-landing-system : lando
2019-12-03 06:50:13 +00:00
Sebastian Hengst a47186d18f Merge mozilla-central to autoland. CLOSED TREE 2019-12-03 19:33:56 +01:00
Sebastian Hengst 4d554f0a10 Backed out changeset 3034ec8681ac (bug 1590745) for breaking local macOS 10.15 builds (bug 1600720). a=backout 2019-12-03 19:06:29 +01:00
shindli 4562fd4c3b Backed out 3 changesets (bug 1595218) for causing wrench bustages on central CLOSED TREE a=backout
Backed out changeset 1808b1722f64 (bug 1595218)
Backed out changeset 46fe2af291cf (bug 1595218)
Backed out changeset 11c0576cf3d5 (bug 1595218)
2019-12-03 13:17:59 +02:00
Chris Manchester 9eb1bdb17b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-11-22 00:02:18 +00:00
Mihai Alexandru Michis d12cf9f2ad Backed out changeset 9dea219937cd (bug 1560664) for causing valgrid bustages. CLOSED TREE
--HG--
extra : rebase_source : 60fba62a9241bec3aadc84260c2b9dacb89cf1ff
2019-12-02 16:59:55 +02:00
Nathan Froyd 945c7515d6 Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

Differential Revision: https://phabricator.services.mozilla.com/D54202

--HG--
extra : moz-landing-system : lando
2019-11-26 21:19:53 +00:00
Nathan Froyd a936a0c98f Bug 1599110 - fix bubblewrap version requirement; r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D54523

--HG--
extra : moz-landing-system : lando
2019-12-02 13:19:19 +00:00
Andi-Bogdan Postelnicu 7843370cdf Bug 1600033 - for clang-tidy force the output diagnostic as warnings from errors.r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D55135

--HG--
extra : moz-landing-system : lando
2019-11-28 21:15:01 +00:00
Nicholas Nethercote 3d06e16862 Bug 1599928 - Fix a tier-2 Python linting failure. r=erahm
It's complaining about `milestone` not being used.

Differential Revision: https://phabricator.services.mozilla.com/D55059

--HG--
extra : moz-landing-system : lando
2019-11-28 03:39:45 +00:00
Nicholas Nethercote 4f86a0f7ca Bug 1594595 - Enable PHC on early beta 72 builds. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D54665

--HG--
extra : moz-landing-system : lando
2019-11-27 22:46:33 +00:00
Geoff Brown 253aaf1570 Bug 1599587 - Adjust android mochitest/reftest logging; r=jmaher
Guard against flaky results from the remote is_file and reduce adb traffic
by waiting once for the log file to be created rather than checking for it
throughout the test run.
(Minor ride-along change to reftest.jsm resolves javascript error introduced
by bug 1575266.)

Differential Revision: https://phabricator.services.mozilla.com/D55026

--HG--
extra : moz-landing-system : lando
2019-11-27 21:33:38 +00:00
Mike Hommey 090c830f89 Bug 1598273 - Refresh config.guess and config.sub from upstream. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54244

--HG--
extra : moz-landing-system : lando
2019-11-26 13:30:41 +00:00
Geoff Brown 4286faeb7b Bug 1590354 - Remove checks for remote minidumps directory; r=jmaher
Whereas:
 - desktop tests don't make this check;
 - the check for directory existence has been troublesome and almost never useful;
 - bug classification of this condition has been troublesome;
 - if a startup crash actually did occur before crashreporter init, there would still be an indication in logcat and possibly a tombstone, and the "No test summary found" check would definitely be triggered;
Let's stop checking for minidumps directory creation.

Differential Revision: https://phabricator.services.mozilla.com/D54755

--HG--
extra : moz-landing-system : lando
2019-11-26 16:38:44 +00:00
Māris Fogels 75d85af992 Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

Differential Revision: https://phabricator.services.mozilla.com/D50819

--HG--
extra : moz-landing-system : lando
2019-11-25 20:23:03 +00:00
Sylvestre Ledru 8d2f0d1b1f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D54686

--HG--
extra : moz-landing-system : lando
2019-11-26 14:35:02 +00:00
Philip Chimento 46313a101e Bug 1590907 - Make ENABLE_INTL_API and ENABLE_TYPED_OBJECTS into js-config macros. r=sfink,firefox-build-system-reviewers,mshal
Whether ENABLE_INTL_API and ENABLE_TYPED_OBJECTS are defined, affects
the behaviour of JS_FOR_PROTOTYPES for the prototypes of Intl and
TypedObject. Therefore, these macros have to be available to embedders.
Rename them to JS_HAS_INTL_API and JS_HAS_TYPED_OBJECTS (in line with
the existing JS_HAS_CTYPES) everywhere they are used, and add them to
js-config.h.in.

Differential Revision: https://phabricator.services.mozilla.com/D52461

--HG--
extra : moz-landing-system : lando
2019-11-26 07:25:35 +00:00
Brindusan Cristian 3e0cb96b6e Backed out 7 changesets (bug 1590907) for build bustages at jsfriendapi.cpp. CLOSED TREE
Backed out changeset d6ac9325cb2c (bug 1590907)
Backed out changeset fc85ee5e144c (bug 1590907)
Backed out changeset 1b5b40dcaac4 (bug 1590907)
Backed out changeset 1b2d91f00be2 (bug 1590907)
Backed out changeset 67f939760329 (bug 1590907)
Backed out changeset 4d5818a72b46 (bug 1590907)
Backed out changeset 308b42f3a99c (bug 1590907)

--HG--
extra : rebase_source : 47578231d4749f023c3d206c479ee532dbf6fc6c
extra : histedit_source : 9e7427349342272e7fbe02fee29cb87cda45f75d
2019-11-26 05:23:11 +02:00
Philip Chimento a710bbae5d Bug 1590907 - Make ENABLE_INTL_API and ENABLE_TYPED_OBJECTS into js-config macros. r=sfink,firefox-build-system-reviewers,mshal
Whether ENABLE_INTL_API and ENABLE_TYPED_OBJECTS are defined, affects
the behaviour of JS_FOR_PROTOTYPES for the prototypes of Intl and
TypedObject. Therefore, these macros have to be available to embedders.
Rename them to JS_HAS_INTL_API and JS_HAS_TYPED_OBJECTS (in line with
the existing JS_HAS_CTYPES) everywhere they are used, and add them to
js-config.h.in.

Differential Revision: https://phabricator.services.mozilla.com/D52461

--HG--
extra : moz-landing-system : lando
2019-11-26 02:02:23 +00:00
Axel Hecht abdae0cda5 Bug 1599045, part 2 - merge compare-locales docs into build docs, r=flod
The "Localization" docs in tools/compare-locales are really mostly
build, so merging that content into the builds doc.

Removing Android parts, add Fluent there, noting DTD deprecation.

Moving the glossary to the actual l10n docs.

With proper top-level structure, show 2 levels of l10n and intl
on the front-matter page.

Differential Revision: https://phabricator.services.mozilla.com/D55126

--HG--
rename : tools/compare-locales/docs/glossary.rst => intl/l10n/docs/glossary.rst
extra : moz-landing-system : lando
2019-12-03 15:43:10 +00:00
Nathan Froyd a36959414d Bug 1600771 - turn on --show-mismatched-frees=no for valgrind tests; r=jseward
Otherwise, Valgrind is liable to see false positives from mismatched
`new` where the `delete` has been inlined to `free` or vice versa.

Differential Revision: https://phabricator.services.mozilla.com/D55553

--HG--
extra : moz-landing-system : lando
2019-12-03 13:32:27 +00:00
Nathan Froyd 72b0fe8ee6 Bug 1536848 - raise the minimum gcc version to 7; r=dmajor
We need this for full C++17 support.

Differential Revision: https://phabricator.services.mozilla.com/D51451

--HG--
extra : moz-landing-system : lando
2019-11-21 20:53:27 +00:00
Mike Shal 47f5ff5520 Bug 1593465 - Upload minidumps from PGO-run task crashes; r=firefox-build-system-reviewers,chmanchester
The minidumps are stored in the temporary profile directory used by
profileserver.py. Before the temporary directory goes away, we use
mozcrash & minidump_stackwalk to process any crashreports and copy them
to the artifacts directory.

Differential Revision: https://phabricator.services.mozilla.com/D52394

--HG--
extra : moz-landing-system : lando
2019-11-21 18:44:10 +00:00
Andi-Bogdan Postelnicu e8a21331ce Bug 1598069 - make compliant with future clang 10 our clang based static analysis. r=froydnj
With clang 10 and up `getTemporary` has been replaced with the more versatile `getSubExpr`.
The commit that added this behaviour is: b0561b3346

Differential Revision: https://phabricator.services.mozilla.com/D54101

--HG--
extra : moz-landing-system : lando
2019-11-21 14:07:44 +00:00
Māris Fogels 1d657c8499 Bug 1448349 - Warn about autoconf $PATH problems on win32 r=firefox-build-system-reviewers,chmanchester
Detect if Unix utilities on win32 are being picked up from a foreign
installation of MinGW, such as the tools packaged with Git for Windows.
If autoconf dies during `./mach configure` and foreign tools are found
in $PATH then warn the user that their $PATH may need to change to fix
the problem.

Differential Revision: https://phabricator.services.mozilla.com/D52960

--HG--
extra : moz-landing-system : lando
2019-11-21 00:20:56 +00:00
Ciure Andrei 66ae07e2a9 Backed out changeset 7dcc2fa474a8 (bug 1448349) for causing win2012 bustages CLOSED TREE 2019-11-20 03:39:39 +02:00
Māris Fogels 3d8ceef7af Bug 1448349 - Warn about autoconf $PATH problems on win32 r=firefox-build-system-reviewers,chmanchester
Detect if Unix utilities on win32 are being picked up from a foreign
installation of MinGW, such as the tools packaged with Git for Windows.
If autoconf dies during `./mach configure` and foreign tools are found
in $PATH then warn the user that their $PATH may need to change to fix
the problem.

Differential Revision: https://phabricator.services.mozilla.com/D52960

--HG--
extra : moz-landing-system : lando
2019-11-19 20:49:43 +00:00
Christian Holler 8d974e5d12 Bug 1590162 - Add TSan builds to TaskCluster. r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D50925

--HG--
extra : moz-landing-system : lando
2019-11-19 15:27:13 +00:00
David Major 3e0c2cec02 Bug 1596172 - Add perf-reftest-singletons to PGO training r=firefox-build-system-reviewers,mshal
This ought to overcome a regression from 1592981 as well as make this test suite less noisy about toolchain updates in the future.

While here, tidy up the PGO list: sort alphabetically, stop using a hardcoded test index for the Speedometer time extension, and stop using js-input/ for the virtual mappings since js-input/ is an actual directory in our repo.

Differential Revision: https://phabricator.services.mozilla.com/D52888

--HG--
extra : moz-landing-system : lando
2019-11-14 19:27:26 +00:00
Razvan Maries 5af92f5f8a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-11-15 00:41:27 +02:00
Razvan Maries 4e42de3ec8 Merge mozilla-inbound to mozilla-central a=merge 2019-11-14 23:49:26 +02:00
Ricky Stewart 08c0c80063 Bug 1594552 - Add moz.configure bits to specify a compiler for converting C/C++ to wasm r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D52111

--HG--
extra : moz-landing-system : lando
2019-11-14 16:26:24 +00:00
Nathan Froyd d3483bdef5 Bug 1579189 - raise the minimum clang version to 5; r=#build
We need this for "full" C++17 support (everything is supported, but some
C++17 features still have bugs) and this change also brings Linux into
parity with our Mac requirements.

MANUAL PUSH: build toolchains on inbound to avoid clogging autoland

Differential Revision: https://phabricator.services.mozilla.com/D51450
2019-11-14 11:16:38 -04:00
Makoto Kato 0327aea5ca Bug 1564097 - Set HOST_LINKER when host OS is Windows too. r=glandium
When running Cargo on Windows, `HOST_LINKER` is required by
`cargo-host-linker.bat`. So we should use windows.configure to set HOST_LINKER
when host OS is Windows and target OS isn't Windows.

Differential Revision: https://phabricator.services.mozilla.com/D37241

--HG--
extra : moz-landing-system : lando
2019-11-13 11:48:25 +00:00
Tyson Smith ee4b443ded Bug 1595633 - Enable 'pointer-overflow' UBSan check. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52608

--HG--
extra : moz-landing-system : lando
2019-11-12 16:29:37 +00:00
Ricky Stewart 6b46a4c52e Bug 1593502 - Build system does not add -isysroot to the command-line flags for compiler invocations when the provided_compiler has additional flags r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D52414

--HG--
extra : moz-landing-system : lando
2019-11-12 00:28:17 +00:00
Ricky Stewart 7a000bc5ca Bug 1595906 - Allow opting out of hardening compile flags on a granular basis r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52756

--HG--
extra : moz-landing-system : lando
2019-11-14 17:13:28 +00:00
Tarek Ziadé 0768e82e1c Bug 1595836 - add support for ./mach python-test r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D52976

--HG--
extra : moz-landing-system : lando
2019-11-14 15:02:44 +00:00
Tyson Smith 5b02d71498 Bug 1594839 - Enable 'integer-divide-by-zero' UBSan check. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52218

--HG--
extra : moz-landing-system : lando
2019-11-08 18:54:51 +00:00
Māris Fogels 8042b2dfd3 Bug 1594955 - Restore autoconf subprocess environ in old.configure r=glandium
Restore the env= argument to the subprocess.Popen() call that runs
autoconf in old.configure.  The argument appears to have been removed by
accident in changeset f47e966507eb.

Differential Revision: https://phabricator.services.mozilla.com/D52293

--HG--
extra : moz-landing-system : lando
2019-11-08 02:16:05 +00:00
Andi-Bogdan Postelnicu 22b4d86ced Bug 1593703 - disable clang based static-analysis for build-linux64-base-toolchains-clang/*. r=froydnj
With Bug 1579189 we are going to raise the minimum clang version to 5. But in clang 5
and clang 6 an issue has been introduced where the `Decl` nodes from the `AST` don't
contain all of the annotation attributes. The missing attributes can cause static
analysis failures. We are therefore going to disable the static analysis for the
base-toolchain clang builds as a workaround.

Differential Revision: https://phabricator.services.mozilla.com/D52025

--HG--
extra : moz-landing-system : lando
2019-11-06 18:29:09 +00:00
David Major 896094e44a Bug 1592981 - Use -import-instr-limit to mitigate size growth from ThinLTO r=froydnj
When we first enabled ThinLTO on our builds, we got great performance gains, but also large size increases due to aggressive inlining. There is an LLVM option called -import-instr-limit that limits the size of functions that may be imported (the threshold is subject to modification by PGO). Chromium found a good balance between speed and performance by using a value of 10. In initial testing, on Windows and Linux that value can save us many megabytes from libxul without noticeable speed regressions. For Mac, which doesn't yet have PGO, we have to use a higher limit to avoid over-restricting the optimizer which caused slowdowns on my try pushes.

Differential Revision: https://phabricator.services.mozilla.com/D51463

--HG--
extra : moz-landing-system : lando
2019-11-04 15:58:54 +00:00
Nihanth Subramanya 7f0b6eecd8 Bug 1584479 - Part 2: Update socialtracking test. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D51444

--HG--
extra : moz-landing-system : lando
2019-11-02 09:53:51 +00:00
Dorel Luca b9074d53a1 Backed out 4 changesets (bug 1584479) for Browser-chrome failures in toolkit/components/antitracking/test/browser/browser_socialtracking.js
Backed out changeset b0d9877bd8b0 (bug 1584479)
Backed out changeset d2c56bd61b08 (bug 1584479)
Backed out changeset 0edb22786545 (bug 1584479)
Backed out changeset 7e03b392edb3 (bug 1584479)
2019-11-02 01:18:42 +02:00
Nihanth Subramanya 1429cf6a65 Bug 1584479 - Part 2: Update socialtracking test. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D51444

--HG--
extra : moz-landing-system : lando
2019-11-01 22:02:12 +00:00
Ricky Stewart d5351b1c6b Bug 1589792 - Remove --disable-xcode-checks r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D51171

--HG--
extra : moz-landing-system : lando
2019-10-30 20:46:09 +00:00
Andi-Bogdan Postelnicu 5392090016 Bug 1589096 - add registerPPCallbacks to our version of clang-tidy due to a limitation in mozilla-must-override. r=sylvestre
In the future we should re-write this checker but for now this solution is acceptable.

Differential Revision: https://phabricator.services.mozilla.com/D51242

--HG--
extra : moz-landing-system : lando
2019-10-31 12:16:35 +00:00
Ciure Andrei aea0b77b62 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-10-31 00:13:32 +02:00
Edwin Takahashi 128ef1e636 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal,KWierso
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-30 20:42:50 +00:00
Nathan Froyd bea66696a3 Bug 1569728 - manually instantiate some basic_string members for libstdc++ compat; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D41370
2019-10-30 13:47:19 -04:00
Christian Holler 4c144ccda1 Bug 1592250 - Disable libFuzzer instrumentation in TSan builds. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D50922

--HG--
extra : moz-landing-system : lando
2019-10-29 14:03:40 +00:00
Emilio Cobos Álvarez 25cb66e7e8 Bug 1332689 - Remove clang 3.9 compat code for the clang-plugin. r=andi
We require 4.0 to build since bug 1394825.

Differential Revision: https://phabricator.services.mozilla.com/D50647

--HG--
extra : moz-landing-system : lando
2019-10-28 06:55:00 +00:00
Emilio Cobos Álvarez bd45fba301 Bug 1332689 - Remove clang 3.8 compat code. r=andi
This is just drive-by, but it confused me. We require at least clang 4 to build
nowadays.

Differential Revision: https://phabricator.services.mozilla.com/D50646

--HG--
extra : moz-landing-system : lando
2019-10-28 06:54:43 +00:00
Emilio Cobos Álvarez ddabf6673b Bug 1591493 - Clang plugin should work with distributed builds. r=andi
sccache-dist / icecream preprocess the file and then send it to a builder.

That means that the file contains #line directives or equivalents in order for
diagnostics and such to work correctly.

Unfortunately our clang-plugin build fails catastrophically if you include a
third-party header, as it doesn't account for them.

Use SourceManager::getPresumedLoc to get filenames, as it accounts for them,
unlike just getFilename.

Differential Revision: https://phabricator.services.mozilla.com/D50633

--HG--
extra : moz-landing-system : lando
2019-10-28 06:54:25 +00:00
Chris Manchester 194dff7015 Bug 1591262 - Apply additional patch to clang used for sccache-dist builds. r=firefox-build-system-reviewers,dmajor
This applies one of the patches we needed to build on windows to the clang
we're using for sccache-dist builds. The upstream issue is described in
https://bugs.llvm.org/show_bug.cgi?id=41817

Differential Revision: https://phabricator.services.mozilla.com/D50551

--HG--
extra : moz-landing-system : lando
2019-10-25 21:24:33 +00:00
Chris Manchester f93b9722b0 Bug 1578493 - Update sccache-dist docs to cover Windows. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D49796

--HG--
extra : moz-landing-system : lando
2019-10-25 20:05:05 +00:00
Andreea Pavel 6c0393c694 Backed out changeset a6ce865567bb (bug 1578493) for lint failure on a CLOSED TREE 2019-10-25 23:01:09 +03:00
Chris Manchester 7c5af2010a Bug 1578493 - Update sccache-dist docs to cover Windows. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D49796

--HG--
extra : moz-landing-system : lando
2019-10-25 18:18:25 +00:00
Chris Manchester 870590b5fe Bug 1589783 - Require sccache 0.2.12 when used to build. r=nalexander
Depends on D49801

Differential Revision: https://phabricator.services.mozilla.com/D49802

--HG--
extra : moz-landing-system : lando
2019-10-22 16:41:02 +00:00
Cosmin Sabou b9bc1ef9d6 Backed out 2 changesets (bug 1476339, bug 1590714) for breaking windows coverage builds and at marco's request.
Backed out changeset 0a3621d900c8 (bug 1590714)
Backed out changeset db0e1ce31ac3 (bug 1476339)

--HG--
extra : rebase_source : 2421340b6220f0858ee449a1f5bc26bf3316943b
2019-10-23 23:10:17 +03:00
Marco Castelluccio 2b99ab19ea Bug 1590714 - Remove unused 'mozbuild_state_path'. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D50203

--HG--
extra : moz-landing-system : lando
2019-10-23 19:37:41 +00:00
Marco Castelluccio 04a3124744 Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830

--HG--
extra : moz-landing-system : lando
2019-10-22 22:55:45 +00:00
Jan-Erik Rediger 01214b105d Bug 1590323 - Give spreadsheet link a proper name r=firefox-build-system-reviewers,chmanchester
"here" is a bad click target, giving it a proper name helps everyone.

Depends on D50035

Differential Revision: https://phabricator.services.mozilla.com/D50036

--HG--
extra : moz-landing-system : lando
2019-10-22 20:16:45 +00:00
Jan-Erik Rediger 97216bc03d Bug 1590323 - Document additional macOS config for sccache-dist build r=firefox-build-system-reviewers,johannh,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D50035

--HG--
extra : moz-landing-system : lando
2019-10-22 20:35:10 +00:00
Dorel Luca cf3d2dccbb Backed out changeset 098dacd3fabe (bug 1476339) for Linting failure in mozbuild/mozbuild/frontend/context.py. CLOSED TREE
--HG--
extra : amend_source : a805d5f03e8127b4248a5f95943e1f33f3b92608
2019-10-23 01:26:46 +03:00
Marco Castelluccio cfdcf5a828 Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830

--HG--
extra : moz-landing-system : lando
2019-10-22 21:00:34 +00:00
Dorel Luca 3d43b20c77 Backed out changeset ca117d13ca06 (bug 1212502) for Windows 2012 build bustage. CLOSED TREE 2019-10-22 20:53:27 +03:00
Wes Kocher 49fba76f39 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-22 17:33:13 +00:00
Chris Manchester e69835925b Bug 1587913 - Fix rust target detection for rustc 1.38. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D48996

--HG--
extra : moz-landing-system : lando
2019-10-16 22:16:13 +00:00
Christian Holler a157a20300 Bug 1587463 - Remove LSan/UBSan suppressions option from automation. r=ahal
Depends on D48786

Differential Revision: https://phabricator.services.mozilla.com/D48787

--HG--
extra : moz-landing-system : lando
2019-10-16 16:11:23 +00:00
Dorel Luca b6eeb7d5d3 Backed out changeset 35d4451f348d (bug 1588458) as requested by the dev 2019-10-15 19:04:22 +03:00
Sylvestre Ledru 0f71aeba53 Bug 1588458 - Replace dxr by searchfox in the doc r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49140

--HG--
extra : moz-landing-system : lando
2019-10-15 15:27:13 +00:00
David Major 103a1cbba6 Bug 1573211 - Update to clang 9.0.0 r=glandium
Updates all clang 8.0.1 to version 9.0.0, except for the mingw builds
which suffer from bug 1548624 and will be handled separately later.

Differential Revision: https://phabricator.services.mozilla.com/D44160

MANUAL PUSH: Rebuild clang toolchains without stalling autoland

--HG--
rename : build/build-clang/clang-8-android.json => build/build-clang/clang-android.json
rename : build/build-clang/clang-8-linux64-aarch64-cross.json => build/build-clang/clang-linux64-aarch64-cross.json
rename : build/build-clang/clang-8-linux64.json => build/build-clang/clang-linux64.json
rename : build/build-clang/clang-8-macosx64.json => build/build-clang/clang-macosx64.json
rename : taskcluster/scripts/misc/build-clang-8-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-linux-macosx-cross.sh
2019-09-21 16:26:53 +02:00
Ricky Stewart c010710916 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c

Differential Revision: https://phabricator.services.mozilla.com/D48409

--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
Daniel Varga 052ef806b5 Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00