Commit Graph
73 Commits
Author SHA1 Message Date
Chris Manchester d178307738 Bug 1386782 - Add toolchain tasks to build gn in automation. r=ted
MozReview-Commit-ID: 7dDwsQJnzRL
2017-07-25 15:33:44 -07:00
Wander Lairson Costa 6b7f9ef0d1 Bug 1338651 part 1: Change docker image home dir to /build. r=dustin,mshal
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: 554IPMRWgzK
2017-08-28 08:44:51 -03:00
Mike Hommey bab8b07397 Bug 1391533 - Update sccache to 0.2.1. r=ted 2017-08-19 06:48:01 +09:00
Ted Mielczarek 8c5a1716fa bug 1385386 - update sccache to revision 210bc791513ed8362b17a492a1f35a621cca64ff. r=glandium
This picks up a fix we need to update the OS X SDK we build with.

MozReview-Commit-ID: 8dvq4JV1o7q
2017-08-16 11:19:35 -07:00
Mike Hommey d3f9a99ee3 Backout changeset 25420b520b68 (part of bug 1386588) for asan bustage. a=bustage. 2017-08-03 12:11:40 +09:00
Mike Hommey 9a620197fa Bug 1386588 - Add a toolchain job for Clang 4. r=gps 2017-08-03 08:13:07 +09:00
Mike Hommey 709316595d Bug 1386588 - Add a toolchain job for GCC 6. r=gps 2017-08-03 08:13:02 +09:00
Mike Hommey d656cb623e 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 4ee77ba26c 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 d57901042c 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.
2017-08-03 08:12:43 +09:00
Mike Hommey e14ea56140 Bug 1386588 - Rename the clang build manifests. r=gps
The clang toolchains have not been static-analysis-specific for a while.
2017-08-03 08:12:29 +09:00
Nick Alexander 70b7340f0a Bug 1376306 - Bootstrap and upload java_home.tar.xz; bump Java to 1.8. r=dustin,sebastian
MozReview-Commit-ID: 3EOsrOp924f
2017-07-25 20:43:14 -07:00
Mike Hommey b828c6ac72 Bug 1384744 - Allow toolchain tasks not to have a tooltool manifest at all. r=gps
With the support added in bug 1382564, toolchains can be downloaded
without a tooltool manifest at all, and it's desirable to get rid of
tooltool manifests on jobs that don't need one.
2017-07-27 07:56:14 +09:00
Mike Hommey bfb16a3cfe Bug 1384436 - Update sccache to version 0.2.0. r=ted 2017-07-26 15:56:56 +09:00
Mike Hommey 5937b178ee 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.
2017-07-14 11:07:40 +09:00
Mike Hommey a41204467f Bug 1383996 - Make most calls to mach artifact toolchain output a manifest. r=gps
And upload it as artifact.
2017-07-20 17:56:22 +09:00
Mike Hommey daaefe8df9 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.
2017-07-21 07:30:14 +09:00
Mike Hommey 3e2fbffd22 Bug 1382564 - Use the information from bug 1374940 with mach artifact toolchain. r=gps
Bug 1374940 adds a MOZ_TOOLCHAINS environment variable with a list of
path@task-id strings, where task-id is corresponding to the (possibly
optimized) toolchain job, and path corresponding to the
toolchain-artifact defined for that toolchain job.

We want to use that to pull artifacts instead of tooltool packages.
2017-06-21 15:18:33 +09:00
Mike Hommey 4e4fddccc4 Bug 1381770 - In tooltool-download.sh, automatically setup the relengapi authentication file. r=mshal 2017-07-18 16:13:26 +09:00
Mike Hommey 32193cedb0 Bug 1381770 - In tooltool-download.sh, only use the relengapi proxy when it's configured. r=mshal 2017-07-18 16:12:58 +09:00
Mike Hommey e28de2946c Bug 1381770 - Enable multiple download retries in tooltool-download.sh. r=mshal
The scripts that use tooltool-download.sh don't run regularly, but when
they do, they might hit some download problems (the relengapi proxy
tends to be rather unreliable for some reason), and in that case, it
would be better to retry a few times, like other job types, rather than
fail directly.
2017-07-18 14:51:04 +09:00
Mike Hommey d9682ba406 Bug 1381770 - Use $WORKSPACE instead of $HOME/workspace in tooltool-download.sh. r=mshal
All the current users of tooltool-download.sh set $WORKSPACE. This will
allow to reuse the script on different types of workers, that don't have
$WORKSPACE set to $HOME/workspace, but still have the source in
$WORKSPACE/build/src.
2017-07-18 14:49:05 +09:00
Wes Kocher 87809bff97 Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
Wander Lairson Costa 484b2f6d33 Bug 1338651: Change docker image home dir to /build. r=dustin,mshal a=hopefullyavoidingmergebustagelater
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: zehcGJrUQX
2017-06-29 15:45:01 -07:00
Mike Hommey dbb90186c0 Bug 1356952 - Move tooltool manifests defined in toolchain build scripts to taskcluster job definitions. r=mshal
The toolchain build scripts are currently defining the tooltool
manifest they use on their own. We move the definitions to the
taskcluster job definitions to normalize on everything using that.
2017-06-06 16:33:36 +09:00
Mike Hommey b964f25405 Bug 1356140 - Enable tooltool cache on jobs that define one but don't use it. r=chmanchester 2017-04-13 16:26:33 +09:00
Mike Hommey db0a94f438 Bug 1356683 - Use new tooltool wrapper in Linux and OSX clang toolchain builds. r=chmanchester 2017-04-12 17:59:21 +09:00
Mike Hommey 994e910e80 Bug 1356683 - Use new tooltool wrapper in Windows clang toolchain builds. r=chmanchester 2017-04-12 17:55:56 +09:00
Mike Hommey 10f260de3c Bug 1356933 - Use tooltool-download.sh helper in cctools build scripts. r=chmanchester
While here, since the tooltool call from the cctools build scripts was
verbose, make the one in tooltool-download.sh verbose. It will benefit
the other things using tooltool-download.sh, making debugging easier
when one needs to look at the tooltool download logs...
2017-04-17 08:34:24 +09:00
Iris Hsiao 2cc99b0fa6 Backed out changeset 14010d77d56a (bug 1356933) for invisible bustage 2017-04-18 13:33:00 +08:00
Mike Hommey 627ec3c433 Bug 1356994 - Add a top-level directory to the libdmg-hfsplus source tarball. r=ted
Also change the README of the dmg tarball to point to the artifact url
directly.
2017-04-17 17:24:40 +09:00
Mike Hommey 79e8c7f662 Bug 1356933 - Use tooltool-download.sh helper in cctools build scripts. r=chmanchester 2017-04-17 08:34:24 +09:00
Mike Hommey c13ee02c11 Bug 1356993 - Build libdmg-hfsplus based on a git commit, not a branch name. r=mshal 2017-04-17 17:14:11 +09:00
Mike Hommey f118b3f0fa Bug 1356951 - Build mac cross toolchains with clang 3.9. r=ted
Also use the same cctools as cross-mac builds of Firefox.

Do dummy changes to the corresponding build scripts so that the builds
are force triggered (toolchain builds are not triggered automatically
when the tooltool manifest they use changes yet).
2017-04-17 14:33:09 +09:00
Mike Hommey 187e7f6ebc Bug 1355731 - Move tooltool to mozbuild.action. r=gps 2017-02-22 17:20:41 +09:00
Ted Mielczarek a0fd6080e8 bug 1354216 - fix cctools-port build scripts. r=mshal
The cctools-port build scripts were pulling and building the master branch
of the cctools-port repo, which means they'd build whatever was there
when they get triggered. I think this was copied from my build-cctools
script which did the same thing, so it's my fault in the end! This patch
pins a revision in the script so we'll build the same thing until we
explicitly update.

I also fixed the scripts to use git instead of tc-vcs, since tc-vcs prints
misleading error messages, and nothing else uses that anymore.

Finally, I removed the build-cctools script, since all the builds are using
cctools-port now so it doesn't serve any useful purpose.

MozReview-Commit-ID: 5myqHS4duor
2017-04-10 15:38:24 -04:00
Mike Shal 678a5af378 Bug 1351474 - use Mozilla fork of libdmg-hfsplus; r=ted
The latest upstream version produces .dmg files that have fsck errors,
and some versions of OSX complain that the image is corrupted. The
previous version of libdmg-hfsplus that we were using (1d72dd62a)
doesn't have fsck errors, but it also doesn't preserve file permissions.
Our fork is based on the older version and backports the file permission
commits.

MozReview-Commit-ID: Bjwy6MJ98Ud
2017-03-30 16:30:59 -04:00
Wes Kocher dd70933f86 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D76dMYwFRUQ
2017-02-09 17:06:59 -08:00
Ted Mielczarek 878c07715e bug 1337393 - add a toolchain task for building libdmg-hfsplus tools, build them from a newer branch r=callek
There's not a single well-maintained fork of libdmg-hfsplus, but there are
scattered forks with various fixes. The fork + branch I've chosen here
seems to have collected the most fixes, including a specific fix we need
for repacking DMG files on Linux:
https://github.com/andreas56/libdmg-hfsplus/commit/5c92af354b279809bc64f8013805ca0b51b29960

MozReview-Commit-ID: 3RB6gfgQmCA
2017-02-07 10:57:23 -05:00
Wes Kocher a64f15cdaf Merge inbound to central, a=merge
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Justin Wood 1c93b9e148 Bug 1197325 - Generate mkfs.hfsplus. r=ted
MozReview-Commit-ID: Dl0eBQR8XFR
2017-01-30 13:12:57 -05:00
Mike Hommey 8bd0ca5655 Bug 1338016 - Use clang from tooltool to build hfsplus. r=mshal 2017-02-09 11:37:28 +09:00
Mike Hommey 692db07c3d Bug 1338008 - Avoid creating a lipo symlink in /usr/bin for clang macosx builds. r=mshal 2017-02-09 10:40:16 +09:00
Phil Ringnalda dc6ead507c Backed out 3 changesets (bug 1197325) for adding a burning Cc(hfsplus) job
CLOSED TREE

Backed out changeset 158233bce738 (bug 1197325)
Backed out changeset b5ac3fa0bbe7 (bug 1197325)
Backed out changeset 55a8ad127517 (bug 1197325)
2017-02-06 20:04:55 -08:00
Justin Wood 30441812e6 Bug 1197325 - Generate mkfs.hfsplus. r=ted
MozReview-Commit-ID: Dl0eBQR8XFR
2017-01-30 13:12:57 -05:00
Ehsan Akhgari 6e00601f68 Bug 1331957 - Part 9: Upgrade cctools used for building clang on OS X for ld 264.3.102; r=froydnj 2017-02-03 10:19:33 -05:00
Ehsan Akhgari d5784b3ad6 Bug 1331957 - Part 8: Build cctools-port in the infrastructure; r=froydnj,dustin 2017-02-03 10:19:28 -05:00
Ehsan Akhgari 5a52243158 Bug 1331957 - Part 2: Add cross compile jobs for clang 3.9 OSX builds; r=dustin 2017-02-03 10:18:55 -05:00
Iris Hsiao 1f83a308ef Backed out 14 changesets (bug 1331957, bug 1336149) for OS X 10.7 debug static analysis build bustage
Backed out changeset a01bead75258 (bug 1336149)
Backed out changeset 9a64d3102f6b (bug 1331957)
Backed out changeset a10f7732a754 (bug 1331957)
Backed out changeset 82c98214febe (bug 1331957)
Backed out changeset f74c7a543525 (bug 1331957)
Backed out changeset 6631f3582920 (bug 1331957)
Backed out changeset ccefeba51cf6 (bug 1331957)
Backed out changeset a84b26a07369 (bug 1331957)
Backed out changeset fc0b3a0ad1e5 (bug 1331957)
Backed out changeset bbcae89fd7c2 (bug 1331957)
Backed out changeset ffd70d960b9f (bug 1331957)
Backed out changeset a53ecc295eae (bug 1331957)
Backed out changeset d44a0be29686 (bug 1331957)
Backed out changeset a01a373da6a8 (bug 1331957)
2017-02-03 11:16:08 +08:00
Ehsan Akhgari 5eeda759b8 Bug 1331957 - Part 9: Upgrade cctools used for building clang on OS X for ld 264.3.102; r=froydnj 2017-02-02 20:20:56 -05:00