Commit Graph

433 Commits

Author SHA1 Message Date
Simon Sapin
0540fe3688 Bug 1565193 - Require Rust 1.36 r=glandium
MozReview-Commit-ID: GjcKBjZvTPr

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

--HG--
extra : moz-landing-system : lando
2019-07-19 04:50:22 +00:00
Agi Sferro
d0cb127dad Bug 1515248 - Upgrade to Android-Gradle plugin 3.2.1 and build-tools 28.0.3. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D15159

--HG--
extra : moz-landing-system : lando
2019-07-20 17:27:53 +00:00
Chris Manchester
c418bfd3d5 Bug 1566219 - Provide dist-toolchains for use with sccache in bootstrap on macOS. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38151

--HG--
extra : moz-landing-system : lando
2019-07-16 18:50:59 +00:00
Andrew Halberstadt
3486ba642c Bug 1563797 - Use 'backports.shutil_which' instead of 'which' across the tree r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D37097

--HG--
extra : moz-landing-system : lando
2019-07-11 14:03:39 +00:00
Mike Hommey
18f786a985 Bug 1528314 - Remove --with-java-bin-path mozconfig entry from bootstrap suggestions. r=nalexander
Configure should just be able to find the right one. If it doesn't, that
should be fixed in configure rather than with suggestions in bootstrap.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 23:25:03 +00:00
Andreea Pavel
c92947ecc6 Backed out 5 changesets (bug 1528314, bug 1560044) for build bustages on a CLOSED TREE
Backed out changeset 4a544cd4b035 (bug 1528314)
Backed out changeset 91919cdf9159 (bug 1528314)
Backed out changeset 1271940e91e8 (bug 1560044)
Backed out changeset a5bbaa8c1001 (bug 1560044)
Backed out changeset 7ae0d606f1c6 (bug 1560044)
2019-07-03 02:20:15 +03:00
Mike Hommey
0c7ee5ce30 Bug 1528314 - Remove --with-java-bin-path mozconfig entry from bootstrap suggestions. r=nalexander
Configure should just be able to find the right one. If it doesn't, that
should be fixed in configure rather than with suggestions in bootstrap.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 17:25:38 +00:00
Mike Hommey
8ad5ae09a7 Bug 1561494 - Remove gconf from bootstrap. r=froydnj
Gconf support was removed in bug 1433685.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 12:54:30 +00:00
Nick Alexander
871427c9e4 Bug 1555255 - Don't require a network connection to produce Javadoc. r=geckoview-reviewers,agi
See https://stackoverflow.com/a/24026735.

Adding the `docs` package requirement is not ideal, but it's not worth
the effort to install it only in automation (or in the relevant task),
and it's not *that* large: 1.0G on my macOS installation.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 19:58:26 +00:00
Mike Hommey
2bd4c4799f Bug 1560826 - Make bootstrap upgrade mercurial when it is older than 4.8. r=nalexander
4.3.3 is the strict minimum required for v-c-t's config wizard, but it
is preferable people use more modern versions. We could go with 5.0, but
it feels like people still using 4.8 and 4.9 don't really need to be
bugged to update to a more recent version, they are kind of modern
enough. OTOH MozillaBuild comes with 4.5.x, and this will force an
upgrade for those.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:50:17 +00:00
Mike Hommey
c836cba1d4 Bug 1560826 - Only install mercurial versions that have wheels. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D35755

--HG--
extra : moz-landing-system : lando
2019-06-25 16:50:50 +00:00
Mike Hommey
9101a37a23 Bug 1560826 - Backout changeset c9732a51552b (bug 1364511). r=nalexander
This makes the bootstrap behavior wrt. Mercurial consistent on all
platforms, making Windows bootstrap only upgrade Mercurial if the
version is older than MODERN_MERCURIAL_VERSION.

As a side effect, this avoids upgrading to version 5.0.1, which doesn't
come with wheels at the moment.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:49:30 +00:00
Chris Manchester
c74a1fa131 Bug 1558996 - Require rust 1.35 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D34794

--HG--
extra : moz-landing-system : lando
2019-06-13 06:02:05 +00:00
Mike Hommey
ff4ab7e28f Bug 1557855 - Use a sensible default for --with-android-ndk. r=nalexander
Use the same logic as for --with-android-sdk to use the NDK downloaded
by mach bootstrap by default.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 22:23:37 +00:00
Mike Hommey
0cccf3e16e Bug 1472091 - Bootstrap clang from automation on Mac. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D34077

--HG--
extra : moz-landing-system : lando
2019-06-07 00:46:15 +00:00
Mike Hommey
ff640b266d Bug 1557213 - Remove CC/CXX from suggested mozconfig for Android builds. r=nalexander
After bug 1519954, the build system will pick the compiler in
~/.mozbuild on its own, so there's no need to suggest people to manually
put that in their mozconfig.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 00:40:53 +00:00
Jeremy Lempereur
1bcbdc4284 Bug 1556257 - Add Funtoo support to mach bootstrap. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D33425

--HG--
extra : moz-landing-system : lando
2019-06-03 01:15:09 +00:00
Chris Manchester
216f707c10 Bug 1555397 - Download sccache on macOS as a part of bootstrap. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33105

--HG--
extra : moz-landing-system : lando
2019-05-29 23:55:37 +00:00
Ian Neal
3783a4e40b Bug 1548584 - Bootstrap.py fails on CentOS due to GNOME Software Development not existing - Fix for CentOS 7 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D30828

--HG--
extra : moz-landing-system : lando
2019-05-14 10:51:44 +00:00
Chris Manchester
aeec5fec87 Bug 1552336 - Download the currently available toolchain build of sccache during |./mach bootstrap|. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D31544

--HG--
extra : moz-landing-system : lando
2019-05-16 23:26:57 +00:00
Mike Hommey
e958e4adc0 Bug 1536543 - Require rust 1.34. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D25896

--HG--
extra : moz-landing-system : lando
2019-04-30 22:16:11 +00:00
Panagiotis Astithas
e3ca5b5b40 Bug 1545161 - Switch bootstrap for android to AdoptOpenJDK8. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D29286

--HG--
extra : moz-landing-system : lando
2019-04-29 23:58:13 +00:00
Kris Maglione
b795c79039 Bug 1545583: Remove unnecessary packages from ArchLinux bootstrap script. r=nalexander
This patch removes the packages which are obviously unnecessary, either
because they're entirely unused (e.g., imake), or because they're built
in-tree (e.g., nss, icu, hunspell) by default.

xorg-server-xvfb is arguably also not necessary, but is probably useful enough
to keep. Some of the others I'm unsure about, so I've left as well.

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

--HG--
extra : rebase_source : 948a9056091f3004da02fe110de3930ee454f1ac
extra : histedit_source : 44320ee6197a2ca5702021fe21663ad2bc9f15f7%2Ce09f30ffc4d432587fef610d6d219b4151a010f5
2019-04-22 13:32:52 -07:00
Rob Wu
d3467efbf0 Bug 1544981 - Stop tapping caskroom/versions in bootstrap for macOS r=nalexander
`caskroom/versions` was replaced with `homebrew/cask-versions` in 2018.
Tap `caskroom/versions` instead of the old one.

If you have two taps, remove the old one using:

    brew untap caskroom/versions

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

--HG--
extra : moz-landing-system : lando
2019-04-18 18:39:31 +00:00
Bobby Holley
2dbf847c0f Bug 1542376 - Avoid exception during Android bootstrap. r=glandium
Mozboot uses Python 2.7.3, along with the |unicode_literals| directive,
which makes string literals unicode by default. However, the
LooseVersion implementation that ships with Python throws an exception
when comparing against bare unicode strings, because it only checks for
StringType, not UnicodeType [1].

[1] https://github.com/enthought/Python-2.7.3/blob/master/Lib/distutils/version.py#L292

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

--HG--
extra : moz-landing-system : lando
2019-04-05 22:07:30 +00:00
Emilio Cobos Álvarez
36759e604c Bug 1540540 - Do not unconditionally re-extract stuff from mach bootstrap. r=glandium
Keep a checksum to avoid re-extracting artifacts over and over.

In the future we can also check the checksum to avoid downloading the artifact
altogether, maybe.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 07:08:12 +00:00
Mike Hommey
e2161f8220 Bug 1540788 - Make mach bootstrap choose arm target depending on the rust version. r=nalexander
Bootstrap is happy with rust version 1.32, but that version of rust
doesn't support the thumbv7neon target that we're trying to install
since bug 1539005. So install the armv7 target when rust is version
1.32.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 02:36:20 +00:00
Gurzau Raul
3de8bacb50 Backed out changeset e9bbe52bbd8d (bug 1540788) for breaking bootstrap. a=backout 2019-04-03 05:31:38 +03:00
Mike Hommey
a4d168a04f Bug 1540788 - Make mach bootstrap choose arm target depending on the rust version. r=nalexander
Bootstrap is happy with rust version 1.32, but that version of rust
doesn't support the thumbv7neon target that we're trying to install
since bug 1539005. So install the armv7 target when rust is version
1.32.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 03:31:26 +00:00
Glenn Watson
c68614df0d Bug 1377304 - "bootstrap.py" Does Not Support "KDE Neon" r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D25187

--HG--
extra : moz-landing-system : lando
2019-03-28 21:29:51 +00:00
Mike Hommey
13064496dc Bug 1539005 - Make mach bootstrap install the thumbv7neon-linux-androideabi target. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24825

--HG--
extra : moz-landing-system : lando
2019-03-26 00:19:20 +00:00
Tooru Fujisawa
e5be10e2bf Bug 1535243 - Provide reference for mercurial bundle when hg pull fails in bootstrap. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D23458

--HG--
extra : moz-landing-system : lando
2019-03-19 08:02:07 +00:00
Tooru Fujisawa
7cd514e655 Bug 1530544 - Use consistent question style for prompt inside bootstrap and mercurial-setup. r=glandium
Changed the following:
  - Use (Yn) instead of [Y/n] to align with mercurial-setup that is using
    mercurial's ui class
  - Use (Yn) prompt instead of int prompt where the options are Yes/No
  - Remove empty lines around options to align with the first question
    about Firefox {Desktop,Mobile} {,non-}Artifact
  - Move the question `Would you like to enable build system telemetry?`
    to the last line
  - Use `Your choice:` propmt for int prompt to align with the first question

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

--HG--
extra : moz-landing-system : lando
2019-03-19 08:02:05 +00:00
Tooru Fujisawa
96a6c6f371 Bug 1535242 - Provide better message when choosing a directory to clone. r=glandium
- Do not use `ERROR` when user enters possibly parent-directory when
   choosing the directory to clone mozilla-unified
 - Show the path of pre-existing mozilla-unified path on error

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

--HG--
extra : moz-landing-system : lando
2019-03-15 08:50:28 +00:00
Thomas Daede
b63aba5124 Bug 1521186 - Download nasm toolchain on Windows and Linux. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D22798

--HG--
extra : moz-landing-system : lando
2019-03-11 18:00:13 +00:00
Makoto Kato
503bff14c9 Bug 1529431 - Remove --with-android-sdk from mozconfig example by ./mach bootstrap. r=nalexander
After landing bug 1515004, it is unnecessary to use `--with-android-sdk` when
developer uses default path of Android SDK by `./mach bootstrap`.

So let's remove `--with-android-sdk` from mozconfig example using
`./mach bootstrap`.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 17:41:38 +00:00
Panos Astithas
ef97797c28 Bug 1485117 - Make standalone bootstrap work without a git checkout. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20426

--HG--
extra : moz-landing-system : lando
2019-02-26 06:39:55 +00:00
Kai Engert
e4e3b2d287 Bug 1527016, Don't install nasm on Linux if it is already installed locally, r=ted 2019-02-20 11:48:54 +01:00
Andi-Bogdan Postelnicu
1a6a9cbcf1 Bug 1520920 - do not 'mach configure' when downloading clang-tidy artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16969

--HG--
extra : moz-landing-system : lando
2019-02-12 10:44:17 +00:00
Dorel Luca
7d3d8441a9 Backed out changeset d6bda0108d61 (bug 1520920) as requested by the dev 2019-02-12 12:38:48 +02:00
Andi-Bogdan Postelnicu
72161a32a3 Bug 1520920 - do not 'mach configure' when downloading clang-tidy artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16969

--HG--
extra : moz-landing-system : lando
2019-02-12 10:27:19 +00:00
Jeff Gilbert
721d8c2e22 Bug 1526509 - Remove lib32-libstdc++5 requirement from mozboot/archlinux.py. r=glandium
lib32-libstdc++5 moved from multilib to AUR, but it seems like we don't
need this anymore anyway.

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

--HG--
extra : moz-landing-system : lando
2019-02-12 02:49:16 +00:00
Chris Manchester
7b468805c5 Bug 1525733 - Require rust 1.32 to build. r=firefox-build-system-reviewers,ted
Differential Revision: https://phabricator.services.mozilla.com/D19244

--HG--
extra : moz-landing-system : lando
2019-02-11 19:43:18 +00:00
Tooru Fujisawa
b4ec772dc0 Bug 1525688 - Lazily import mozbuild.base in mozboot/util.py. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D18986

--HG--
extra : moz-landing-system : lando
2019-02-07 16:10:12 +00:00
Nabil Lamrabet
68cbcb9990 Bug 1518175 - Update bootstrap.py for ElementaryOS. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D18701

--HG--
extra : moz-landing-system : lando
2019-02-06 17:18:04 +00:00
Cosmin Sabou
67cc836522 Merge mozilla-central to mozilla-inbound. a=merge 2019-02-06 01:11:33 +02:00
Nathan Froyd
15a7366ffd Bug 1525069 - part 3 - install 32-bit node on aarch64 devices; r=nalexander
One less paper cut for frontend developers.
2019-02-05 16:15:58 -05:00
Nathan Froyd
99be54de09 Bug 1525069 - part 2 - add a 32-bit node variable for bootstrapping; r=nalexander
We don't use this yet, but it's easy enough to get out of the way.
2019-02-05 16:15:58 -05:00
Nathan Froyd
3362171b4b Bug 1486994 - avoid automatic installs of taskcluster packages on non-x86-64 machines; r=lth
Presumably, if somebody is working on a non-x86-64 Linux box, they know
enough to install all of these packages manually.
2019-02-05 16:15:58 -05:00
Coroiu Cristina
667401357b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-02-04 23:47:17 +02:00