Commit graph

45 commits

Author SHA1 Message Date
bors-servo
f1aa5d8dbd
Auto merge of #24857 - pshaughn:master, r=jdm
add llvm-dev to Debian requirements

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #24852 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's the build process itself, not servo code

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2019-11-25 13:09:42 -05:00
Alan Jeffrey
57af033a28 Require gstreamer 1.16 in mach 2019-11-25 10:12:05 -06:00
Patrick Shaughnessy
f1b34aa995 llvm-dev is required on Debian 2019-11-23 22:06:39 -05:00
Jan Andre Ikenmeyer
c241442aec
Fix Debian bootstrap 2019-11-10 19:57:39 +01:00
Gabe Martin
477cb8c181 fix: adding a check for Linux Mint with a space 2019-11-01 09:27:50 -04:00
David Wagner
9483442007 Update the maximum version of Ubuntu suppported to 19.10 2019-10-27 22:14:27 +00:00
marmeladema
c0a9d39525 Use input() from six instead of raw_input to be compatible with Python3 2019-10-22 10:16:00 +01:00
marmeladema
4d6f28df35 Use linux_distribution() from distro package instead of builtin platform module
platform.linux_distribution() is deprecated since Python 3.5 and
will be removed with Python 3.8.
2019-10-20 23:56:46 +01:00
marmeladema
f1d42fe787 Use urllib from six module in order to be compatible with Python3 2019-10-16 00:22:07 +01:00
Josh Matthews
5d5d028b50 Encode path name of MSVC URLs when downloading. 2019-07-23 09:50:31 -04:00
Martin Boros
900e951d53 fixed formatting in bootstrap file 2019-05-24 21:45:01 -04:00
Martin Boros
5d1e4b32fc adds libunwind-devel to fedora dnf dependencies for bootstrap and updates README file 2019-05-24 21:27:20 -04:00
Jan Andre Ikenmeyer
19a1a5f44d
Bootstrap: Use most recent version of OpenSSL 2019-05-15 09:27:14 +02:00
Marcin Wiącek
fcbba1df6d Improvement inside bootstrap.py after review 2019-05-06 20:21:12 +02:00
Marcin Wiącek
d077fb7244 Fix typo for last change in bootstrap.py 2019-05-05 21:16:32 +02:00
Marcin Wiącek
cc919b8039 Changes for Ubuntu 19.04 2019-05-05 20:46:50 +02:00
Alan Jeffrey
61f7f12f58 Updated bootstrap.py 2019-04-23 12:02:40 -05:00
bors-servo
41feb83c10
Auto merge of #22355 - gterzian:add_linux_sampler, r=asajeffrey,gterzian
Add linux sampler

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22203 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22355)
<!-- Reviewable:end -->
2019-03-29 23:12:40 -04:00
Gregory Terzian
7bc29205ef add linux sampler 2019-03-29 23:05:44 -04:00
Fernando Jiménez Moreno
10585be25c Update mach bootstrap-gstreamer to use the latest binaries 2019-03-27 11:17:18 +01:00
CYBAI
181efc0d9c Compare gstreamer version via pkg-config --modversion 2019-03-21 12:09:47 +09:00
bors-servo
c3608c0cb5
Auto merge of #22726 - learning:patch-elementary-os, r=jdm
Add support for elementary os

<!-- Please describe your changes on the following line: -->
Add support for elementary os

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #22626

<!-- Either: -->
- [X] These changes do not require tests because it's a patch to `mach`

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22726)
<!-- Reviewable:end -->
2019-01-21 17:07:30 -05:00
Learning
9c1683bcef Fix BadZipfile error while install msvc dependencies 2019-01-21 23:21:48 +08:00
Learning
4302fa28d3 Add support for elementary os 2019-01-18 15:05:26 +08:00
cdeler
8e1ef08127 Fixup the issue related with an incorrect distro version string handling 2018-12-08 21:26:15 +03:00
cdeler
7ceabcee0c Use the base Ubuntu distro instead of LinuxMint in './mach bootstrap' 2018-12-08 15:19:56 +03:00
Jan Andre Ikenmeyer
f5ab95786f
Update MPL license to https (part 1) 2018-11-19 14:46:43 +01:00
Manish Goregaokar
df5c31bada Return appropriate code from bootstrap_gstreamer 2018-09-18 18:14:37 +05:30
Manish Goregaokar
a380c5fd6e Don't try to load gstreamer on non-x86 2018-09-11 19:34:38 +05:30
Manish Goregaokar
d3ece2bc49 Review fixes 2018-09-11 19:34:38 +05:30
Manish Goregaokar
fc322182c4 Don't even try installing gstreamer on trusty 2018-09-11 19:34:38 +05:30
Manish Goregaokar
6de148a7e5 Have bootstrap script install trusty g++/clang deps 2018-09-11 19:34:38 +05:30
Manish Goregaokar
e72e08ea9c Allow bootstrap to be run before anything else is installed 2018-09-11 19:34:38 +05:30
Manish Goregaokar
6b75aa47cb Properly handle virtualenv 2018-09-11 19:34:38 +05:30
Manish Goregaokar
eba68a1a49 Add mach bootstrap-gstreamer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
1913ac706c Make ./mach bootstrap into a full-fledged linux dependency installer 2018-09-11 19:34:38 +05:30
UK992
a79dfd054f Bootstrap: Fix cmake version parsing 2017-05-09 22:38:12 +02:00
Aneesh Agrawal
022f0aa34a Remove more deprecated Windows GNU code/docs 2017-04-16 22:12:17 -04:00
Aneesh Agrawal
40c70bfb28 Allow bootstrapping on Debian 2017-04-12 15:36:06 -04:00
Aneesh Agrawal
0a9a43aa31 Add env var for local saltfs root during bootstrap 2017-04-12 02:00:14 -04:00
UK992
e3654e14c5 Update cmake to 3.7.2 2017-04-11 23:34:13 +02:00
ddh
e527c9a991 Update Hyper and OpenSSL 2017-03-31 16:32:21 +02:00
UK992
f21d448530 Mach bootstrap: Improve and support more platforms 2017-02-08 19:53:48 +01:00
Aneesh Agrawal
b4f5086305 Add a Salt bootstrapper
The Salt bootstrapper invokes Salt during `./mach bootstrap`
to install Servo's build dependencies.
It uses salt-call pinned to the same version of Salt as used in saltfs.

Currently, the implementation uses gitfs and reads directly from
the master branch of the saltfs repo;
in the future this should be changed when the relevant Salt states
are moved in-tree as part of Dockerization for TaskCluster.

We have not Salted our Windows machines, so the existing Windows
bootstrappers are retained. Currently this is only tested on
Ubuntu Trusty.

Salt uses various system python libraries,
including `python-apt` on Debian-based OSes to interact with apt.
`python-apt` does not seem to be installable via a requirements.txt
file, and the versions available on PyPI are far behind the versions
installed on actual Ubuntu machines.
Additionally, adding `python-apt` as an unconditional python dependency
would add bloat for users of other OSes, and lead to more churn
as additional OSes are supported.
However, as `python-apt` is already installed via apt on these machines,
we can allow Salt to instead use the module by using
`--system-site-packages` for the python virtualenv.
We also add the `-I` flag to `pip install` to ensure we have a local,
untouched copy of any other python packages used.
However, because this prints system-level Python packages in scope,
it slightly breaks isolation, so it is important to always pin
all dependencies in the requirements files.
2017-01-17 11:01:09 -05:00
Aneesh Agrawal
60a1503b29 Clean up and simplify existing mach bootstrap
- Default to interactive mode and remove the `--interactive` flag
- Use `--force` to skip interactivity
- Change MSVC dependency storage organization on disk: put each version
  into its own folder and directly refer to the versioned folders,
  providing immutability and making the installation list redundant
- Reuse `host_triple()` function to fix broken bootstrapper dispatching
- Simplify code:
  - Remove or inline many unused and redudant functions and variables
  - Prefer plain functions to classes
  - Consolidate into fewer files, remove unnecessary bootstrapper/ dir
- Improve Python style
- Sort dependency list
2017-01-15 15:41:37 -05:00