Commit Graph
3121 Commits
Author SHA1 Message Date
Margareta Eliza Balazs 9534400823 Backed out 2 changesets (bug 1485224) for perma bc3 failures e.g.: Error getting fileid for Z:\task_1536750533ad] WARNING: NS_ENSURE_TRUE CLOSED TREE
Backed out changeset fe2c607f4af7 (bug 1485224)
Backed out changeset f7a6e536532e (bug 1485224)
2018-09-12 15:37:19 +03:00
Masatoshi Kimura b27b08441c Bug 1485224 - Update Windows builders to VS 2017 Update 8 and Windows SDK 17134. r=glandium 2018-09-07 07:15:19 +09:00
Bogdan Tara fabd776adb Merge inbound to mozilla-central. a=merge 2018-09-12 01:12:32 +03:00
Nathan Froyd b98f70575b Bug 1490054 - ensure that the {src,obj}dir share the same drive path in Windows; r=chmanchester
This change is necessary for constructing relative paths between the
objdir and srcdir to succeed, and has been (I believe) the implicit
requirement of builds since time immemorial.
2018-09-11 09:46:37 -04:00
Cosmin Sabou 3d2444653d Merge mozilla-inbound to mozilla-central. a=merge 2018-09-11 13:06:37 +03:00
Tom Ritter 3f3d3913c8 Bug 1481633 Resolve kPStaticModules undefined symbols in MinGW Clang r=glandium
clang can handle MSVC-like codepaths generally, so we want to use those
when building with clang for Windows. So we switch _MSC_VER over to _WIN32
to pick up those codepaths when compiling for Windows with clang.

Additionally, we relax the ordering of sections for the same scenario.

Note that we do need to tell clang to use -fms-extensions with the MSVC code,
we do that in the mingw clang build job patch.

Differential Revision: https://phabricator.services.mozilla.com/D3526
2018-09-11 03:20:06 +00:00
Andreea Pavel a62c357617 Merge autoland to mozilla-central. a=merge 2018-09-11 00:58:48 +03:00
Chris Manchester 5b084bb3cc Bug 1487505 - Prompt user to run tup init in an appropriate location when building an objdir outside of the srcdir in tup. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D4808
2018-09-10 18:40:42 +00:00
Robert Longson f4518466d2 Bug 1482196 - Increase minimum clang version to 3.9 r=froydnj 2018-09-10 18:59:07 +01:00
Mike Hommey 6300910617 Bug 1489340 - Handle XPT files as blobs of data in packager. r=froydnj
We don't actually ship XPT files anymore, but it's still useful for the
packager code to handle old Firefox versions. But for that, we don't
really need the complexity of "linking" XPT files in a single unit per
directory. We can just as well keep the XPT files intact, as long as we
retain individual `interfaces` manifest entries for each.

And since those entries used to be all merged into one, we now instead
group them all together in manifests (which also happens to make it
easier on unit test changes).

Differential Revision: https://phabricator.services.mozilla.com/D5221
2018-09-07 22:21:07 +00:00
Kartikaya Gupta 1d0e55b89b Bug 1440879 - Ensure all the stl_wrappers end up in the generated-files tarball. r=froydnj 2018-09-07 09:34:40 -04:00
Kartikaya Gupta 7332c936d0 Bug 1440879 - Emit source-like generated files into generated-sources.json. r=froydnj 2018-09-07 09:34:39 -04:00
Connor Sheehan 0a8cfdc4c8 Bug 1461992: only indent 2 spaces in export_telemetry_schema.py output r=ted
:mreid sent a review of my pull request and informed me that the
JSON schemas used in the data pipeline are all 2-space indented.
If we want to use this script to generate any future changes to
the build system schema, we should make sure it outputs data
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D4149
2018-08-28 18:15:34 +00:00
Masatoshi Kimura 61ae9661a7 Bug 1414060 - give json.dump the correct encoding; r=mshal 2018-09-10 18:57:40 -04:00
Ted Mielczarek 26b5a79b47 Bug 1489211 - invoke dumpbin.exe to check NSModule ordering in libxul; r=froydnj 2018-09-06 12:52:48 -04:00
Ted Mielczarek 1356d54085 Bug 1446066 - handle HOST_OS_LIBS properly when the host and target compilers are different types; r=chmanchester 2018-09-06 12:21:54 -04:00
Narcis Beleuzu c47fda4365 Backed out 2 changesets (bug 1440879) for build bustages on mozbuild\test\backend. CLOSED TREE
Backed out changeset 93892cfed015 (bug 1440879)
Backed out changeset 71d569322700 (bug 1440879)
2018-09-04 18:38:19 +03:00
Kartikaya Gupta 6e64f0e549 Bug 1440879 - Ensure all the stl_wrappers end up in the generated-files tarball. r=froydnj 2018-09-04 10:40:45 -04:00
Kartikaya Gupta 6b3020fe24 Bug 1440879 - Emit source-like generated files into generated-sources.json. r=froydnj 2018-09-04 10:40:42 -04:00
Mike Shal 142f2e815d Bug 1487840 - Trim tup's display of rust build scripts; r=chmanchester
We already trim the display of output lists for GENERATED_FILES scripts
that produce many outputs, so we should do the same for rust build
scripts. This makes the terminal output of the build and the nodes from
'tup graph' more readable.

MozReview-Commit-ID: AftmrA4qJlr

Differential Revision: https://phabricator.services.mozilla.com/D4797
2018-08-31 20:48:22 +00:00
Chris Manchester 9175e1b52a Bug 1487180 - Upload the build graph report as a part of the tup build. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D4626
2018-08-31 19:18:47 +00:00
Chris Manchester 0eeadcd383 Bug 1487180 - Default to mm:ss time format when generating human-readable formats from the build graph report. r=gps,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D4625
2018-08-30 00:52:43 +00:00
Jim Chen cc9abffc8a Bug 1477259 - Use separate version codes for 64-bit builds; r=nalexander
Use the unused 'p' bit in the version code to denote 64-bit builds, so
we have different version codes for 64-bit builds on aarch64 and x86-64.

Differential Revision: https://phabricator.services.mozilla.com/D4260
2018-08-30 21:51:18 +00:00
Gurzau Raul d74f75ca70 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-31 00:53:00 +03:00
Myk Melez 332caeba31 Bug 1482810 - set COMPILE_FLAGS var to hide warnings for Rust crates r=chmanchester
In conjunction with the cc crate changes in https://github.com/alexcrichton/cc-rs/pull/342 (which I'll land in https://phabricator.services.mozilla.com/D4699), this hides warnings generated by C code in Rust crates (by removing warnings flags from CFLAGS when compiling Rust libraries).

MozReview-Commit-ID: 9CZgLGbWjbA

Differential Revision: https://phabricator.services.mozilla.com/D3939
2018-08-30 17:29:54 +00:00
Nathan Froyd 4c164bb99e Bug 1487449 - stop macro redefinition warning spam for Windows macros; r=ted.mielczarek
This warning spam happens particularly with WebRTC, but I can see it
happening for any third-party software whose use of WINVER and friends
conflicts with our own.  Let's just change mozilla-config.h to avoid
defining these macros if they're already defined via the command line.
2018-08-30 16:09:23 -04:00
Preeti Mukherjee 7b9d260ee6 Bug 1471920 - [mozbuild] Use shutil.which in Python 3 instead of vendored third-party package r=davehunt
Use shutil.which in mozbuild for Python 3 instead of vendored third-party package, and enable mozversion tests that are fixed under Python 3 by this change.

Differential Revision: https://phabricator.services.mozilla.com/D4184
2018-08-30 16:39:55 +00:00
arthur.iakab ff30599609 Merge inbound to mozilla-central a=merge 2018-08-30 00:56:06 +03:00
Andi-Bogdan Postelnicu d29ea8df52 Bug 1486452 - mach static analysis autotest - display the error if we encounter clang-diagnostic-error. r=janx
Differential Revision: https://phabricator.services.mozilla.com/D4425
2018-08-29 12:11:07 +00:00
Jan Henning c0217ea63c Bug 1486296 - Use the same temp profile as mach run for launching Firefox from Visual Studio. r=firefox-build-system-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D4299
2018-08-29 14:26:23 +00:00
Andi-Bogdan Postelnicu 8a8cb1e60f Bug 1486729 - [Static-Analysis][Clang-Tidy] As default, a checker should be publish by default. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D4436
2018-08-29 10:10:54 +00:00
arthur.iakab bb5f84cdab Merge mozilla-central to autoland 2018-08-25 01:09:11 +03:00
arthur.iakab c6f7810936 Merge inbound to mozilla-central a=merge 2018-08-25 01:08:22 +03:00
Chris Manchester 7c9b78baeb Bug 1485174 - Prevent using an objdir to build with tup that was previously used to build with make. r=firefox-build-system-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D4154
2018-08-24 18:13:20 +00:00
Chris Manchester a9cda44afd Bug 1485168 - Provide a tier for the "tup" portion of the build to prevent confusion. r=gps,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D3927
2018-08-24 16:12:31 +00:00
Tom Prince f405d2422b No bug: Add a default retry setting for mach artifact toolchain; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D4039
2018-08-24 16:04:22 +00:00
Benjamin Bouvier 1973ad0cb1 Bug 1485396: Handle non-unified builds for CompileDB too; r=froydnj 2018-08-23 11:55:50 +02:00
Tom Prince f5a24446f6 Bug 1481121: [release] Build bz2 mar's on mozilla-esr60; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3811
2018-08-17 12:23:42 -06:00
Lifan Zeng 8fcb7f1d5a Bug 1446923 - Remove Some Old References to Chrome-Metro r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D3223
2018-08-23 23:24:44 +00:00
Aaron Klotz f2c33900cc Bug 1458386: Modify mach's RunProgram command provider to be aware of launcher process; r=gps
By default, when the launcher process is enabled, it does not wait for the
browser process to complete before terminating. mach run expects its child
process to keep running until the browser is terminated.

If we pass -wait-for-browser to the launcher process, the launcher will not
terminate until the browser process has finished, thus preserving the existing
semantics.
2018-08-14 12:09:32 -06:00
David Major 2d2920a4b7 Bug 1482272 - Don't set -DEBUG twice on Windows links. r=ted
We already append MOZ_DEBUG_LDFLAGS when MOZ_DEBUG_SYMBOLS is set.
2018-08-21 11:35:52 -04:00
David Major 88f7d78b6c Bug 1413728: Windows DMD builds don't need special LDFLAGS behavior. r=ted 2018-08-21 11:34:48 -04:00
David Major 7ee721d3cf Bug 1483835: Default to clang-cl and lld-link in local Windows builds. r=glandium 2018-08-21 11:30:16 -04:00
Nathan Froyd c072e15967 Bug 1480558 - part 2 - don't add MOZ_DEBUG_FLAGS to ASFLAGS on aarch64 windows; r=mshal
armasm64 doesn't accept the same options as its x86-ish counterparts,
and passing options it doesn't understand causes assembly to fail.  So
let's just not pass any flags to the assembler for the moment.
2018-08-21 11:00:35 -04:00
Mike Hommey e26b46b0f5 Bug 1341222 - Allow !- and %-prefixed paths in include paths processed by gyp. r=froydnj 2018-08-21 07:24:53 +09:00
Masatoshi Kimura d1939c90b2 Bug 1484190 - Unblock MSVC 2017 15.8. r=dmajor 2018-08-17 20:41:49 +09:00
James Graham 5bf250c0f9 Bug 1484659 - Handle wpt version number changes, r=ato
If the wpt manifest format changes we bump the version number, causing
loading the old manifest to throw an error. We weren't correctly
handling this error when trying to update the manifest (by creating a
new empty manifest) so updates after the version number changed broke.

MozReview-Commit-ID: 4H1nMtRI9PZ

Differential Revision: https://phabricator.services.mozilla.com/D3771
2018-08-20 12:05:22 +00:00
Chris Manchester af8522c1a7 Bug 1481590 - generating report with |mach analyze all| and modifying |mach summarize| to become |mach analyze files| r=gps,mshal,chmanchester 2018-08-17 14:20:07 -07:00
Tom Prince 197543dc2f Bug 1481178: Retry downloading chainOfTrust.json.asc in mach artifact toolchain; r=gps a=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D3661
2018-08-17 15:20:37 -06:00
Ted Mielczarek 8ff9ea8963 bug 1461992 - Add a script to output build system telemetry schema in json-schema format. r=gps
External systems such as the generic ingestion service will want to work with
the more standard json-schema format. This commit adds a script to convert the
voluptuous schema to json-schema format using the `luscious` Python module.
Since that module has not been updated recently, we install and use a fork with
some changes.

Since this is a single-purpose command that's unlikely to be used by many
people it's not implemented as a mach command, but simply a standalone script
that can be invoked via `mach python`.

Differential Revision: https://phabricator.services.mozilla.com/D2841
2018-08-06 13:54:58 -04:00