Commit Graph

583 Commits

Author SHA1 Message Date
Gurzau Raul
c3883e46f7 Backed out 6 changesets (bug 1451104) for toolchains bustage on a CLOSED TREE.
Backed out changeset 2f6199beeb71 (bug 1451104)
Backed out changeset 7c116f85ede6 (bug 1451104)
Backed out changeset 5179c8066914 (bug 1451104)
Backed out changeset 675f73d41eb4 (bug 1451104)
Backed out changeset c64bfaad8a2f (bug 1451104)
Backed out changeset 991777e081ff (bug 1451104)
2019-03-14 05:02:44 +02:00
Nathan Froyd
79e81b7326 Bug 1451104 - part 6 - don't remove the libstdc++ files from the mingw build; r=glandium
History does not disclose why we needed this, but in the brave new GCC
6-compiled world, deleting these files means that host links can no
longer find libstdc++, which causes problems.  Let's put the files back.

Depends on D22883

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

--HG--
extra : moz-landing-system : lando
2019-03-12 00:27:26 +00:00
Nathan Froyd
d0cfab31be Bug 1451104 - part 4 - sync up gcc-related toolchains and linux64-binutils binutils version; r=glandium
We're going to copy an x86_64-unknown-linux-gnu ld into the clang build,
which clang will then use in preference to things on PATH.  We therefore
need to ensure that this ld is the same ld as would be used for other
builds, such as PGO.  This change is the most expedient way to do that;
future work will make the gcc job(s) depend on linux64-binutils directly.

Depends on D22881

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

--HG--
extra : moz-landing-system : lando
2019-03-12 00:25:33 +00:00
Dustin J. Mitchell
1fded4473e Bug 1508381 - use rootUrl style with taskcluster-proxy r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18023

--HG--
extra : moz-landing-system : lando
2019-03-12 20:38:42 +00:00
Mike Hommey
b0f3ca8044 Bug 1490573 - Use fetches for nsis and wine toolchain tasks. r=froydnj
These toolchain tasks are the last ones using the historical
download-tools script from build/unix/build-gcc, which invokes gpg to
validate the downloaded tarballs. The consequence is that gpg-agent is
spawned and stays running, preventing a cleanup script from doing its
job, making the tasks fail.

Fetches are the new way to download sources, and can also do gpg
validation without those caveats.

The download-tools.sh script can then be removed as it's not used
anymore.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 01:38:46 +00:00
Kartikaya Gupta
1889f4e164 Bug 1532284 - Build wrench on Android. r=glandium
Depends on D22377

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

--HG--
extra : moz-landing-system : lando
2019-03-08 00:37:46 +00:00
Gregory Mierzwinski
153a327822 Bug 1476372 - Add fetch tasks for raptor chromium builds. r=rwood,glandium,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D21372

--HG--
extra : moz-landing-system : lando
2019-03-06 19:45:34 +00:00
Emilio Cobos Álvarez
9b1323a3ae Bug 1533142 - Update min cbindgen version. r=jrmuizel,kats
Differential Revision: https://phabricator.services.mozilla.com/D22381

--HG--
extra : moz-landing-system : lando
2019-03-06 22:31:57 +00:00
Steve Fink
b8306b2633 Bug 1531234 - Write JS test structured logs to main_raw.log instead of intermixing them in stdout r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D21483

--HG--
extra : moz-landing-system : lando
2019-03-01 18:19:40 +00:00
Thomas Daede
2e3619211c Bug 1520163 - Add linux64-nasm toolchain. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20037

--HG--
extra : moz-landing-system : lando
2019-02-25 21:10:41 +00:00
Steve Fink
d06b59a48d Bug 1527777 - Move spidermonkey jobs from win32 to win64 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20619

--HG--
extra : moz-landing-system : lando
2019-02-22 09:33:02 +00:00
Ciure Andrei
ea1096a1f5 Backed out changeset e9e880f7aee4 (bug 1520163) for failing nightly builds a=backout
--HG--
extra : amend_source : 49a3d640d1784faa6a017315a73b94c109c64aa5
2019-02-25 11:36:37 +02:00
Thomas Daede
3484d62a4b Bug 1520163 - Add linux64-nasm toolchain. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20037

--HG--
extra : moz-landing-system : lando
2019-02-22 21:52:41 +00:00
Ciure Andrei
0497e5f2f4 Backed out changeset e89b6e3d3de8 (bug 1520163) for profile-guided optimization builds bustage CLOSED TREE 2019-02-22 23:27:42 +02:00
Thomas Daede
4602595bb6 Bug 1520163 - Add linux64-nasm toolchain. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20037

--HG--
extra : moz-landing-system : lando
2019-02-22 20:41:20 +00:00
Andreea Pavel
86ca08bb6b Backed out changeset fe259096e7ed (bug 1529033) for failing toolchains on a CLOSED TREE 2019-02-20 16:19:23 +02:00
David Major
ef4b7f86ac Bug 1529033 - Update gn build to pick up MSVC /WX fix r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20375

--HG--
extra : moz-landing-system : lando
2019-02-20 05:00:28 +00:00
Mike Hommey
901d68ed91 Bug 1519816 - Simplify build-custom-v8 script and avoid installing packages during build. r=sparky
The build script currently is doing some unnecessary steps:
- Running `gclient` only prints out an help message. It is a step
indicated in various documentations, but is only necessary to keep
depot-tools up-to-date, which they are, since we just cloned it.
- The `fetch v8` command creates a v8 directory, no need to create
another layer.
- `gclient sync` is run as part of `fetch`. Same as `gclient`, this step
is only given in documentations to keep things up-to-date on an existing
clone, but we just freshly got one.
- Same goes for `git pull && gclient sync`
- `git checkout master` is not necessary, as `fetch` gets us there
already (albeit, in a detached head state)
- install-build-deps.sh installs build dependencies for chrome or
whatever. That's way too much for v8, that barely needs pkg-config and
glib, which we now install in the docker image.

Differential Revision: https://phabricator.services.mozilla.com/D20082
2019-02-20 07:45:47 +09:00
Mike Hommey
8d9ccce339 Bug 1528150 - Build gn from https://gn.googlesource.com/gn/. r=froydnj
Make some adjustments to make the build work:
- On Linux, a newer GCC is needed, and -lrt is missing for
  clock_gettime.
- On Mac, ninja expect AR be accept ar arguments, which clang doesn't,
  so use llvm-ar.
- On Windows, remove the /WX flag that upstream sets (warnings as
  errors) because there _are_ warnings in the code, and remove the
  explicit /MACHINE:x64 linker flag because we're building for x86.
  (we could build for x64, but I'd rather leave that to a followup)

Differential Revision: https://phabricator.services.mozilla.com/D19911
2019-02-16 07:22:36 +09:00
Mike Hommey
87cc8cdde5 Bug 1527798 - Kill mspdbsrv at the end of gn build. r=froydnj
It keeps running and prevents the worker from unmounting, failing the
task.

Differential Revision: https://phabricator.services.mozilla.com/D19910
2019-02-16 07:22:35 +09:00
Mike Hommey
353eb51c20 Bug 1527798 - Upgrade toolchain tasks using MSVC to 15.8.4. r=froydnj
It turns out version 15.4.2 spawns a vctip process that sticks after the
build, and since bug 1527798, that breaks unmounting caches because the
process has a handle on msvcp140.dll, which lies in the source
directory. The problem goes away with 15.8.4, so upgrade all toolchain
tasks to that.

That's the same version as we're using on x86/x86-64 MSVC builds.

Differential Revision: https://phabricator.services.mozilla.com/D19752
2019-02-16 07:22:34 +09:00
Mike Hommey
f70fc6ed56 Backout changesets cdefcc66972a, 1527e2d84ff9 (bug 1527798), ac565cc75295 (bug 1431523) and 0605b508a2c6 (bug 1528150)
to give time to docker images and toolchains to build.


--HG--
rename : taskcluster/docker/debian-raw/cloud-mirror-workaround.sh => taskcluster/docker/debian-base/cloud-mirror-workaround.sh
rename : taskcluster/docker/debian-raw/setup_packages.sh => taskcluster/docker/debian-base/setup_packages.sh
2019-02-16 00:38:13 +09:00
Mike Hommey
36613706a4 Bug 1528150 - Build gn from https://gn.googlesource.com/gn/. r=froydnj
Make some adjustments to make the build work:
- On Linux, a newer GCC is needed, and -lrt is missing for
  clock_gettime.
- On Mac, ninja expect AR be accept ar arguments, which clang doesn't,
  so use llvm-ar.
- On Windows, remove the /WX flag that upstream sets (warnings as
  errors) because there _are_ warnings in the code, and remove the
  explicit /MACHINE:x64 linker flag because we're building for x86.
  (we could build for x64, but I'd rather leave that to a followup)

Differential Revision: https://phabricator.services.mozilla.com/D19911
2019-02-16 00:33:29 +09:00
Mike Hommey
0f1d72a827 Bug 1527798 - Kill mspdbsrv at the end of gn build. r=froydnj
It keeps running and prevents the worker from unmounting, failing the
task.

Differential Revision: https://phabricator.services.mozilla.com/D19910
2019-02-16 00:33:03 +09:00
Mike Hommey
cbec6eb233 Bug 1527798 - Upgrade toolchain tasks using MSVC to 15.8.4. r=froydnj
It turns out version 15.4.2 spawns a vctip process that sticks after the
build, and since bug 1527798, that breaks unmounting caches because the
process has a handle on msvcp140.dll, which lies in the source
directory. The problem goes away with 15.8.4, so upgrade all toolchain
tasks to that.

That's the same version as we're using on x86/x86-64 MSVC builds.

Differential Revision: https://phabricator.services.mozilla.com/D19752
2019-02-16 00:31:55 +09:00
Kartikaya Gupta
56bd94dd33 Bug 1516568 - Add jobs to cross-compile cargo test binaries and run them on macOS. r=glandium
Similar to the previous patch, this adds two jobs. One that
cross-compiles the binaries produced by `cargo test` and publishes them
as an artifact. The other job downloads the artifact and runs the
resulting binaries.

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

--HG--
extra : source : 79120d13e713114032263c0851455ec5f981d72c
2019-02-15 01:32:21 +00:00
Kartikaya Gupta
10e1acc2e9 Bug 1516568 - Add jobs to cross-compile wrench and use the resulting binaries. r=glandium
One job (which runs on a Linux docker worker) cross compiles wrench in
two configurations (regular and headless) and publishes artifacts with
the binaries. The other job (which runs on macOS) downloads the
artifacts and uses them to run the WebRender macOS CI release-mode
scripts, which basically consists of running the WebRender reftest
suite.

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

--HG--
extra : source : 028c0ed368b844a4e54f3c38177b0fe65211d484
2019-02-15 01:32:16 +00:00
Kartikaya Gupta
3674245c97 Bug 1516568 - Provide path to python executable when invoking fetch-content script. r=ahal
The shebang at the top of fetch-content doesn't work on macOS because
the path to python3 is not /usr/bin. Using /usr/bin/env doesn't work
properly on all platforms either so instead we invoke the script using
the currently running python executable.

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

--HG--
extra : source : f6413e576a2169855f766085704570c9fc851ee2
2019-02-15 01:30:48 +00:00
Dorel Luca
b73b2c4f67 Backed out 7 changesets (bug 1516568) for Docker and Toolchain failures. CLOSED TREE
Backed out changeset 79120d13e713 (bug 1516568)
Backed out changeset 028c0ed368b8 (bug 1516568)
Backed out changeset f06721b552a8 (bug 1516568)
Backed out changeset ee403c79877e (bug 1516568)
Backed out changeset 8990eef6c31e (bug 1516568)
Backed out changeset f6413e576a21 (bug 1516568)
Backed out changeset e9f887f489e5 (bug 1516568)
2019-02-15 05:16:55 +02:00
Kartikaya Gupta
ad84b74ed1 Bug 1516568 - Add jobs to cross-compile cargo test binaries and run them on macOS. r=glandium
Similar to the previous patch, this adds two jobs. One that
cross-compiles the binaries produced by `cargo test` and publishes them
as an artifact. The other job downloads the artifact and runs the
resulting binaries.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:32:21 +00:00
Kartikaya Gupta
dc62fcc29a Bug 1516568 - Add jobs to cross-compile wrench and use the resulting binaries. r=glandium
One job (which runs on a Linux docker worker) cross compiles wrench in
two configurations (regular and headless) and publishes artifacts with
the binaries. The other job (which runs on macOS) downloads the
artifacts and uses them to run the WebRender macOS CI release-mode
scripts, which basically consists of running the WebRender reftest
suite.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:32:16 +00:00
Kartikaya Gupta
a03acb6831 Bug 1516568 - Provide path to python executable when invoking fetch-content script. r=ahal
The shebang at the top of fetch-content doesn't work on macOS because
the path to python3 is not /usr/bin. Using /usr/bin/env doesn't work
properly on all platforms either so instead we invoke the script using
the currently running python executable.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 01:30:48 +00:00
Thomas Daede
3fcd2d85d2 Bug 1511224 - Add win64-nasm toolchain. r=ted,jya,glandium
Differential Revision: https://phabricator.services.mozilla.com/D13875

--HG--
extra : moz-landing-system : lando
2019-02-14 21:30:22 +00:00
Dorel Luca
72ca9e0f17 Backed out changeset fe264afc03aa (bug 1511224) for Fetch failures. CLOSED TREE 2019-02-14 20:44:38 +02:00
Thomas Daede
ce727c14e7 Bug 1511224 - Add win64-nasm toolchain. r=ted,jya,glandium
Differential Revision: https://phabricator.services.mozilla.com/D13875

--HG--
extra : moz-landing-system : lando
2019-02-14 17:11:57 +00:00
Steve Fink
1150832058 Bug 1500247 - Add a mechanism to embed known hazards into test files and verify that they are caught, r=jonco
Use it to verify that MOZ_INHERIT_ATTRIBUTE_FROM_TEMPLATE_PARAM works.

--HG--
extra : rebase_source : cb0d6d901d723274053988cdf70fedd92504e40e
2018-12-28 21:13:32 -08:00
Emilio Cobos Álvarez
7e29cc1765 Bug 1523071 - Update cbindgen. r=glandium,jwatt
Gonna need it to use https://github.com/eqrion/cbindgen/pull/275.

Differential Revision: https://phabricator.services.mozilla.com/D17736
2019-02-10 04:09:54 +01:00
Emilio Cobos Álvarez
da05bafa94 Bug 1394825 - Update minimum clang version to 4.0. r=glandium
libclang 3.9 has a bug that makes bindgen unable to distinguish some typedefs
from the underlying type, which matters for bug 1523071.

We have had quite a few workarounds for this bug and I don't really want to add
more, since in this case it is non-trivial. I think requiring libclang 4.0+ is
reasonable at this point.

Of the distros that can't build Firefox out of the box with clang, dropping support
for clang 3.9 would only break Ubuntu 14.04 LTS, which support ends April 2019,
right before we release 67.

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

--HG--
rename : build/build-clang/clang-3.9-linux64.json => build/build-clang/clang-4.0-linux64.json
rename : taskcluster/scripts/misc/build-clang-3.9-linux.sh => taskcluster/scripts/misc/build-clang-4.0-linux.sh
extra : moz-landing-system : lando
2019-02-10 02:56:13 +00:00
Nathan Froyd
c7e74390d2 Bug 1525069 - part 1 - add a node repack task for 32-bit Windows; r=nalexander
We don't use this in automation, but people who develop on AArch64
Windows will be happy we're providing Node for them.
2019-02-05 16:15:58 -05:00
Daniel Varga
69ace4b45f Backed out 3 changesets (bug 1525069) for linting failure at /builds/worker/checkouts/gecko/python/mozboot/mozboot/mozillabuild.p on a CLOSED TREE
Backed out changeset 1a41624ff365 (bug 1525069)
Backed out changeset ef7b4d60481f (bug 1525069)
Backed out changeset 898be859c1a4 (bug 1525069)
2019-02-04 23:50:08 +02:00
Nathan Froyd
383b7a52cf Bug 1525069 - part 1 - add a node repack task for 32-bit Windows; r=nalexander
We don't use this in automation, but people who develop on AArch64
Windows will be happy we're providing Node for them.
2019-02-04 16:32:17 -05:00
arthur.iakab
c152ccec1d Backed out 4 changesets (bug 1508381) for multiple Windows build bustages CLOSED TREE
Backed out changeset f01cec6f712e (bug 1508381)
Backed out changeset ba69e59924de (bug 1508381)
Backed out changeset 97fe4e5a665e (bug 1508381)
Backed out changeset 0c3065c12bef (bug 1508381)
2019-01-31 23:14:11 +02:00
Dustin J. Mitchell
22fcbfc133 Bug 1508381 - use rootUrl style with taskcluster-proxy r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18023

--HG--
extra : moz-landing-system : lando
2019-01-30 18:58:09 +00:00
Mike Hommey
7499c701a0 Fixup webrender-windows job after bug 1523201. r=me 2019-01-29 17:10:37 +09:00
Tom Ritter
4618468d6a Bug 1518989 - Bump MinGW to get D3D constant fix. r=froydnj 2019-01-12 19:11:17 -06:00
Tom Ritter
81f8c1c716 Bug 1518544 - Bump the default value of _WIN32_WINNT in the mingw-clang toolchain to 0x601. r=froydnj 2019-01-13 00:25:18 -06:00
Emilio Cobos Álvarez
d133439037 Bug 1519501 - Update min cbindgen version. r=dmajor
We need this to properly generate the WR bindings.

Also update the comment since the check was recently moved.

Differential Revision: https://phabricator.services.mozilla.com/D16398
2019-01-14 13:44:27 +01:00
Dorel Luca
5524f7b7d5 Bug 1391408 - Add missing executable bit r=glandium. CLOSED TREE
--HG--
extra : amend_source : deab4b7c47edd5adeda44661c3178dca01f056f7
2019-01-12 01:52:24 +02:00
Mike Hommey
bd810a1c0d Bug 1391408 - Build minidump_stackwalk as a toolchain. r=froydnj
This produces the same executables (produced for the same platforms) as
those currently pulled from tooltool (modulo timestamps, maybe changes
since last manifest change, etc.). Unfortunately, as of currently, the
Windows variant needs to be cross-built with mingw because it doesn't
compile without some POSIX APIs that MSVC/Windows SDK don't provide.

One thing that is left out of this change is whether to be completely
accurate with the toolchain cache hash (requiring a large list of files
as resources, and making those built very frequently), whether we'd
rely on manual updates, or if we should go with completely uncached
tasks. This can be left for a followup, the tasks not being hooked up
to be actually used by other tasks yet.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 22:29:35 +00:00
Mike Shal
8e7f2fc16c Bug 1507334 - Taskcluster configurations for 3-tier PGO; r=tomprince,firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers
Two new kinds are introduced - 'instrumented-build' and
'generate-profile'. The instrumented-build kind is almost identical to
the build kind, except it can be used earlier in the task graph. The
3-tier PGO process becomes:

instrumented-build -> generate-profile -> build

The final build stage is identical to any other build, except it has
the 'use-pgo' flag set to True in its task definition. This flag causes
the transforms to add the instrumented-build and generate-profile tasks
to the taskgraph.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 01:34:58 +00:00