Граф коммитов

492 Коммитов

Автор SHA1 Сообщение Дата
Masatoshi Kimura 948598bdd4 Bug 1614146 - Stop using byte literals in _hg_cleanenv. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D62398

--HG--
extra : moz-landing-system : lando
2020-02-11 04:47:54 +00:00
Chris Manchester 8fc946b2f6 Bug 1613226 - Remove obsolete python@2 from homebrew installation on macOS. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D62286

--HG--
extra : moz-landing-system : lando
2020-02-10 16:30:52 +00:00
Jan Sonntag ea6b9ad701 Bug 1601684 - use distro package to provide platform information r=firefox-build-system-reviewers,mshal
This patch works around the removal of the platform.linux_distribution() function in Python 3.8 and later. It uses the in-tree third party distro package to provide linux distribution information to build system bootstrap.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 11:56:28 +00:00
Mike Hommey db1eb4c613 Bug 1610680 - Update rustup to 1.21.1. r=dmajor
1.9.0 is outdated, and the changes from bug 1609832 actually require 1.20.0.
1.21.1 is the latest current release.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 13:28:37 +00:00
Mike Hommey b0dcd87476 Bug 1610680 - Fix running mozboot.rust independently on Windows. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D60629

--HG--
extra : moz-landing-system : lando
2020-01-22 13:24:53 +00:00
Mike Hommey ac43fa53ab Bug 1610680 - Fix running mozboot.rust independently after bug 1210157. r=dmajor
Bug 1210157 added `unicode_literals` to the script but one use of
literals needed to stay a bytes string.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 13:24:41 +00:00
Mike Hommey 7bc320e0e3 Bug 1609832 - Install rustfmt when running mach bootstrap. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60213

--HG--
extra : moz-landing-system : lando
2020-01-17 14:45:12 +00:00
Mike Hommey b9802b7509 Bug 1588538 - Add missing file.
Differential Revision: https://phabricator.services.mozilla.com/D60196

--HG--
extra : moz-landing-system : lando
2020-01-17 00:23:11 +00:00
Gabriele Svelto 96a70684f4 Bug 1588538 - Use the new Windows dump_syms tool to dump symbols in local builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D57094

--HG--
extra : moz-landing-system : lando
2020-01-16 14:14:13 +00:00
Csoregi Natalia 57eb78c63c Backed out changeset 5d0b75e5f795 (bug 1588538) for DUMP_SYMS bustage. CLOSED TREE 2020-01-14 13:53:54 +02:00
Gabriele Svelto e62e144c3c Bug 1588538 - Use the new Windows dump_syms tool to dump symbols in local builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D57094

--HG--
extra : moz-landing-system : lando
2020-01-14 10:08:52 +00:00
Nathan Froyd f719f6af1e Bug 1608753 - download the correct lucet package in bootstrap; r=emilio
We renamed the toolchain task in bug 1608428 and we forgot to update
bootstrap along with the renaming.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 14:07:21 +00:00
Matt Singleton 112f0af384 Bug 1606955 - open hgrc in text mode for py 2 and 3 compatability. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D59268

--HG--
extra : moz-landing-system : lando
2020-01-09 16:29:42 +00:00
James Graham 570546a190 Bug 1608108 - Don't prompt for VCS when running bootstrap in an existing checkout, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59330

--HG--
extra : moz-landing-system : lando
2020-01-09 14:24:35 +00:00
James Graham a872a7415b Bug 1606825 - Prompt which VCS to use for gecko clone, r=firefox-build-system-reviewers,rstewart
Make the choice of VCS work via an interactive prompt rather than by
command line argument, just like we do for all other choices.

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

--HG--
extra : moz-landing-system : lando
2020-01-03 17:37:03 +00:00
Mike Shal 0e0d7f71a9 Bug 1602857 - Only install mercurial if required in OSX mach boostrap; r=firefox-build-system-reviewers,rstewart
If mercurial is already installed via pip (or possibly other means),
then mach bootstrap will fail. We should check if we already have a
sufficient mercurial before forcing it to be installed with
ports/homebrew.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:44:17 +00:00
Chris Manchester 7caa07b115 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:09 +00:00
Razvan Maries c9cf973dbf 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 adb6750333 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-04 23:37:14 +00:00
Gurzau Raul 87ac4a3719 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 3d90cadcda Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-03 21:51:40 +00:00
Ricky Stewart 64c581817a Bug 1600664 - Download the wasi sysroot during bootstrap for Linux r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55481

--HG--
extra : moz-landing-system : lando
2019-12-03 20:38:35 +00:00
Alexander Kuleshov e0ecbc0991 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

--HG--
extra : moz-landing-system : lando
2019-12-03 16:43:10 +00:00
shindli 4562fd4c3b 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 30f788ec38 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-11-26 13:30:58 +00:00
Chris Manchester f54bb90db2 Bug 1594903 - Remove reference to gecko-dev in bootstrap instructions. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D52770

--HG--
extra : moz-landing-system : lando
2019-11-13 14:31:28 +00:00
Ricky Stewart 149113d525 Bug 1599235 - Download lucetc during bootstrap for Linux r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54835

--HG--
extra : moz-landing-system : lando
2019-11-28 12:27:22 +00:00
Makoto Kato d1e9c700c9 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

--HG--
extra : moz-landing-system : lando
2019-11-18 19:30:14 +00:00
Bryce Seager van Dyk 767f95076e 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

--HG--
extra : moz-landing-system : lando
2019-10-24 18:52:42 +00:00
Kenny Levinsen 0c0d7c5752 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

--HG--
extra : moz-landing-system : lando
2019-10-11 19:27:14 +00:00
Nathan Froyd 56e10ca03e 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

--HG--
extra : moz-landing-system : lando
2019-09-27 13:50:43 +00:00
Rob Wu 7172b30de9 Bug 1556413 - Automatically untap caskroom/versions in bootstrap r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D44639

--HG--
extra : moz-landing-system : lando
2019-09-23 17:04:00 +00:00
Andrew Halberstadt 898dfb96b4 Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45417

--HG--
extra : moz-landing-system : lando
2019-09-24 14:44:01 +00:00
Gabriele Svelto 5be5470fba Bug 1582078 - Fix the .mozbuild creation prompt r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D46267

--HG--
extra : moz-landing-system : lando
2019-09-24 00:54:23 +00:00
Dzmitry Malyshau ee04e8a14a Bug 1581921 - Support Solus Linux by mach bootstrap r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46190

--HG--
extra : moz-landing-system : lando
2019-09-18 15:12:37 +00:00
Ciure Andrei f16f5c928d 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 e9b3f1eaec Bug 1581921 - Support Solus Linux by mach bootstrap r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46190

--HG--
extra : moz-landing-system : lando
2019-09-18 13:38:30 +00:00
Chris Manchester 0bb09fc35d Bug 1578596 - Require rustc 1.37. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D44699

--HG--
extra : moz-landing-system : lando
2019-09-04 19:08:28 +00:00
Chris Manchester 1dcf500d9c Bug 1577049 - Provide sccache and dist-toolchains during bootstrap on Windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D43700

--HG--
extra : moz-landing-system : lando
2019-08-28 18:31:23 +00:00
Māris Fogels a445a87248 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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:18 +00:00
Māris Fogels 9e273f1008 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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:18 +00:00
Māris Fogels 6aec656a0f 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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:17 +00:00
Māris Fogels bc36ca8edd 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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:48 +00:00
Māris Fogels 9399eb1a1a 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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:17 +00:00
Māris Fogels 6cc808b85a 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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:17 +00:00
Māris Fogels fef8423731 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

--HG--
extra : moz-landing-system : lando
2019-08-22 22:42:50 +00:00
Māris Fogels 15db7ec0c8 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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:16 +00:00
Sylvestre Ledru 7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Bogdan Tara 4ab1c12e2b 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 884b0c4743 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

--HG--
extra : moz-landing-system : lando
2019-07-30 20:14:18 +00:00