Commit Graph
157 Commits
Author SHA1 Message Date
Narcis Beleuzu 81c4d5b260 Backed out 9 changesets (bug 1597005) for SM bustages on autospider.py . CLOSED TREE
Backed out changeset eb0d6b29ae1d (bug 1597005)
Backed out changeset 48267c5a8d23 (bug 1597005)
Backed out changeset 159a37cef898 (bug 1597005)
Backed out changeset e050ede804bb (bug 1597005)
Backed out changeset 1e511ad72b2d (bug 1597005)
Backed out changeset 1cd0d40914b6 (bug 1597005)
Backed out changeset 89dd6ea71d80 (bug 1597005)
Backed out changeset 7dac8fdaeada (bug 1597005)
Backed out changeset 124766c078e2 (bug 1597005)
2019-12-16 22:14:31 +02:00
Steve Fink 1833bbdccd Bug 1597005 - Switch autospider.py to be run with python3. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54226
2019-11-22 21:51:59 +00:00
Steve Fink 22ef5f05f9 Bug 1603627 - Write out a minimal target.json file for spidermonkey shell builds. r=froydnj
The browser build generates this file during the packaging step, which does not exist for JS shell builds. I made a brief attempt to call informulate.py as it does, but that seemed to require some things that are not available during the shell build. So I went with the cheap and easy approach to provide just the fields :jkratzer uses.

Differential Revision: https://phabricator.services.mozilla.com/D57028
2019-12-13 22:42:18 +00:00
Emilio Cobos Álvarez eac9e99913 Bug 1602651 - Explicitly point to rustfmt during spidermonkey rust build. r=glandium
We build bindgen without the `which` feeature, which means it won't try to
look for `rustfmt` in $PATH. So point at it explicitly so that the bindings are
properly formatted.

We do the same for regular Gecko builds in `build/mozconfig.rust`.

Differential Revision: https://phabricator.services.mozilla.com/D56957
2019-12-13 07:34:35 +00:00
Tom Prince 6d1d6ca247 Bug 1595368: [firefox-ci] Use consitent logic to determine tooltool url; r=sfraser a=task-fix
Differential Revision: https://phabricator.services.mozilla.com/D52498

Depends on D52497
2019-11-11 05:50:11 +01:00
Steve Fink da17c825a3 Bug 1560667 - Switch hazard analysis over to gcc 8.3.0 r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46682
2019-10-02 03:19:06 +00:00
Steve Fink 5c0830f495 Bug 1531951 - [hazards] Comments and refactoring r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46543
2019-09-30 03:57:52 +00:00
Steve Fink 8cff07bcc8 Bug 1531951 - Clean up some test code warnings and switch to python3 for print(flush=True). r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46548
2019-09-30 03:57:06 +00:00
Mike Hommey 823ae6c716 Bug 1579471 - Remove the in-tree .cargo/config. r=mshal
It was added in bug 1575760 and turns out to be causing a lot more
problems than anticipated.

However, the previous status quo is also not ideal, so we do
auto-generate .cargo/config.in instead, with a little trick that allows
to just copy it to .cargo/config instead of how individual scripts would
previously manually preprocess it.

Differential Revision: https://phabricator.services.mozilla.com/D46138
2019-09-20 00:47:22 +00:00
Mike Shal 415bc91971 Bug 1580899 - Remove PGO settings from mozharness; r=firefox-build-system-reviewers,chmanchester
Mozharness no longer drives building with PGO; it is all handled in
Taskcluster and the build system.

Depends on D46070

Differential Revision: https://phabricator.services.mozilla.com/D46071
2019-09-18 03:10:47 +00:00
Mike Hommey 7ffe98da4b Bug 1575760 - Make mach vendor rust create a .cargo/config and check it in the tree. r=nalexander
Maybe back when .cargo/config.in was added, the directory indicated for
vendored crates needed to be absolute. That is at least not the case
with the current supported versions of rust.

The current setup has a few caveats:
- .cargo/config.in has shown to become stale (it currently contains
  multiple unused entries)
- non-gecko build tasks have to generate a .cargo/config on their own if
  they want to use vendored crates
- in turn, non-gecko build tasks that don't, may unknowingly get their
  dependencies from crates.io (see the recent attempt at moving
  geckodriver builds to a separate task).

By checking in a .cargo/config file, we can alleviate the last two, but
that comes at the price of `cargo update` not wanting to act when
.cargo/config exists, because of the source replacement configuration.

But rust vendor gently generates a suitable configuration on its own, so
we can use that to generate a .cargo/config automatically. Which
addresses the first caveat of the current setup. That leaves us with
`cargo update` not working out of the box, but that just requires people
running it to manually remove .cargo/config first. Which is arguably
what rust wants you to do in the first place. It's kind of incidental
that we started with a .cargo/config.in rather than .cargo/config.

Now, while a simple .cargo/config works, that's not enough for the case
where the objdir doesn't live inside the source directory. In that case
cargo looks for the configuration from the objdir, and fails to find it.
So we still need a .cargo/config.in, which we generate with a little
trick.

Differential Revision: https://phabricator.services.mozilla.com/D43012
2019-08-26 22:20:32 +00:00
Dustin J. Mitchell 9690b3efbd Bug 1562686 - use AWS_IAM_CREDENTIALS_URL for all S3 sccache invocations r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D41454
2019-08-23 12:39:25 +00:00
Razvan Maries 7d9714b299 Backed out 2 changesets (bug 1562686) as per glandium's request. CLOSED TREE
Backed out changeset 0ce37eda652a (bug 1562686)
Backed out changeset fe7b9445e1d3 (bug 1562686)
2019-08-22 02:43:16 +03:00
Dustin J. Mitchell eb0a58c20f Bug 1562686 - use AWS_IAM_CREDENTIALS_URL for all S3 sccache invocations r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D41454
2019-08-20 14:03:12 +00:00
Razvan Maries 4edc594425 Backed out changeset 91eca815c9fc (bug 1562686) for build bustages. CLOSED TREE 2019-08-16 22:38:19 +03:00
Dustin J. Mitchell c707ee6d53 Bug 1562686 - use AWS_IAM_CREDENTIALS_URL for all S3 sccache invocations r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D41454
2019-08-16 17:17:02 +00:00
Mike Hommey 710f232099 Bug 1573435 - Use toolchain fetches for spidermonkey builds. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D41739
2019-08-15 11:21:50 +09:00
Mike Hommey 479825749d Bug 1573435 - Use toolchain fetches for hazard builds. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D41738
2019-08-15 11:21:49 +09:00
Mike Hommey fbbf769817 Bug 1469697 - s/GECKO_DIR/GECKO_PATH/ for hazard build scripts. r=nalexander
Most other tasks use GECKO_PATH, as that's what run-task uses.

Differential Revision: https://phabricator.services.mozilla.com/D41725
2019-08-15 11:21:45 +09:00
Mike Hommey 853b0bfb15 Bug 1469697 - Use run-task transform for spidermonkey tasks. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D41724
2019-08-15 11:21:44 +09:00
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