Commit Graph
476 Commits
Author SHA1 Message Date
Chris Manchester 78a2e38c55 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900
2019-12-05 04:53:09 +00:00
Razvan Maries bc3a8a17bf Backed out 3 changesets (bug 1595218) for build bustages. CLOSED TREE
Backed out changeset 499b0c27da4f (bug 1595218)
Backed out changeset f2f230a3028d (bug 1595218)
Backed out changeset 93ec75efbf41 (bug 1595218)
2019-12-05 02:53:04 +02:00
Chris Manchester 8d403f2786 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900
2019-12-04 23:37:14 +00:00
Gurzau Raul 9775618d98 Backed out 3 changesets (bug 1595218) for Windows wrench failures.
Backed out changeset 9fdeeb697611 (bug 1595218)
Backed out changeset d7f9a4045360 (bug 1595218)
Backed out changeset 30bb03117312 (bug 1595218)
2019-12-04 05:49:06 +02:00
Chris Manchester 06636052f9 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900
2019-12-03 21:51:40 +00:00
Ricky Stewart 2bf5279b18 Bug 1600664 - Download the wasi sysroot during bootstrap for Linux r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55481
2019-12-03 20:38:35 +00:00
Alexander Kuleshov 2353f8b443 Bug 1513775: fix mach bootstrap on Fedora when mercurial is not installed r=froydnj
If Mercurial (hg) is not installed on a Centos/Fedora system, execution
of:

  $ ./mach bootstrap

will be failed as the bootstrap script tries to execute:

  # dnf update mercurial

This commit adds 'dnf install' command if the mercurial wasn't
installed on the system. This command will try to execute installation
of mercurial.

In other case there will be a try to upgrade to the latest possibly version
of mercurial.

Differential Revision: https://phabricator.services.mozilla.com/D55639
2019-12-03 16:43:10 +00:00
shindli 8df00ca071 Backed out 3 changesets (bug 1595218) for causing wrench bustages on central CLOSED TREE a=backout
Backed out changeset 1808b1722f64 (bug 1595218)
Backed out changeset 46fe2af291cf (bug 1595218)
Backed out changeset 11c0576cf3d5 (bug 1595218)
2019-12-03 13:17:59 +02:00
Chris Manchester fb4488c07b Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900
2019-11-26 13:30:58 +00:00
Chris Manchester 8c05a8210f Bug 1594903 - Remove reference to gecko-dev in bootstrap instructions. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D52770
2019-11-13 14:31:28 +00:00
Ricky Stewart d527c8606c Bug 1599235 - Download lucetc during bootstrap for Linux r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54835
2019-11-28 12:27:22 +00:00
Makoto Kato 81ec7cd851 Bug 1596645 - Support ./mach bootstrap for non-atrifact build of GeckoView on mozilla-build. r=froydnj
Now since we use unicode_literals by bug 1210157, mercurial version check will be error due to `TypeError: environment can only contain strings`.
So we don't use unicode for os.environment['PATH'] when appending Java path.

Differential Revision: https://phabricator.services.mozilla.com/D53139
2019-11-18 19:30:14 +00:00
Bryce Seager van Dyk beb754e3fe Bug 1588947 - Refer to mozilla-unified rather than mozilla-central in bootstrap.py. r=firefox-build-system-reviewers,chmanchester
Since bootstrap now pulls mozilla-unified it makes sense to reference the
unified repo as well as central.

Differential Revision: https://phabricator.services.mozilla.com/D49478
2019-10-24 18:52:42 +00:00
Kenny Levinsen 11890702b9 Bug 1583582 - Mach should not depend on fields in /etc/os-release. r=kvark
Some fields of /etc/os-release are optional, so do not throw KeyError's when they're missing.

Differential Revision: https://phabricator.services.mozilla.com/D48984
2019-10-11 19:27:14 +00:00
Nathan Froyd 4892b1dbbb Bug 1577220 - update to the r20 Android NDK; r=snorp,nalexander
This version has a newer libc++, brings along some linker fixes, etc.

Differential Revision: https://phabricator.services.mozilla.com/D45574
2019-09-27 13:50:43 +00:00
Rob Wu 5989e89b0f Bug 1556413 - Automatically untap caskroom/versions in bootstrap r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D44639
2019-09-23 17:04:00 +00:00
Andrew Halberstadt 845f9040e8 Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45417
2019-09-24 14:44:01 +00:00
Gabriele Svelto 344e97862d Bug 1582078 - Fix the .mozbuild creation prompt r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D46267
2019-09-24 00:54:23 +00:00
Dzmitry Malyshau 22ebbfcae3 Bug 1581921 - Support Solus Linux by mach bootstrap r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46190
2019-09-18 15:12:37 +00:00
Ciure Andrei a1bff672a2 Backed out changeset 7cf84cb03658 (bug 1581921) for causing a lint issue in bootstrap.py CLOSED TREE 2019-09-18 16:55:49 +03:00
Dzmitry Malyshau 833190d500 Bug 1581921 - Support Solus Linux by mach bootstrap r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46190
2019-09-18 13:38:30 +00:00
Chris Manchester 92aebec8bb Bug 1578596 - Require rustc 1.37. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D44699
2019-09-04 19:08:28 +00:00
Chris Manchester c3077ea1ee Bug 1577049 - Provide sccache and dist-toolchains during bootstrap on Windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D43700
2019-08-28 18:31:23 +00:00
Māris Fogels e55f40f440 Bug 1210157 - Fix Python 3 issues in mozboot.gentoo and mozboot.archlinux r=firefox-build-system-reviewers,mshal
Fix some library calls and syntax that are required to support Python 3.

Depends on D39364

Differential Revision: https://phabricator.services.mozilla.com/D39365
2019-08-20 21:19:18 +00:00
Māris Fogels 28df0c31ea Bug 1210157 - Make bootstrap.py work with Python 3.5+ and Python 2.7 r=firefox-build-system-reviewers,mshal
Make bootstrap.py compatible with both Python 3.5+ and Python 2.7. Remove
Python 2.6 support as Python 2.6 is no longer supported in the Firefox source
tree.

Differential Revision: https://phabricator.services.mozilla.com/D39364
2019-08-20 21:19:18 +00:00
Māris Fogels 50b51bee5f Bug 1210157 - Add a --debug option to bootstrap.py r=nalexander
Add an option to run bootstrap.py with '--debug'. This will print full
tracebacks if the bootstrap process encounters an uncaught exception. It should
be useful for developers who are working on the bootstrap code as well as users
when writing bug reports.

Depends on D39362

Differential Revision: https://phabricator.services.mozilla.com/D39363
2019-08-20 21:19:17 +00:00
Māris Fogels 8747809390 Bug 1569046 - Add Python 3 support to mozboot.osx r=firefox-build-system-reviewers,mshal
Make the mozboot.osx module work with Python 3 in addition to
Python 2.7.

Differential Revision: https://phabricator.services.mozilla.com/D39560
2019-08-20 21:19:48 +00:00
Māris Fogels 04973bab23 Bug 1210157 - Add Python 3 support to mozboot Android toolchain bootstrap r=nalexander
Support installing the android development toolchain with Python 3 as well as
Python 2.7.

Depends on D39361

Differential Revision: https://phabricator.services.mozilla.com/D39362
2019-08-20 21:19:17 +00:00
Māris Fogels b44d81b81a Bug 1210157 - Add Python 3 support to the mozboot Debian bootstrapper r=firefox-build-system-reviewers,mshal
Add support for Python 3 and Python 2.7 to the Debian-based linux distro
bootstrap routines.

Differential Revision: https://phabricator.services.mozilla.com/D39361
2019-08-20 21:19:17 +00:00
Māris Fogels c7de60ad46 Bug 1210157 - Add Python 3 support to mozboot.base and mozboot.bootstrap r=firefox-build-system-reviewers,mshal
Add support for both Python 3 and Python 2.7 to the mozboot.base and
mozboot.bootstrap modules.  Remove legacy Python 2.6 code or mark it for later
removal.

Depends on D39359

Differential Revision: https://phabricator.services.mozilla.com/D39360
2019-08-22 22:42:50 +00:00
Māris Fogels 8b4dd31125 Bug 1210157 - Use unicode_literals in all mozboot modules r=firefox-build-system-reviewers,mshal
Add unicode_literals to all mozboot module __future__ statements to support
running the modules under Python 3.  Remove comments about unicode_literals and
Python 2.6 support as Python 2.6 is no longer supported in tree.

Differential Revision: https://phabricator.services.mozilla.com/D39359
2019-08-20 21:19:16 +00:00
Sylvestre Ledru 8cad86666c Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

Differential Revision: https://phabricator.services.mozilla.com/D42673
2019-08-21 09:57:03 +00:00
Bogdan Tara 4f137970b4 Backed out 8 changesets (bug 1569046, bug 1210157) for flake8 failure on base.py CLOSED TREE
Backed out changeset eec9458e553d (bug 1210157)
Backed out changeset 06d452ac1d16 (bug 1210157)
Backed out changeset 0f5311bbd75b (bug 1210157)
Backed out changeset 975727f55b82 (bug 1569046)
Backed out changeset a65032b442bc (bug 1210157)
Backed out changeset 25aef37f3556 (bug 1210157)
Backed out changeset 5d26b3d7d4a0 (bug 1210157)
Backed out changeset f044d6116869 (bug 1210157)
2019-08-21 00:14:49 +03:00
Māris Fogels 2062c1991b Bug 1210157 - Fix Python 3 issues in mozboot.gentoo and mozboot.archlinux r=firefox-build-system-reviewers,mshal
Fix some library calls and syntax that are required to support Python 3.

Depends on D39364

Differential Revision: https://phabricator.services.mozilla.com/D39365
2019-07-30 20:14:18 +00:00
Māris Fogels 8628e58b36 Bug 1210157 - Make bootstrap.py work with Python 3.5+ and Python 2.7 r=firefox-build-system-reviewers,mshal
Make bootstrap.py compatible with both Python 3.5+ and Python 2.7. Remove
Python 2.6 support as Python 2.6 is no longer supported in the Firefox source
tree.

Differential Revision: https://phabricator.services.mozilla.com/D39364
2019-08-12 17:08:14 +00:00
Māris Fogels 8bd372ffae Bug 1210157 - Add a --debug option to bootstrap.py r=nalexander
Add an option to run bootstrap.py with '--debug'. This will print full
tracebacks if the bootstrap process encounters an uncaught exception. It should
be useful for developers who are working on the bootstrap code as well as users
when writing bug reports.

Depends on D39362

Differential Revision: https://phabricator.services.mozilla.com/D39363
2019-08-13 20:41:30 +00:00
Māris Fogels 27a6a0e229 Bug 1569046 - Add Python 3 support to mozboot.osx r=firefox-build-system-reviewers,mshal
Make the mozboot.osx module work with Python 3 in addition to
Python 2.7.

Differential Revision: https://phabricator.services.mozilla.com/D39560
2019-08-13 20:41:30 +00:00
Māris Fogels 870d5602db Bug 1210157 - Add Python 3 support to mozboot Android toolchain bootstrap r=nalexander
Support installing the android development toolchain with Python 3 as well as
Python 2.7.

Depends on D39361

Differential Revision: https://phabricator.services.mozilla.com/D39362
2019-08-13 20:41:30 +00:00
Māris Fogels bd4a433feb Bug 1210157 - Add Python 3 support to the mozboot Debian bootstrapper r=firefox-build-system-reviewers,mshal
Add support for Python 3 and Python 2.7 to the Debian-based linux distro
bootstrap routines.

Differential Revision: https://phabricator.services.mozilla.com/D39361
2019-08-06 21:20:36 +00:00
Māris Fogels fc2aa82abb Bug 1210157 - Add Python 3 support to mozboot.base and mozboot.bootstrap r=firefox-build-system-reviewers,mshal
Add support for both Python 3 and Python 2.7 to the mozboot.base and
mozboot.bootstrap modules.  Remove legacy Python 2.6 code or mark it for later
removal.

Depends on D39359

Differential Revision: https://phabricator.services.mozilla.com/D39360
2019-07-30 21:07:50 +00:00
Māris Fogels 24726f5a03 Bug 1210157 - Use unicode_literals in all mozboot modules r=firefox-build-system-reviewers,mshal
Add unicode_literals to all mozboot module __future__ statements to support
running the modules under Python 3.  Remove comments about unicode_literals and
Python 2.6 support as Python 2.6 is no longer supported in tree.

Differential Revision: https://phabricator.services.mozilla.com/D39359
2019-08-13 20:16:31 +00:00
Bryce Seager van Dyk 4312411e94 Bug 1570352 - Make sure ensure_java correctly passes extra search dirs to which. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40065
2019-07-31 17:12:21 +00:00
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