Commit Graph
137 Commits
Author SHA1 Message Date
Mike Hommey e71efabb14 Bug 1526857 - Improve bindgen configuration wrt clang. r=chmanchester
The current setup for bindgen relies on either finding clang/libclang
from the output of llvm-config, or from the paths given via the
configure flags --with-clang-path/--with-libclang-path.

One _very_ common problem is that the llvm-config we end up using does
not correspond to the clang used for compilation, which has some
undesirable side effect, like failing to build.

So instead of relying on llvm-config, we do the following:
- when the compiler is clang, we just use that
- when the compiler is clang-cl, we use clang from the same directory
- otherwise, we either try to find clang in PATH, or rely on
  --with-clang-path.

Once clang is found, we try to deduce the location of the corresponding
libclang via the output of `clang -print-search-dirs`, or rely on
--with-libclang-path.

Differential Revision: https://phabricator.services.mozilla.com/D33241
2019-06-05 02:48:20 +00:00
Tom Prince 9852616218 No bug: [mozharness] Don't explicitly pass scm-level to mozharness; r=Callek
The last use of scm level in mozharness is in `mozharness.mozilla.secrets` which
uses the `MOZ_SCM_LEVEL` environment variable directy.

Differential Revision: https://phabricator.services.mozilla.com/D20897
2019-05-24 01:08:06 +00:00
Andrew Halberstadt 4e2e62f97e Bug 1195299 - [ci] Use 'mach python' to run mozharness scripts when we have a srcdir r=catlee
This makes sure that the mozharness scripts have access to all the packages in
the build system virtualenv (namely mozbase).

Differential Revision: https://phabricator.services.mozilla.com/D22184
2019-04-05 15:39:50 +00:00
Bogdan Tara 1aeb7a6046 Backed out 2 changesets (bug 1195299) for l10n bustages a=backout
Backed out changeset 9645ac1a9851 (bug 1195299)
Backed out changeset 4de7f94119fd (bug 1195299)
2019-04-05 14:11:45 +03:00
Andrew Halberstadt df6a9af862 Bug 1532747 - Use 'mach python' with repackage.sh script, CLOSED TREE, r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D26239
2019-04-04 20:35:09 +00:00
Andrew Halberstadt a2140475ce Bug 1195299 - [ci] Use 'mach python' to run mozharness scripts when we have a srcdir r=catlee
This makes sure that the mozharness scripts have access to all the packages in
the build system virtualenv (namely mozbase).

Differential Revision: https://phabricator.services.mozilla.com/D22184
2019-04-04 18:41:12 +00:00
Steve Fink 4e5e64714d 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
2019-03-01 18:19:40 +00:00
Steve Fink e6ac431f02 Bug 1527777 - Move spidermonkey jobs from win32 to win64 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20619
2019-02-22 09:33:02 +00:00
Steve Fink b8894e86ab 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.
2018-12-28 21:13:32 -08:00
Steve Fink d76cbd7f1e Bug 1321014 - Respect MOZ_INHERIT_TYPE_ANNOTATIONS_FROM_TEMPLATE_ARGS for the purpose of identifying GC types and pointers, r=jonco 2018-07-20 18:36:20 -07:00
Steve Fink 64a6c71c61 Backed out changeset c7b32ffa822e (bug 1321014) on a CLOSED TREE 2018-10-16 14:35:48 -07:00
Steve Fink 92f77199c8 Bug 1321014 - Respect MOZ_INHERIT_TYPE_ANNOTATIONS_FROM_TEMPLATE_ARGS for the purpose of identifying GC types and pointers, r=jonco 2018-07-20 18:36:20 -07:00
Steve Fink 3d80e0777d Bug 1480879 - Run the hazard analysis self-test as part of the hazard jobs, r=jonco 2018-08-02 09:49:27 -07:00
Steve Fink 870b5fd2db Bug 1480879 - Format errors better for taskcluster, r=jonco 2018-08-02 10:20:15 -07:00
Steve Fink 0a5993c061 Bug 1479672 - Remove need to set GECKO_DIR when running build-haz-linux.sh, and fix shell lint warnings, r=jonco 2018-08-02 09:57:58 -07:00
Benjamin Bouvier 6ae0fbed08 Bug 1490948: Set the LLVM_CONFIG environment variable when building the Spidermonkey hazard builds; r=sfink
This is needed so that rust-bindgen can be used in this environment.
2018-09-13 12:03:07 +02:00
Steve Fink f6e76d239a Bug 1479672 - More verbose output from hazard commands. r=me 2018-07-06 12:05:37 -07:00
Steve Fink e4e13a8ec5 Bug 1479672 - Reduce the number of parallel compiles for JS shell hazard analysis. r=me 2018-07-05 15:25:48 -07:00
Nathan Froyd 4880986203 Bug 1444141 - part 3 - fix exports of PATH in sm-tooltool-config.sh; r=sfink
TOOLTOOL_CHECKOUT is typically `.`, which doesn't work so great for
adding things to $PATH.  We need to turn everything we're adding to
$PATH into absolute paths, so $PATH actually works properly.
2018-08-02 12:00:21 -04:00
Nathan Froyd 3a06a75d8d Bug 1444141 - part 1 - export RUSTC and CARGO variables for the hazard analysis build; r=sfink
configure needs these environment variables to find rustc and cargo.
2018-08-02 11:00:21 -05:00
Steve Fink 4c53daffdc Bug 1479672 - Remove --enable-stdcxx-compat option from JS shell being analyzed for hazards, r=jonco 2018-07-05 15:25:12 -07:00
Chris AtLee d1834a43b9 Bug 1237182: remove mock(chroot) support r=Callek 2018-05-16 12:31:33 -04:00
Robin Templeton 5b92271800 Bug 1455795 - Remove the AUTOMATION option from mozjs_sys's build.rs. r=sfink
This option shouldn't be used for local builds (see bug 1294157). Set
the option from the crate's taskcluster script instead, so that it's
used only for automated builds.
2018-04-24 18:04:00 -04:00
Tom Prince fbf17e2144 Bug 1456234: [mozharness] Process EXTRA_MOZHARNESS_CONFIG even if no files are specified; r=aki
This will allow mozharness configs to be specified exclusively in the taskgraph.

Differential Revision: https://phabricator.services.mozilla.com/D1017
2018-04-23 17:39:35 -06:00
Steve Fink 0c4a13a4ca Bug 1455201 - Propagate failure out of set -e region and add verbose logging to autospider.py, r=jonco 2018-04-19 11:20:26 -07:00
Masatoshi Kimura 9c48180f36 Bug 1451931 - Add gcc/lib64 to the LD_LIBRARY_PATH of sm-rust-binding. r=glandium
MozReview-Commit-ID: 6VdXCtBDiQ8
2018-04-06 22:02:50 +09:00
Steve Fink 2dd8afab27 Bug 1449066 - Switch hazard builds to GCC 6, r=froydnj 2018-03-28 18:15:51 -07:00
Steve Fink 6012cb971d Bug 1442786 - Prevent set -e from leaking into calling scripts, r=nbp 2017-11-21 12:47:51 -08:00
Tom Prince 517db9fddc Bug 1434365: Add support for specifying mozharness config paths and checking out comm-central to repackage tasks; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D512
2018-01-30 11:50:57 -07:00
Tom Prince c391845ceb Bug 1424146: Simplify taskcluster l10n mozharness config; r=Callek
MozReview-Commit-ID: 5Pg480dLRbz
2017-11-28 12:46:22 -07:00
Tom Prince a57c5ac6ed Bug 1429603: Remove mock configuration from build mozharness configs and code; r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D369
2018-01-04 13:13:24 -07:00
Mike Hommey be50c6f6a5 Bug 1430270 - Disable ccache in hazard builds. r=nalexander
I don't intend to install ccache in the Debian build images. Hazard
builds are the only builds running on the desktop-build image still
using ccache somehow, and that gains them nothing, since the ccache
directory is not set to a cached directory on taskcluster, meaning
the build always starts with an empty cache. If anything, this currently
makes the build slower.

Eventually, those builds should be able to use sccache, once the
necessary setup moves out of mozconfig.cache.
2018-01-13 06:33:12 +09:00
Ted Mielczarek a5a4f95a23 bug 1401647 - Fix spidermonkey mozjs / rust-bindings builds. r=nalexander
The spidermonkey mozjs and rust-bindings builds run sed on
$topsrcdir/.cargo/config.in to generate the cargo config they use, but
they previously only replaced the @top_srcdir@ substitution. This patch
makes them replace any other substitutions with an empty value to add
a bit of future-proofing.

MozReview-Commit-ID: 1DzP9vXxHMD
2018-01-03 14:51:52 -05:00
Mike Hommey 00b3e77d36 Bug 1426785 - Allow more mach artifact toolchain calls to not use a tooltool manifest. r=gps
We're about to remove some tooltool manifests, so we need those calls to
work properly when TOOLTOOL_MANIFEST is not set.
2017-12-22 07:48:14 +09:00
Coroiu Cristina 9de0b75e34 Backed out 5 changesets (bug 1426785) for failing repackage the nightly build on Linux a=backout.
Backed out changeset 08b5850633de (bug 1426785)
Backed out changeset 61453b6473f1 (bug 1426785)
Backed out changeset 851ce8944b41 (bug 1426785)
Backed out changeset 386cd0532519 (bug 1426785)
Backed out changeset 2a52bf9e0898 (bug 1426785)
2017-12-24 14:03:02 +02:00
Mike Hommey f39bf3620f Bug 1426785 - Allow more mach artifact toolchain calls to not use a tooltool manifest. r=gps
We're about to remove some tooltool manifests, so we need those calls to
work properly when TOOLTOOL_MANIFEST is not set.
2017-12-22 07:48:14 +09:00
Mike Hommey 605a9b0d19 Bug 1426553 - Autoconf-related changes to spidermonkey jobs. r=nalexander
On Debian, the autoconf binary is autoconf2.13 while it is autoconf-2.13
on Centos.

In make-source-package.sh, we need to run autoconf to generate the
old-configure to include in the package, so try both.

In hazard-analysis.sh, we actually don't need autoconf itself, so just
copy configure.in to configure.
2017-12-21 09:41:19 +09:00
Tom Prince 5195cc9c9f Bug 1426209: Allow passing `--extra-config-path in L10N tasks; r=jlund
MozReview-Commit-ID: FCG2K9L5Z3T
2017-11-27 13:47:29 -07:00
Steve Fink b60c760d87 Bug 1351559 - Make fuzzing builds match firefox more closely, r=jonco 2017-12-15 10:13:12 -08:00
Ted Mielczarek 6c1483c3e5 bug 1424323 - remove MOZ_AUTOMATION_UPLOAD_SYMBOLS from in-tree mozconfigs. r=rillian
With all of our builds in Taskcluster now, we should never be uploading
symbols from build tasks. Unfortunately Windows builds were still doing so.
This patch removes MOZ_AUTOMATION_UPLOAD_SYMBOLS from all the in-tree
mozconfigs and a few other places so that it should always default off
(per moz-automation.mk). The rest of the uploadsymbols bits will be
removed once Thunderbird fixes their automation.

This patch was mostly autogenerated by running:
rg --files-with-matches UPLOAD_SYMBOLS browser/config/mozconfigs/ mobile/android/config/mozconfigs/ | xargs sed -ri '/.*UPLOAD_SYMBOLS.*/d'
sed -ri '/.*UPLOAD_SYMBOLS.*/d' build/unix/mozconfig.linux build/mozconfig.win-common build/macosx/local-mozconfig.common build/mozconfig.automation

Then mobile/android/config/mozconfigs/common and
taskcluster/scripts/builder/build-linux.sh were hand-edited.

MozReview-Commit-ID: Cy8kSEodSg4
2017-12-08 13:50:17 -05:00
Tom Prince eafb7155f7 Bug 1415618: Add support to taskcluster to specifying extra paths to mozharness. r=jlund
MozReview-Commit-ID: 7CGQgSUUg0n
2017-11-14 15:16:22 -07:00
Brindusan Cristian 4158f898c2 Backed out 4 changesets (bug 1415618) for build bustage failures. r=backout on a CLOSED TREE
Backed out changeset 71510fd07ef5 (bug 1415618)
Backed out changeset 780f67a36d6d (bug 1415618)
Backed out changeset 5ecdc55db739 (bug 1415618)
Backed out changeset be3173822987 (bug 1415618)
2017-11-16 05:53:38 +02:00
Tom Prince bf6758b371 Bug 1415618: Add support to taskcluster to specifying extra paths to mozharness. r=jlund
MozReview-Commit-ID: 7CGQgSUUg0n
2017-11-14 15:16:22 -07:00
Nick Alexander cf714d7886 Bug 1414678 - Pass through MOZ_SCM_LEVEL, so that secret fetching works. r=Callek
MozReview-Commit-ID: IqtMzMsjxOZ
2017-11-06 11:32:40 -08:00
Gregory Szorc a4920f8490 Bug 1413687 - Move hazard build scripts out of mozharness; r=sfink
These scripts are included by hazard-analysis.sh. That's their only
reference in repo.

We could probably inline these scripts. But let's start by moving them
out of mozharness since no active mozharness based task is using them.

MozReview-Commit-ID: 13oen42Txmh
2017-11-06 11:02:24 -08:00
David Major 4aadb0301e Bug 1408789 - Switch Windows builders to VS2017 15.4.1 with SDK 10.0.16299.0. r=gps 2017-10-27 11:15:58 -04:00
David Major 2c86a9ff2a Bug 1409044 - Pass the tooltool authentication file in Spidermonkey builds. r=Callek 2017-10-16 11:43:34 -04:00
Nick Alexander 6f7d566a28 Bug 1405413 - Migrate Gradle dependency fetching to toolchain dependencies. r=dustin
MozReview-Commit-ID: 6OOD4mhICG1
2017-10-13 12:59:04 -07:00
Sebastian Hengst 76caff3b45 merge mozilla-central to autoland. r=merge a=merge 2017-10-14 00:02:17 +02:00
Steve Fink 6acf92722e Bug 1339989 - Create a sixgill compilation toolchain job, r=glandium 2017-10-09 17:49:29 -07:00