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
Ricky Stewart
940d91af38
Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
...
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e
Differential Revision: https://phabricator.services.mozilla.com/D48230
--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
Doug Thayer
534ac9e360
Bug 1550108 - Pull in secondary lz4 libraries r=glandium
...
I opted to go with what I perceived as the more expedient route
of leaving lz4 roughly where it is and just adding to that. The
biggest complication was xxhash, which is included elsewhere.
I'm not generally proficient with build-related things though so
my solution may be wrong and not just ugly.
Differential Revision: https://phabricator.services.mozilla.com/D30640
--HG--
rename : mfbt/lz4.c => mfbt/lz4/lz4.c
rename : mfbt/lz4.h => mfbt/lz4/lz4.h
extra : moz-landing-system : lando
2019-10-04 20:44:08 +00:00
Tom Ritter
a74bcb566f
Bug 1585353 - Revert Bug 1440013 and remove the -mbig-obj flag for MinGW r=dmajor
...
mingw-gcc is no longer supported.
Differential Revision: https://phabricator.services.mozilla.com/D48073
--HG--
extra : moz-landing-system : lando
2019-10-04 18:23:15 +00:00
Chris Manchester
0498c437c9
Bug 1578493 - Updates to sccache-dist docs. r=nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D47836
--HG--
extra : moz-landing-system : lando
2019-10-02 20:56:52 +00:00
Ed Lee
b34af2b581
Bug 1585672 - [mach] Skip modules whose __file__ attribute is None in the global ImportHook r=ahal
...
This also gets around a flake8 lint exception.
Differential Revision: https://phabricator.services.mozilla.com/D47946
--HG--
extra : moz-landing-system : lando
2019-10-02 17:54:11 +00:00
Andrew Halberstadt
07d6b341a6
Bug 1585146
- [mach] Move '--disable-tests' check to a pre_dispatch_handler, r=firefox-build-system-reviewers,mshal
...
This logic is very 'mozill-central' specific and should live outside of mach
core if possible. Luckily we already have a concept of a 'pre_dispatch_handler'
that is meant for exactly this type of use case.
Differential Revision: https://phabricator.services.mozilla.com/D47668
--HG--
extra : moz-landing-system : lando
2019-10-01 22:31:23 +00:00
Ricky Stewart
807b3a0bf2
Bug 1562996 - Add a GeneratedFile template to get rid of some of the boilerplate involved in interfacing with GENERATED_FILES. r=nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D47019
--HG--
extra : moz-landing-system : lando
2019-10-01 18:10:16 +00:00
dimi
14959edf1f
Bug 1580416 - P2. Add a testcase to test a match can be found when whitelisted URI is eTLD. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D47213
--HG--
extra : moz-landing-system : lando
2019-09-27 08:50:44 +00:00
Cosmin Sabou
14938bad3b
Backed out 10 changesets (bug 1550108) for causing build bustages on StartupCache.cpp.
...
Backed out changeset cbadfa2bbd7e (bug 1550108)
Backed out changeset 2560f0ab6ebf (bug 1550108)
Backed out changeset 0a1fa8d8bb3c (bug 1550108)
Backed out changeset 62416909cf67 (bug 1550108)
Backed out changeset 60991713b1e2 (bug 1550108)
Backed out changeset f950e30afd90 (bug 1550108)
Backed out changeset e63d0a1fec38 (bug 1550108)
Backed out changeset 7a009d42e7e7 (bug 1550108)
Backed out changeset 395affa4c205 (bug 1550108)
Backed out changeset 0fd41e9dbd2a (bug 1550108)
--HG--
rename : mfbt/lz4/lz4.c => mfbt/lz4.c
rename : mfbt/lz4/lz4.h => mfbt/lz4.h
2019-09-29 01:14:31 +03:00
Doug Thayer
fdbddfa996
Bug 1550108 - Pull in secondary lz4 libraries r=glandium
...
I opted to go with what I perceived as the more expedient route
of leaving lz4 roughly where it is and just adding to that. The
biggest complication was xxhash, which is included elsewhere.
I'm not generally proficient with build-related things though so
my solution may be wrong and not just ugly.
Differential Revision: https://phabricator.services.mozilla.com/D30640
--HG--
rename : mfbt/lz4.c => mfbt/lz4/lz4.c
rename : mfbt/lz4.h => mfbt/lz4/lz4.h
extra : moz-landing-system : lando
2019-09-27 22:15:01 +00:00
Nick Alexander
465ee5457d
Bug 1580622 - Run geckodriver toolchain tasks in response to source code changes. r=tomprince
...
Right now toolchain tasks that aren't dependencies of requested tasks
will run in response to source code changes only if the files are in the
sparse profile. That is, taskgraph calculates the digest based on just
the files in those directories that are in the sparse profile, and will
rebuild it when those files change. This changes ensures that more
geckodriver files are used to calculate the digest, and thus changes
to them will cause geckodriver to be rebuilt.
As more things depend on the geckodriver toolchain tasks directly this
becomes less valuable and can be removed from the sparse profile.
Differential Revision: https://phabricator.services.mozilla.com/D47459
--HG--
extra : moz-landing-system : lando
2019-09-28 00:11:45 +00:00
Andi-Bogdan Postelnicu
b5b6fc3017
Bug 1584175 - Add lib/libclang-cpp.* to the clang-tidy artifact. r=froydnj,dmajor
...
Since we've upgraded to clang 9, clang-format changed and now uses dynamic libraries
for the clang tooling lib that it leverages.
Differential Revision: https://phabricator.services.mozilla.com/D47265
--HG--
extra : moz-landing-system : lando
2019-09-27 12:19:13 +00:00
Nathan Froyd
186048921c
Bug 1580898
- move warnings-as-errors logic into warnings.configure; r=nalexander
...
It's nicer to have everything in one place, and because we support
clang-cl, we can have a single definition for the error flag too.
Differential Revision: https://phabricator.services.mozilla.com/D45705
--HG--
extra : moz-landing-system : lando
2019-09-25 21:30:38 +00:00
Brindusan Cristian
e2348a18ee
Backed out 2 changesets (bug 1573211) as requested by dmajor on irc. CLOSED TREE
...
Backed out changeset 587463567434 (bug 1573211)
Backed out changeset de0fe40466cb (bug 1573211)
--HG--
rename : build/build-clang/clang-android.json => build/build-clang/clang-8-android.json
rename : build/build-clang/clang-linux64-aarch64-cross.json => build/build-clang/clang-8-linux64-aarch64-cross.json
rename : build/build-clang/clang-linux64.json => build/build-clang/clang-8-linux64.json
rename : build/build-clang/clang-macosx64.json => build/build-clang/clang-8-macosx64.json
rename : taskcluster/scripts/misc/build-clang-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-8-linux-macosx-cross.sh
extra : histedit_source : 3f9570ab67fd42186265b1dbb6e93c8342bc60e2
2019-09-26 20:12:51 +03:00
David Major
9d69f6a5ba
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
extra : amend_source : 2dc7e91897e869ead501f19fbd7960d59c4b79bd
2019-09-21 16:26:53 +02:00
David Major
401c1780fa
Bug 1583138 - Prepare clang-tidy for clang-9 r=andi
...
In clang 9, the signature of `registerPPCallbacks` changed and it no longer provides us a `CompilerInstance` [0]. I couldn't find a way to reach the `CompilerInstance` from the new structures, so I've inserted a level into the class hierarchy that mimics the old functionality.
With this patch, clang-tidy compiles with either clang-8 or clang-9, so we can land this independently in preparation for bug 1573211.
[0] For reference: the new signature was introduced in bbc89dcb29
, the old overload was marked deprecated in e9087fe75c
and removed in ee737a84d7
.
Differential Revision: https://phabricator.services.mozilla.com/D46702
--HG--
extra : moz-landing-system : lando
2019-09-24 17:27:02 +00:00
Andrew Halberstadt
898dfb96b4
Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D45417
--HG--
extra : moz-landing-system : lando
2019-09-24 14:44:01 +00:00
Boris Zbarsky
fa0ce4b209
Bug 1581315 part 1. Adjust MOZ_MUST_RETURN_FROM_CALLER to only apply to method calls on arguments. r=nika
...
It doesn't really make sense to enforce this behavior for calls on stack
variables (which presumably we then want to do something with) and doesn't
necessarily make sense to enforce it for member variables either.
Differential Revision: https://phabricator.services.mozilla.com/D46105
--HG--
extra : moz-landing-system : lando
2019-09-20 02:17:01 +00:00
Mike Shal
56ba0730bc
Bug 1580899 - Remove MOZ_PGO from mozconfigs; r=glandium
...
Setting this flag still attempts to build with 1-tier PGO, unless we
detect that 3-tier PGO is enabled. Since we should be using 3-tier PGO
everywhere, the flag should be redundant in our automation mozconfigs.
It can still be used locally in a mozconfig to do a 1-tier PGO build.
Depends on D46069
Differential Revision: https://phabricator.services.mozilla.com/D46070
--HG--
extra : moz-landing-system : lando
2019-09-18 18:29:00 +00:00
Mike Shal
00a274530f
Bug 1580899 - Remove mozconfig.pgo; r=firefox-build-system-reviewers,chmanchester
...
This file is no longer required, since taskcluster handles scheduling
PGO tasks.
Differential Revision: https://phabricator.services.mozilla.com/D46069
--HG--
extra : moz-landing-system : lando
2019-09-18 03:11:11 +00:00
Nathan Froyd
2b7fcaf969
Bug 1551726 - remove --enable-content-sandbox from old configure options; r=dmajor
...
The option was removed entirely several months ago, and this bit was missed.
Differential Revision: https://phabricator.services.mozilla.com/D46296
--HG--
extra : moz-landing-system : lando
2019-09-18 15:29:30 +00:00
Chris Manchester
d03f6422fd
Bug 1580331 - Update the workspace-hack to avoid duplicate work on windows. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D45581
--HG--
extra : moz-landing-system : lando
2019-09-17 20:46:47 +00:00
Nathan Froyd
9316120343
Bug 1579870 - add wasm support to our clang builds; r=dmajor
...
Differential Revision: https://phabricator.services.mozilla.com/D45201
--HG--
extra : moz-landing-system : lando
2019-09-17 20:14:17 +00:00
Dorel Luca
bff3d0e47a
Backed out changeset bb15fe1fd2b1 (bug 1580331) for Spidermonkey failures. CLOSED TREE
2019-09-17 21:06:17 +03:00
Chris Manchester
2826f31324
Bug 1580331 - Update the workspace-hack to avoid duplicate work on windows. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D45581
--HG--
extra : moz-landing-system : lando
2019-09-17 17:34:13 +00:00
Tarek Ziadé
5dd9d5bcd0
Bug 1562870 - generate conditioned profiles r=gbrown,bc,aerickson
...
Generates "conditioned" profiles.
Differential Revision: https://phabricator.services.mozilla.com/D38211
--HG--
extra : moz-landing-system : lando
2019-09-16 19:44:35 +00:00
Andi-Bogdan Postelnicu
1b886ecee7
Bug 1576659 - Update infer to 0.17.0. r=bastien
...
Differential Revision: https://phabricator.services.mozilla.com/D43471
--HG--
extra : moz-landing-system : lando
2019-09-13 14:25:32 +00:00
Mike Shal
ec7a8745f1
Bug 1580497 - Fix topobjdir in 1-tier PGO builds; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D45707
--HG--
extra : moz-landing-system : lando
2019-09-12 19:30:17 +00:00
Nathan Froyd
020191bdfa
Bug 1580931 - remove libc++ gcc 4.9 workarounds from toolchain.configure; r=nalexander
...
Getting rid of unneeded code and having fewer global defines are both
worthy things.
Differential Revision: https://phabricator.services.mozilla.com/D45726
--HG--
extra : moz-landing-system : lando
2019-09-12 20:01:18 +00:00