aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
Commit message (Collapse)AuthorAgeFilesLines
* Add Windows support to the --nightly | -n flag.Jeremy Lempereur2018-03-111-9/+20
|
* Add a --nightly | -n flag to download and extract a specific nightly version ↵o0Ignition0o2018-03-061-0/+75
| | | | to run mach commands against. This currently only work on linux, but windows and mac os support will follow in subsequent PRs.
* remove bhtmlPaul Rouget2018-02-111-7/+0
|
* Drop CEF supportPaul Rouget2018-01-311-3/+0
|
* Remove work-around that is now unnecessarySimon Sapin2018-01-141-4/+0
| | | | We use rustup.rs, where each toolchain has its own Cargo version.
* Restore the ability to disable incremental compilationSimon Sapin2018-01-141-1/+3
| | | | It became the default in debug mode in the last Rust/Cargo update.
* We use Nigthly Cargo with Stable RustSimon Sapin2018-01-101-3/+2
| | | | | Nightly now has incremental compilation as a stable feature, but that’s not in the stable channel yet.
* rustup.rs: Use MSVC rather than GNU toolchains on WindowsSimon Sapin2018-01-101-1/+5
|
* Revert "Use rustup "proxies" instead of `rustup run`"Simon Sapin2018-01-101-12/+13
| | | | This reverts commit ad22368646290510149d33a0a41fc436ac4a0e96.
* Use rustup "proxies" instead of `rustup run`Simon Sapin2018-01-101-13/+12
| | | | | | To make sure we’re indeed running rustup’s proxy rather than some other `cargo` for example, run the `rustup` executable with a different `argv[0]`.
* Fix "rustup is not installed" messageSimon Sapin2018-01-101-9/+8
|
* Print a better error message when rustup is too oldSimon Sapin2018-01-101-0/+7
|
* Print a link to instructions if rustup is not found.Simon Sapin2018-01-101-1/+11
|
* Use rustup.rs instead of custom bootstrapSimon Sapin2018-01-101-91/+40
| | | | Fixes #11361, closes #18874
* Revert "Use rustdoc --document-private-item instead of deprecated flags"Simon Sapin2018-01-101-2/+5
| | | | This reverts commit d96f0ff6a77e309682898cc7e1905a7bd0feb3cf.
* Use rustdoc --document-private-item instead of deprecated flagsSimon Sapin2017-11-221-1/+1
| | | | … and use $RUSTDOCFLAGS instead of $RUSTDOC with a wrapper script
* Stop using "alternate" rustc builds.Simon Sapin2017-11-141-12/+0
| | | | | With https://github.com/rust-lang/rust/pull/45810, normal Nightly now has LLVM assertions disabled.
* Print the full path for errors occurring in the servo cratetigercosmos2017-11-031-0/+9
|
* Check full triples for "alt" compiler support, not just platforms.Simon Sapin2017-10-311-3/+7
| | | | Fixes https://github.com/servo/servo/issues/19075
* Update Rust to 1.22.0-nightly (a47c9f870 2017-10-11)Anthony Ramine2017-10-121-0/+3
| | | | This allows us to start experimenting with -Z thinlto
* Implement Gradle flavorsImanol Fernandez2017-09-301-0/+3
|
* Switch back to pinning Rust by Nightly date instead of commit hash…Simon Sapin2017-08-311-22/+32
| | | | | | | | | | | | | | | | | | … this time using a `rust-toolchain` file compatible with rustup: https://github.com/rust-lang-nursery/rustup.rs/#the-toolchain-file And upgrade to rustc 1.21.0-nightly (c11f689d2 2017-08-29) ---- Now if both `system-rust` and `system-cargo` are set to `true` in `.servobuild`’s `[tools]` section, and the corresponding `rustc` and `cargo` binaries are in fact rustup’s wrappers, then rustup will use the correct version based on `rust-toolchain`. CC https://github.com/servo/servo/issues/11361 Unlike https://github.com/servo/servo/pull/17927, this does not make mach use rustup directly.
* Update to cargo 0.21.0-nightly (eb6cf012a 2017-07-02)Simon Sapin2017-07-191-2/+2
| | | | | Cargo binaries are now produced on Rust’s CI, not Cargo’s. Remove cargo-commit-hash and find Cargo based on rust-commit-hash.
* mach: Fail properly if we can't find the path for OSMesa or GLAPI.Jonathan Chan2017-06-221-4/+5
| | | | | | | | | Currently we check `if not (osmesa_path and glapi_path)` after using `path.join`. It seems we actually want to check whether `find_dep_path_newest` returns something, because if calls to that function fail, we'll instead get an error from `path.join` about `NoneType` not having attribute `endswith` (it expects a string), which preempts this check.
* Make armv7-linux-androideabi default target on Android Imanol Fernandez2017-05-311-1/+2
|
* Auto merge of #16769 - MortimerGoro:android_archs, r=larsbergstrombors-servo2017-05-131-3/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support for Android armv7 and aarch64 target triples <!-- Please describe your changes on the following line: --> Support for Android armv7 and aarch64 target triples in python build scripts (build + packaging) `--android` build parameter works as always (arm-linux-androideabi still the default) `./mach build --release --android` New compilation modes for android `./mach build --release --target=arm-linux-androideabi` `./mach build --release --target=armv7-linux-androideabi` `./mach build --release --target=aarch64-linux-android` See https://github.com/servo/servo/issues/11921. When all crates are ready we'll switch default android compilations to` armv7-linux-androideabi` target triple. --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] 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/16769) <!-- Reviewable:end -->
| * Support for Android armv7 and aarch64 target triplesImanol Fernandez2017-05-081-3/+26
| |
* | Add clobber mechanismUK9922017-05-081-0/+27
|/
* Add `./mach cargoup`Simon Sapin2017-04-251-3/+6
|
* Remove more deprecated Windows GNU code/docsAneesh Agrawal2017-04-161-6/+2
|
* Add cargo-geckolib and rustc-geckolib commands to mach.Simon Sapin2017-04-051-1/+5
|
* Update Hyper and OpenSSLddh2017-03-311-1/+1
|
* Fix "option `Z` is unstable" warning on geckolib with incremental=trueSimon Sapin2017-03-161-0/+5
| | | | | | | | | | | | | | | | | `incremental = true` can be set in the `[build]` section of `.servobuild` to enable incremental compilation. In `./mach build-geckolib`, which uses a stable version of the compiler, this would cause a warning repeated for each invocation of rustc: ``` warning: the option `Z` is unstable and should only be used on the nightly compiler, but it is currently accepted for backwards compatibility; this will soon change, see issue #31847 for more details ``` This PR disables incremental compilation for `build-geckolib`, regardless of `.servobuild` settings.
* Disable LLVM assertions by default, on supported platforms.Simon Sapin2017-02-161-2/+7
| | | | But keep them on linux-dev CI.
* Allow disabling LLVM assertions in rustc (fixes #15548)Anthony Ramine2017-02-151-3/+6
|
* Switch to commit-specific nightliesAnthony Ramine2017-02-151-1/+1
|
* Remove freetype dependency on WindowsUK9922017-02-061-0/+2
|
* Option configuration to enable incremental compilation.Simon Sapin2017-02-051-0/+3
| | | | https://internals.rust-lang.org/t/incremental-compilation-beta/4721
* Clean up and simplify existing `mach bootstrap`Aneesh Agrawal2017-01-151-7/+11
| | | | | | | | | | | | | | | - 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
* Create a util.py Python module for common functionsAneesh Agrawal2017-01-151-46/+2
| | | | | Extracting these functions helps avoid circular dependencies, and make them easier to find/reuse.
* Move get_browserhtml_path to command_base #14815Teodor Szente2017-01-021-0/+7
| | | | | | Remove unused import of find_dep_path_newest #14815 Move get_browserhtml_path top along with find_dep_path_newest #14815
* Auto merge of #14346 - mati865:master, r=UK992,larsbergbors-servo2016-12-281-2/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use MSVC toolchain if PLATFORM is defined <!-- Please describe your changes on the following line: --> `VSInstallDir` exists only when Visual Studio is installed. `VS140COMNTOOLS` is defined by installing either Visual Studio or [Visual C++ Build Tools](http://landinghub.visualstudio.com/visual-cpp-build-tools) It will allow to build MSVC based Servo without having to install whole Visual Studio (few GiB). EDIT: Another (maybe cleaner) solution would be reverting https://github.com/servo/servo/commit/63ec96a57d4772a961bea63111c927ccd7c85a91 --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because `VS140COMNTOOLS` variable is already used in [mach.bat](https://github.com/servo/servo/blob/master/mach.bat) <!-- 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/14346) <!-- Reviewable:end -->
| * use MSVC toolchain if PLATFORM is definedmati8652016-12-071-2/+4
| |
* | Auto merge of #14601 - Wafflespeanut:osmesa, r=emiliobors-servo2016-12-151-7/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Raise warning when OSMesa path is not set In Ubuntu 14.04, I still get crashes due to non-existence of OsMesa library (#13515). It turned out that sometimes I have paths like `osmesa-src-<hash>` without `out/lib/gallium`. Now, we raise a warning whenever we don't find a proper path. --- <!-- 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 <!-- Either: --> - [x] These changes do not require tests because it's related to mach. <!-- 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/14601) <!-- Reviewable:end -->
| * | Warn when OSMesa library path cannot be setRavi Shankar2016-12-151-7/+9
| | |
* | | Auto merge of #13650 - UK992:win32, r=larsbergstrombors-servo2016-12-151-0/+4
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define NATIVE_WIN32_PYTHON environment variable r? @Wafflespeanut or @larsbergstrom --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- 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/13650) <!-- Reviewable:end -->
| * | Define NATIVE_WIN32_PYTHON environment variableUK9922016-11-171-0/+4
| | |
* | | Auto-update in-tree bindingsXidorn Quan2016-12-151-5/+10
| | |
* | | Auto merge of #14251 - vvuk:servobuild-rustflags, r=ConnorGBrewsterbors-servo2016-12-131-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support build.rustflags in .servobuild Add ability to specify rustflags in .servobuild. <!-- 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/14251) <!-- Reviewable:end -->
| * | | Support build.rustflags in .servobuildVladimir Vukicevic2016-11-211-0/+4
| |/ /