aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix ./mach runUK9922016-03-271-0/+3
|
* Remove rustc wrapper script for gold in favor of using RUSTFLAGSLars Bergstrom2016-03-251-1/+1
|
* Read SERVO_RUSTC_WITH_GOLD if no .servobuildedunham2016-03-221-1/+7
| | | | | | | | | | The build system needs to disable gold on arm64 slaves. Other configuration is done through environment variables, and buildbot hosts currently don't use a .servobuild file at all. This change adds the `get_env_bool` function to cast an environment variable's string contents into a Python boolean, and uses it to retrieve the optional SERVO_RUSTC_WITH_GOLD setting.
* Remove unused use_nightly_rust function.Ms2ger2016-03-221-5/+0
|
* Remove submodule update from mach bootstrap. Fixes #10010malayaleecoder2016-03-161-2/+0
|
* Detect Cygwin environment on WindowsWei Tang2016-03-091-1/+1
| | | | | | Currently if Servo is built using Cygwin, it is incorrectly classified as "unknown" host, which makes downloading Rust and Cargo fail. This commit fixes that.
* Now we use python for os_type, we need to catch 'windows' as well as ↵Jason Williams2016-02-131-1/+1
| | | | 'mingw65_nt- fixes #9597'
* Auto merge of #9588 - Jayflux:hotfix/9499, r=Wafflespeanutbors-servo2016-02-131-1/+2
|\ | | | | | | | | | | | | | | add check for win32 or msys before running rustc-with-gold fixes #9499 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9588) <!-- Reviewable:end -->
| * add check for win32 or msys before running rustc-with-gold fixes #9499Jayflux2016-02-131-1/+2
| |
* | use python's built in platform module for detection, for more accuracy and ↵Jason Williams2016-02-131-2/+4
|/ | | | cross platform support
* Download extra std lib when cross-compiling #9557Daniel Robertson2016-02-121-4/+7
| | | | | Split ensure_bootstrap into two phases including a phase checking the compiler, and a phase checking for target libraries.
* Removed documentation referencing 'android-rs-glue', and updated a similar ↵qpid2016-02-051-4/+4
| | | | comment to mention 'build-apk'
* Revert "Remove gold hack, since it's in rustc automatically now"Lars Bergstrom2016-01-281-0/+6
| | | | This reverts commit 2955d895a4d723bc616f37a55a973c677318a950.
* Prepend PATH extras instead of append.Adam Casey2016-01-271-1/+1
| | | | Fixes multirust issue #9437
* Fix ./mach run on WindowsAdam Casey2016-01-241-5/+31
| | | | | Fix unicode PATH the same way as mozilla-central does it for windows. Also append extra PATHs instead of prepending, for some reason that broke ./mach run
* adding check for windows then using Scripts instead of binJason Williams2016-01-221-17/+9
|
* win32: force PATH to be non-unicode on win32, if virtualenv munges itVladimir Vukicevic2016-01-201-0/+8
|
* win32: mach and build command fixesVladimir Vukicevic2016-01-201-3/+40
| | | | | | | - Add SERVO_USE_NIGHTLY_RUST env var to use the latest rust/cargo nightly snapshot - Fix up looking for cargo binary (in cargo/bin/cargo, not bin/cargo) - Fix up win32 executable checking (use .exe suffix) - fix up win32 PATH handling (subprocess must use shell=True for PATH change to be honored)
* Remove gold hack, since it's in rustc automatically nowLars Bergstrom2016-01-151-6/+0
|
* Rename rust-snapshot-hash to rust-nightly-dateSimon Sapin2015-12-301-9/+8
| | | | | | … and remove mentions of "snapshots". We now use rust-lang.org nightly builds rather than our own snapshots.
* Move OpenSSL Android build to the target directory #8568Maciej Skrzypkowski2015-12-021-0/+3
|
* Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)Manish Goregaokar2015-11-271-2/+5
| | | | … and libc 0.2 and many other dependencies
* Reduce duplication in binary path determinition for Android target (fixes ↵Yanir Seroussi2015-11-191-1/+4
| | | | issue #8349)
* Add CCACHE infra and turn it on in travisLars Bergstrom2015-11-051-0/+1
|
* New Android suppportLars Bergstrom2015-11-041-0/+3
|
* Fix a comparison that should be an assignment in host_triple().Ms2ger2015-09-231-2/+2
|
* Make the use of gold linker configurableAkos Kiss2015-09-081-2/+4
| | | | | | | | Currently, ld.gold is always used for linking if found on the system. There are some cases however when one may want to opt out from using it. This patch adds the boolean field `rustc-with-gold` to the `[tools]` section of `.servobuild`, which if set false, disables the use of ld.gold.
* Utilize Python context managers for opening/closing filesCorey Farwell2015-08-211-3/+6
| | | | In some of these cases, files were not being closed
* Only use a rustc wrapper script when ld.gold is available.Simon Sapin2015-08-171-1/+4
| | | | Fixes #7247.
* Use the gold linker when available.Simon Sapin2015-08-151-0/+3
| | | | This shaves 50 seconds off the build time on my machine.
* Upgrade cocoa, openssl, and selectorsMatt Brubeck2015-07-301-1/+1
|
* Upgrade to SM 39Michael Wu2015-06-191-10/+15
|
* Use Cargo's target directory sharing.Jack Moffitt2015-06-151-1/+10
| | | | | This speeds up `./mach build --dev` followed by `./mach build-cef` by a large amount, and also speeds up other build combos found in our CI.
* Add flake8 to the tidy process for Python filesCorey Farwell2015-06-041-1/+1
| | | | | | | Fixes #6236 Also included in this commit are the changes need to make flake8 pass for the existing python file
* Auto merge of #6268 - frewsxcv:tidy-python, r=jdmbors-servo2015-06-031-16/+45
|\ | | | | | | | | | | <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6268) <!-- Reviewable:end -->
| * Fix tidy issues with Python files in python/Corey Farwell2015-06-021-16/+45
| |
* | Support a system root with correct on-disk directory layoutBrian Anderson2015-06-021-0/+9
|/ | | | | | | | | | | | | The existing code for setting up the environment assumes that the directory layout containing rust and cargo conforms to the one used by rust-installer's tarballs. This makes overriding the system root awkward for simple cases where I want to test my own build directly from the rust build directory. This patch just adds a second path to PATH and LD_LIBRARY_PATH to accomodate both disk layouts. Conflicts: python/servo/command_base.py
* Auto merge of #6201 - glennw:jquery-runner, r=metajackbors-servo2015-05-311-0/+38
|\ | | | | | | | | | | <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6201) <!-- Reviewable:end -->
| * Add jQuery test runner and mach integration.Glenn Watson2015-06-011-0/+38
| |
* | DRY submodule updating by utilizing existing update-submodules commandCorey Farwell2015-05-311-9/+1
|/ | | | This might allow us to merge #5648
* Add --dev option to mach buildJinank Jain2015-05-131-1/+1
| | | | | Require either --dev or --release, unless a default build.mode is set in .servobuild. Fixes #5933.
* fix typoManish Goregaokar2015-04-301-1/+1
|
* auto merge of #5200 : mbrubeck/servo/cache-dir, r=larsbergstrombors-servo2015-03-191-2/+3
|\ | | | | | | | | | | This will be set in servo/saltfs to prevent our buildbot builders from re-downloading the build tools for every build. r? @larsbergstrom or @metajack or @Manishearth
| * Add an environment variable to override cache-dirMatt Brubeck2015-03-111-2/+3
| | | | | | | | | | This will be set in servo/saltfs to prevent our buildbot builders from re-downloading the build tools for every build.
* | Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.Ms2ger2015-03-181-6/+8
| |
* | Add HOST_FILE environment variable for test-wptDaniel Le2015-03-141-1/+4
|/
* Add support for $CARGO_HOME in servobuildManish Goregaokar2015-03-081-2/+18
|
* Make submodule sync silent (and recursive).Simon Sapin2015-03-041-1/+1
| | | | | | | | | This eliminates the Synchronizing submodule url for 'support/android-rs-glue' Synchronizing submodule url for 'tests/wpt/web-platform-tests' messages that appeared for every `mach build` command.
* changin os.exit to sys.exitPrabhjyot Singh Sodhi2015-02-221-1/+1
| | | | Fixes #5009
* Remove dependency on backup-flame dirManish Goregaokar2015-02-211-1/+1
| | | | | | We should be using the one in the product target dir instead. This makes the B2G deps distributable again