mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1684915: install Python development headers during bootstrap on Fedora/Debian flavors r=firefox-build-system-reviewers,mhentges
Since zstandard has native code that must be compiled, and that code uses Python headers, we should be installing those headers as part of bootstrap. Most users will have these packages on their machines through various other means (notably installing `pip`, ie `sudo apt install python3-pip`), but since it is possible to avoid a pip installation (for example by installing Mercurial through `yum` and then running bootstrap immediately after cloning) we should specify these packages as required by bootstrap. Differential Revision: https://phabricator.services.mozilla.com/D101479
This commit is contained in:
parent
ab256f15e4
commit
5f3ac9bc5b
@ -24,6 +24,7 @@ class CentOSFedoraBootstrapper(LinuxBootstrapper, BaseBootstrapper):
|
||||
# and include the npm package.
|
||||
self.packages = [
|
||||
"nodejs",
|
||||
"python-devel",
|
||||
"which",
|
||||
]
|
||||
|
||||
|
@ -32,6 +32,8 @@ class DebianBootstrapper(LinuxBootstrapper, BaseBootstrapper):
|
||||
# Ubuntu).
|
||||
COMMON_PACKAGES = [
|
||||
"build-essential",
|
||||
"libpython2-dev",
|
||||
"libpython3-dev",
|
||||
"nodejs",
|
||||
"unzip",
|
||||
"uuid",
|
||||
|
Loading…
Reference in New Issue
Block a user