Commit Graph
434 Commits
Author SHA1 Message Date
Makoto Kato f4886a1c9f Bug 774115 - Support mach bootstrap on Windows for Android. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33584
2019-07-25 09:29:10 +00:00
Simon Sapin bfd1c8e250 Bug 1565193 - Require Rust 1.36 r=glandium
MozReview-Commit-ID: GjcKBjZvTPr

Differential Revision: https://phabricator.services.mozilla.com/D37709
2019-07-19 04:50:22 +00:00
Agi Sferro f34c0312f6 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
2019-07-20 17:27:53 +00:00
Chris Manchester 4c0184c65f Bug 1566219 - Provide dist-toolchains for use with sccache in bootstrap on macOS. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38151
2019-07-16 18:50:59 +00:00
Andrew Halberstadt e16895aeb7 Bug 1563797 - Use 'backports.shutil_which' instead of 'which' across the tree r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D37097
2019-07-11 14:03:39 +00:00
Mike Hommey 059cd732f1 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
2019-07-02 23:25:03 +00:00
Andreea Pavel 9933c4cb38 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 39277831dc 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
2019-07-02 17:25:38 +00:00
Mike Hommey 9007ed2b8c Bug 1561494 - Remove gconf from bootstrap. r=froydnj
Gconf support was removed in bug 1433685.

Differential Revision: https://phabricator.services.mozilla.com/D35982
2019-06-26 12:54:30 +00:00
Nick Alexander ba036cb920 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
2019-06-25 19:58:26 +00:00
Mike Hommey e3e9ef3a5b 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
2019-06-25 16:50:17 +00:00
Mike Hommey aead2d8ccb Bug 1560826 - Only install mercurial versions that have wheels. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D35755
2019-06-25 16:50:50 +00:00
Mike Hommey df4ec51dd2 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
2019-06-25 16:49:30 +00:00
Chris Manchester a04275cf2a Bug 1558996 - Require rust 1.35 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D34794
2019-06-13 06:02:05 +00:00
Mike Hommey 9bda208298 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
2019-06-07 22:23:37 +00:00
Mike Hommey 2c9abe5773 Bug 1472091 - Bootstrap clang from automation on Mac. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D34077
2019-06-07 00:46:15 +00:00
Mike Hommey 330b01d4cf 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
2019-06-07 00:40:53 +00:00
Jeremy Lempereur 0dd7533e90 Bug 1556257 - Add Funtoo support to mach bootstrap. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D33425
2019-06-03 01:15:09 +00:00
Chris Manchester c0aaceaaed Bug 1555397 - Download sccache on macOS as a part of bootstrap. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33105
2019-05-29 23:55:37 +00:00
Ian Neal 35342a478d 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
2019-05-14 10:51:44 +00:00
Chris Manchester d77674a995 Bug 1552336 - Download the currently available toolchain build of sccache during |./mach bootstrap|. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D31544
2019-05-16 23:26:57 +00:00
Mike Hommey 123cfa371f Bug 1536543 - Require rust 1.34. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D25896
2019-04-30 22:16:11 +00:00
Panagiotis Astithas 41a0f48108 Bug 1545161 - Switch bootstrap for android to AdoptOpenJDK8. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D29286
2019-04-29 23:58:13 +00:00
Kris Maglione 16351b6676 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
2019-04-22 13:32:52 -07:00
Rob Wu 002bced727 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
2019-04-18 18:39:31 +00:00
Bobby Holley 0c3936d502 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
2019-04-05 22:07:30 +00:00
Emilio Cobos Álvarez 550bd1188e 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
2019-04-03 07:08:12 +00:00
Mike Hommey b737b9ed63 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
2019-04-03 02:36:20 +00:00
Gurzau Raul 44ee3e55dc Backed out changeset e9bbe52bbd8d (bug 1540788) for breaking bootstrap. a=backout 2019-04-03 05:31:38 +03:00
Mike Hommey f2cdfd162a 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
2019-04-02 03:31:26 +00:00
Glenn Watson 93f259205a Bug 1377304 - "bootstrap.py" Does Not Support "KDE Neon" r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D25187
2019-03-28 21:29:51 +00:00
Mike Hommey 76bfa46e9a Bug 1539005 - Make mach bootstrap install the thumbv7neon-linux-androideabi target. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24825
2019-03-26 00:19:20 +00:00
Tooru Fujisawa 73be9628d5 Bug 1535243 - Provide reference for mercurial bundle when hg pull fails in bootstrap. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D23458
2019-03-19 08:02:07 +00:00
Tooru Fujisawa 6a53b6c2d2 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
2019-03-19 08:02:05 +00:00
Tooru Fujisawa 23ac883915 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
2019-03-15 08:50:28 +00:00
Thomas Daede 5461d29613 Bug 1521186 - Download nasm toolchain on Windows and Linux. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D22798
2019-03-11 18:00:13 +00:00
Makoto Kato 0abaa92f41 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
2019-02-26 17:41:38 +00:00
Panos Astithas 840967fb4f Bug 1485117 - Make standalone bootstrap work without a git checkout. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20426
2019-02-26 06:39:55 +00:00
Kai Engert a939421f7c 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 9d12a11e7f Bug 1520920 - do not 'mach configure' when downloading clang-tidy artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16969
2019-02-12 10:44:17 +00:00
Dorel Luca cb3956ac4b Backed out changeset d6bda0108d61 (bug 1520920) as requested by the dev 2019-02-12 12:38:48 +02:00
Andi-Bogdan Postelnicu 509b12a476 Bug 1520920 - do not 'mach configure' when downloading clang-tidy artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16969
2019-02-12 10:27:19 +00:00
Jeff Gilbert d12a4ea2f0 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
2019-02-12 02:49:16 +00:00
Chris Manchester b7c5e6c2df Bug 1525733 - Require rust 1.32 to build. r=firefox-build-system-reviewers,ted
Differential Revision: https://phabricator.services.mozilla.com/D19244
2019-02-11 19:43:18 +00:00
Tooru Fujisawa 2fa7e2a37f Bug 1525688 - Lazily import mozbuild.base in mozboot/util.py. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D18986
2019-02-07 16:10:12 +00:00
Nabil Lamrabet e3b740d11b Bug 1518175 - Update bootstrap.py for ElementaryOS. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D18701
2019-02-06 17:18:04 +00:00
Cosmin Sabou 91f0d77a04 Merge mozilla-central to mozilla-inbound. a=merge 2019-02-06 01:11:33 +02:00
Nathan Froyd 593b1cfcd3 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 e0922f3a51 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 21893745c0 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