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

93 Коммитов

Автор SHA1 Сообщение Дата
Ralph Giles 6299f3d3dc Bug 1409533 - Require rust 1.21.0. r=froydnj
Per schedule, bump the minimum-supported rust version to 1.21.0
two weeks after its stable release so we can use new code which
depends on it.

MozReview-Commit-ID: Bn8UjvTC7uw
2017-10-26 13:06:28 -07:00
Phil Ringnalda 5db7da0bcc Backed out changeset 64a4f7fc64e3 (bug 1409265) for unexpected assertion failures in media crashtests and webaudio mochitests
CLOSED TREE
MozReview-Commit-ID: Cv7AviLp0KP
2017-10-17 19:59:33 -07:00
Mike Hommey f88329d02f Bug 1409260 - Remove tc-vcs caches. r=dustin,gps
--HG--
extra : rebase_source : bc8a0e8807c1dd6d2a662c7c1fc8ad33af88efe9
2017-10-17 15:12:18 +09:00
Mike Hommey 92b58de044 Bug 1409265 - Update clang to 5.0 for linux and mac builds. r=froydnj
Except ASAN builds, which for some reason fail with that version
(bug 1409267).

--HG--
extra : rebase_source : e91bd0f4cd152be57abd5cddb8e15e4af34912bb
2017-10-13 13:34:08 +09:00
Ralph Giles db6c9b64ff Bug 1408215 - Update builders to rust 1.21.0. r=froydnj,gps
New upstream release.

Maintain a linux64-rust-1.20 for use verifying the minimum-
supported rust version once we update it.

We still use rust 1.19 to build sccache since there are
network connection issues when it's built with more recent
rust releases.

MozReview-Commit-ID: 9KjdYAAQZRa

--HG--
extra : rebase_source : 48a9512351723c7cc9a3ac1414097811f2d93720
2017-10-13 14:01:39 -07:00
Sebastian Hengst 4359a8ac3b merge mozilla-central to autoland. r=merge a=merge 2017-10-14 12:39:09 +02:00
Sebastian Hengst caf5b99a30 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8Qk2qoQvP0g
2017-10-14 11:49:31 +02:00
Nick Alexander e83bd0bc4e Bug 1405413 - Migrate Gradle dependency fetching to toolchain dependencies. r=dustin
MozReview-Commit-ID: 6OOD4mhICG1

--HG--
rename : taskcluster/scripts/builder/build-android-dependencies.sh => taskcluster/scripts/misc/android-gradle-dependencies.sh
rename : taskcluster/scripts/builder/build-android-dependencies/after.sh => taskcluster/scripts/misc/android-gradle-dependencies/after.sh
rename : taskcluster/scripts/builder/build-android-dependencies/before.sh => taskcluster/scripts/misc/android-gradle-dependencies/before.sh
rename : taskcluster/scripts/builder/build-android-dependencies/nexus.xml => taskcluster/scripts/misc/android-gradle-dependencies/nexus.xml
extra : rebase_source : 8c476377ded6b7177b3ba45f648431a08468948d
2017-10-13 12:59:04 -07:00
Sebastian Hengst 87626a0ece merge mozilla-central to autoland. r=merge a=merge 2017-10-14 00:02:17 +02:00
Sebastian Hengst 373bdd8602 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9adaYBJ4tlo
2017-10-13 23:37:41 +02:00
Steve Fink 2a91809c78 Bug 1339989 - Create a sixgill compilation toolchain job, r=glandium
--HG--
extra : rebase_source : ccd11f3522b6c87a59bb9837a6a1d338cfbb8608
2017-10-09 17:49:29 -07:00
Nick Alexander daf88e8cc6 Bug 1405412 - Migrate Android SDK to android-sdk-linux toolchain task. r=dustin
The only tricky piece here is that the resulting toolchain archive is
private, and uses a newly allocated Task Cluster scope
(queue:get-artifact:project/gecko/android-sdk/*) to restrict access to
the archive.  All SCM levels (1, 2, 3) have been given the new scope:
see https://tools.taskcluster.net/auth/roles/moz-tree:level:1 and
friends.

MozReview-Commit-ID: CcDqDOHODpe

--HG--
extra : rebase_source : 81dbb065f2a3c4e7733e964be66adb1733db52c6
2017-10-03 11:45:27 -07:00
Mike Hommey cfff009a09 Bug 1408277 - Add a toolchain job for clang 5.0. r=froydnj
--HG--
extra : rebase_source : 6a5a3e1db7b8a754181468914712a38f162d0f0d
2017-10-13 13:22:41 +09:00
Nick Alexander 5e900e07f6 Bug 1352599 - Part 1: Add a Proguard toolchain task for Android builds. r=froydnj
MozReview-Commit-ID: 5lyHGLkzyg

--HG--
extra : rebase_source : 63824f309d216eab06ea34a6db244eb299139f58
2017-10-02 13:27:51 -07:00
Mike Hommey f813868d70 Bug 1408284 - Build sccache with gcc instead of clang. r=ted
When adding sccache toolchain jobs in bug 1381772, building with gcc
failed, and building with clang worked, so I just went with the path of
least resistance. That's however a suboptimal position in the dependency
graph, so it's still preferable to use gcc if possible.

Looking exactly how it fails, it turns out it's because without CC being
set, ring wants to build with "cc", which ends up being the system gcc
instead of ours (our gcc archive doesn't provide "cc", only "gcc"), and
it is too old to support the compiler flags ring uses.

So setting CC does the trick.

--HG--
extra : rebase_source : 4c657664957dff1f7aebe470e0440a52c9e280e5
2017-10-13 14:27:13 +09:00
Sebastian Hengst 758e7bad02 Backed out changeset 52a05ad77fa5 (bug 1352599) for failing build at python/mozbuild/mozbuild/test/configure/lint.py::Lint::test_mobile_android. r=backout on a CLOSED TREE 2017-10-12 23:43:02 +02:00
Sebastian Hengst 4b5ec86ca9 Backed out changeset 5f4ff0de7242 (bug 1405412) 2017-10-12 23:41:30 +02:00
Nick Alexander 962b96fa44 Bug 1405412 - Migrate Android SDK to android-sdk-linux toolchain task. r=dustin
The only tricky piece here is that the resulting toolchain archive is
private, and uses a newly allocated Task Cluster scope
(queue:get-artifact:project/gecko/android-sdk/*) to restrict access to
the archive.  All SCM levels (1, 2, 3) have been given the new scope:
see https://tools.taskcluster.net/auth/roles/moz-tree:level:1 and
friends.

MozReview-Commit-ID: CcDqDOHODpe

--HG--
extra : rebase_source : 062bca8c65556f0f46e9c9cc6cd81eb04cf2b522
2017-10-03 11:45:27 -07:00
Nick Alexander f5c43c8ddc Bug 1352599 - Part 1: Add a Proguard toolchain task for Android builds. r=froydnj
MozReview-Commit-ID: 5lyHGLkzyg

--HG--
extra : rebase_source : dc75874944d9559a69f495cbca5f492bf464c9d4
2017-10-02 13:27:51 -07:00
Sebastian Hengst 4bf9d6e663 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-10-14 00:11:06 +02:00
Ralph Giles cb2443642d Bug 1408211 - Update builders to rust 1.20.0. r=mshal
New upstream stable release.

Maintain rust-1.19 builds for verifying the minimum-supported
version, and because we have network failures when we build
sccache with rust 1.20 or 1.21.

MozReview-Commit-ID: 5qi8JDTjfzj
2017-10-13 14:30:20 -07:00
Tom Ritter 14ad913e94 Bug 1403058 Add the MinGW32 browser build to Taskcluster r=glandium
MozReview-Commit-ID: EGWX1EfqBNJ

--HG--
extra : rebase_source : 4cbe0340bad06d4421cd0b106d1dc7a4ab2ec013
2017-10-05 11:46:32 -05:00
Ralph Giles a7e28bc3b1 Bug 1391427 - Package upstream rust in taskcluster. r=glandium
Add a toolchain job description which calls the
repack_rust.py script to package the requested
upstream build of Rust and its standard libraries
for use in gecko builds.

Links are added to these new toolchains for various build
and analysis tasks as appropriate. The base-toolchain
tasks use an explicitly-versioned toolchain since those
can be different from the current release used for most builds.

The corresponding tooltool manifest entries are removed
now that taskcluster artifact versions are available.
This simplifies the update process since new toolchains
can be packaged and used automatically by just updating
the versions in the task descriptions.

A 'linux64-rust' toolchain can be added to other tasks
as a dependency and artifact. It supports linux64-
hosted builds of Rust code targeting linux64 or linux32.

A 'linux64-rust-macos' toolchain targets linux64-hosted
builds of Rust code targeting macOS on x86_64.

A 'linux64-rust-android' toolchain targets linux64-hosted
builds of Rust code targeting various Android architectures.

Two 'win64-rust' and 'win32-rust' toolchain tasks create
similar entries for Windows-hosted builds. All our automation
builds are hosted on win64, so we could use one artifact
with support for both targets, but currently this doesn't
work because of cross-compilation issues in some crates.
This patch maintains the previous separation between
win32 and win64 rust toolchains until that can be addressed.

MozReview-Commit-ID: GRiJml8CtzO

--HG--
extra : rebase_source : 09a3698ce7f9a8b5f2b5d9b5a1fde9c05dc6b540
2017-09-12 16:30:19 -07:00
Wes Kocher 18a2426a5d Bug 1330608 - Fix up mozlint-yaml a=bustage
MozReview-Commit-ID: 5nZmpAO4R3Z
2017-09-25 22:37:58 -07:00
Tom Ritter 095b4bfda8 Bug 1330608 Add the MinGW32 toolchain build to Taskcluster r=glandium
MozReview-Commit-ID: JHS6y8kqr4T

--HG--
extra : rebase_source : e04692af64312db7028d4123075e02d8b9127ef2
2017-09-22 00:24:58 -05:00
Dustin J. Mitchell f2c8898f06 Bug 1401180: rename 'toolchain' transform to 'use_toolchains'; r=glandium
MozReview-Commit-ID: 5vKM5dRBuZt

--HG--
rename : taskcluster/taskgraph/transforms/toolchain.py => taskcluster/taskgraph/transforms/use_toolchains.py
extra : rebase_source : 71b3528c4d0d124d0bdb06c1bcab92f8bcabad83
extra : source : 4d29e16b186e836db589c6b80cb7b50631e8ebc4
2017-09-14 20:12:59 +00:00
Chris Manchester 696a8e5320 Bug 1386782 - Add toolchain tasks to build gn in automation. r=ted
MozReview-Commit-ID: 7dDwsQJnzRL

--HG--
extra : rebase_source : be14a5af5648ae0cc0e571ca098307a4d84a7c14
2017-07-25 15:33:44 -07:00
Mike Hommey 7897fb7596 Bug 1384433 - Make clang-cl toolchain jobs tier 1. r=dustin
Tier 1 Firefox builds are using those toolchain jobs for stylo, so they
need to be tier 1.
2017-08-29 07:53:56 +09:00
Mike Hommey fe086521ec Bug 1389435 - Use GCC 6 to build the Firefox we ship on Linux. r=froydnj 2017-08-22 13:46:00 +09:00
Mike Hommey 9239c39c7c Bug 1389435 - Forbid toolchain dependencies on aliases. r=dustin
This extends bug 1386920 in a more general way on toolchain jobs.
2017-08-22 13:45:44 +09:00
Mike Hommey a38177ad5a Bug 1386920 - Use a versioned dependency on GCC to build clang. r=gps
The lesson learned from bug 1356926 and bug 1386588 is that the version
of gcc used to build clang matters, and that we can't bind the version
we use to build clang to the version we use to build Firefox.
2017-08-04 06:07:43 +09:00
Mike Hommey 0dd063a9dd Bug 1386589 - Remove the linux64 tooltool manifests that look the same as releng.manifest. r=gps 2017-08-04 06:07:43 +09:00
Mike Hommey 6d4d61f76a Fixup after backout of 25420b520b68 (part of bug 1386588). a=bustage 2017-08-03 12:18:12 +09:00
Mike Hommey 3507cf061a Backout changeset 25420b520b68 (part of bug 1386588) for asan bustage. a=bustage. 2017-08-03 12:11:40 +09:00
Mike Hommey cf23b5a7fa Bug 1386588 - Add a toolchain job for Clang 4. r=gps 2017-08-03 08:13:07 +09:00
Mike Hommey 1e86c54102 Bug 1386588 - Add a toolchain job for GCC 6. r=gps 2017-08-03 08:13:02 +09:00
Mike Hommey 40d5896697 Bug 1386588 - Add a toolchain job for GCC 4.8, and build clang against it. r=gps
While this looks like going backwards, it is desirable to build clang
against GCC 4.8, such that it contains its libgcc. This, in turn, will
solve problems using clang 3.9 with static-analysis builds (details in
bug 1356926). Another way to fix those problems would be to build clang
3.8 but that too would require GCC 4.8. Upgrading those builds to clang
3.9 will also allow to enable stylo on them.
2017-08-03 08:12:52 +09:00
Mike Hommey 614312f061 Bug 1386588 - Change the GCC build script to be future-proof. r=gps
It becomes a library of some sort, so that multiple scripts can benefit
from it to build different versions of GCC.

The GPG key associated with GCC is also refreshed from keys.gnupg.net,
adding a new subkey, used to sign newer versions of GCC (and
postprocessed with pgpstrip to make it smaller).
2017-08-03 08:12:47 +09:00
Mike Hommey c15ef2edff Bug 1386588 - Rename the linux64-clang and linux64-gcc jobs to include a version number. r=gps
We're soon going to build multiple versions of clang and gcc for linux,
and we need to differentiate them. Furthermore, there is a need for the
base-toolchains builds to use a fixed version of clang and gcc. So
rename the clang and gcc toolchain jobs to include their version, add
aliases to satisfy all existing jobs, and adjust the base-toolchains
jobs to use the explicit version.


--HG--
rename : build/build-clang/clang-linux64.json => build/build-clang/clang-3.9-linux64.json
rename : taskcluster/scripts/misc/build-gcc-linux.sh => taskcluster/scripts/misc/build-gcc-4.9-linux.sh
2017-08-03 08:12:43 +09:00
Mike Hommey af9b7241e1 Bug 1386588 - Avoid wildcards in toolchain resources lists. r=gps
Those resources are used to compute a unique identifier for the
toolchain, and changes to those files will change the unique identifier,
and lead to the toolchain being rebuilt.

Using wildcards, especially in the build-clang directory, makes all the
files from there used for the unique identifier, even files irrelevant.
The side effect is that any change to any json file for clang toolchains
currently triggers *all* clang toolchains to be rebuilt, which is a
waste of resources and time.

But while it is tempting to list all the files involved, it is also
tedious and error-prone. Specifically, listing the relevant patch files
for clang toolchain builds is bound to end up outdated. OTOH, we're not
trying to mitigate bad actors here, but just to avoid shooting ourselves
in the foot. And patch files are, in practice, not changed. The jsons
are changed to reference them or not, but the patches themselves don't
change in relevant ways. They may be updated for new versions of clang,
which require a json change anyways. So we ignore the patch files.
2017-08-03 08:12:38 +09:00
Mike Hommey dcccbb8816 Bug 1384744 - Don't use tooltool manifests on toolchain jobs that don't need them. r=gps
Those jobs now have all their dependencies installed through taskcluster
artifacts.

--HG--
extra : rebase_source : de311326999ea587e6885f0cb26c2d4a14110b00
2017-07-27 08:05:07 +09:00
Mike Hommey 37137f8ffc Bug 1384744 - Remove unused toolchain dependencies for toolchain jobs. r=gps
Building linux64-clang-tidy doesn't use clang, and building
macosx64-cctools-port doesn't use gcc.

--HG--
extra : rebase_source : 78d7021fb56f22b3bbf3fad61032348a0d35f98c
2017-07-27 08:04:10 +09:00
Mike Hommey d1e6665a85 Bug 1384744 - Remove sccache dependencies for toolchain jobs. r=gps
None of the toolchain jobs are actually using sccache, so they don't
need the dependency. Those jobs also don't run frequently enough that
sccache would be a win for them, and when they do run, they're likely
to have few cache hits, if the cache is not expired anyways.

--HG--
extra : rebase_source : bddd0d0688303f9d9b117f4e2b952f22621bf9dd
2017-07-27 07:59:06 +09:00
Mike Hommey 02f8b2de18 Bug 1384422 - Use toolchain dependencies for clang. r=gps
This leaves out fuzzing and linux static analysis builds, which are
using, respectively, clang 4.0.1 and clang 3.8, while linux64-clang
produces a 3.9 and win*-clang a 5.0

--HG--
extra : rebase_source : 45128ac74bf4fe7e6a2ace57043c34ecdf0fe929
2017-07-26 16:32:15 +09:00
Mike Hommey cfb34b906b Bug 1384421 - Use toolchain dependencies for cctools-port. r=gps
--HG--
extra : rebase_source : 111c359d8275c3e7d662c88322993bdf6d767158
2017-07-26 15:48:46 +09:00
Mike Hommey bc784842fe Bug 1384418 - Use toolchain dependencies for gcc. r=gps
--HG--
extra : rebase_source : 187010d47e94d53abf18cd9acd7073269744d818
2017-07-26 15:27:09 +09:00
Mike Hommey f4b619109d Bug 1384417 - Make sccache toolchain jobs tier 1. r=gps
It's depended upon by tier 1 jobs.

--HG--
extra : rebase_source : dc33d1830047e68a815bc02efaf16eaaad70b1de
2017-07-26 15:17:15 +09:00
Mike Hommey cfb8502a7f Bug 1384417 - Use toolchain dependencies for sccache. r=gps
--HG--
extra : rebase_source : 46eb4903d4d918e93b77b17124025253cda28d04
2017-07-20 17:56:49 +09:00
Mike Hommey 4b7a4dc4ce Bug 1381772 - Add taskcluster jobs to build sccache for automation. r=ted
The MinGit tooltool package used for Windows builds comes straight from
https://github.com/git-for-windows/git/releases/

This builds the version currently used on automation.

--HG--
extra : rebase_source : dbc2a36b07611e673d6661032ad53123a688d422
2017-07-14 11:07:40 +09:00
Mike Hommey 3236fcc629 Bug 1382860 - Use docker_worker_add_public_artifacts for toolchain docker-worker jobs. r=dustin
This affects the location of the artifacts directory, so adjust the
scripts and artifact definitions as a consequence.

--HG--
extra : rebase_source : 008b8cf33957eabfcacee61de8a260b5df146ab4
2017-07-21 07:30:14 +09:00