Commit graph

130 commits

Author SHA1 Message Date
Corey Farwell
e3b71c65bf Fix tidy issues with Python files in python/ 2015-06-02 19:51:41 -04:00
Brian Anderson
68d977c5f0 Support a system root with correct on-disk directory layout
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
2015-06-02 16:11:02 -07:00
bors-servo
713f18a58d Auto merge of #6201 - glennw:jquery-runner, r=metajack
<!-- 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 -->
2015-05-31 21:20:57 -05:00
Glenn Watson
be7ae0c732 Add jQuery test runner and mach integration. 2015-06-01 09:36:24 +10:00
Corey Farwell
9708a386fc DRY submodule updating by utilizing existing update-submodules command
This might allow us to merge #5648
2015-05-31 17:25:26 -04:00
Jinank Jain
c98d55fe28 Add --dev option to mach build
Require either --dev or --release, unless a default build.mode is set
in .servobuild.  Fixes #5933.
2015-05-13 09:25:43 -07:00
Manish Goregaokar
88d180cc8a fix typo 2015-04-30 19:35:21 +05:30
bors-servo
82f70c5d50 auto merge of #5200 : mbrubeck/servo/cache-dir, r=larsbergstrom
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
2015-03-19 13:57:52 -06:00
Ms2ger
5f15eb5fbf Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04:00
Daniel Le
0aa727e5b6 Add HOST_FILE environment variable for test-wpt 2015-03-14 18:45:34 +08:00
Matt Brubeck
4641640d14 Add an environment variable to override cache-dir
This will be set in servo/saltfs to prevent our buildbot builders from
re-downloading the build tools for every build.
2015-03-11 15:07:28 -07:00
Manish Goregaokar
cfdad335bd Add support for $CARGO_HOME in servobuild 2015-03-08 01:34:38 +05:30
Simon Sapin
b613519a52 Make submodule sync silent (and recursive).
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.
2015-03-04 13:43:51 +01:00
Prabhjyot Singh Sodhi
12e2f30617 changin os.exit to sys.exit
Fixes #5009
2015-02-22 02:06:07 +05:30
Manish Goregaokar
2711d00666 Remove dependency on backup-flame dir
We should be using the one in the product target dir instead.

This makes the B2G deps distributable again
2015-02-21 09:42:47 +05:30
Manish Goregaokar
5b3868089e Add ./mach build-gonk command 2015-02-21 09:42:47 +05:30
Prabhjyot Singh Sodhi
7911c0c145 Mach bootstrapping will sync modules
Fixes #4916
2015-02-19 01:39:27 +05:30
Matt Brubeck
53135b2566 Move snapshot dir inside the source dir by default
This avoids changing any directories outside the repo, which is better for
some automation scenarios.

The servobuild.example file has a "cache-dir" setting that restores the
previous default location of `~/.servo`, which is useful for developers
working with multiple clones on the same machine.
2015-01-28 10:33:04 -08:00
Glenn Watson
9d192de63d Switch android to glutin. 2014-12-12 08:13:04 +10:00
Glenn Watson
030dab553e Use mach to build openssl on android instead of glut makefile.
The glut makefile will be removed shortly after glutin lands
for android, so we need to build openssl for android elsewhere
in the build process.
2014-12-09 08:20:36 +10:00
Simon Sapin
cc4ea7507f Make build system more independent of current directory. 2014-12-02 18:04:06 -08:00
Matt Brubeck
3cacb029cc Use the correct Rust path in Android packaging 2014-11-14 13:01:46 -08:00
Fabrice Desré
8eb4844174 Issue #3804 : Allow enabling debug-mozjs from servobuild config 2014-11-06 22:47:02 -08:00
Matt Brubeck
2ee516fa7c Automatically update cargo when necessary 2014-11-05 14:07:02 -08:00
Anthony Miyaguchi
75b340a243 Fixes #3353: rust snapshot downloads to home directory 2014-11-05 11:14:21 -08:00
Matt Brubeck
b736256d53 Add Android build config to mach/servobuild 2014-10-03 14:29:54 -07:00
Simon Sapin
04d839328b Have the Rust snapshot directory include the Rust version and hash.
That way, whenever rust-snapshot-hash changes, mach will look for
the Rust snapshot in a different directory and re-boostrap as needed.

However, older rust version will be left behind never cleaned up.
This is good for git-bisect, but not for disk space:
the current snapshot is 618 MB.

In the future, we may want `mach clean` or some other comment
to remove unused Rust snapshots.

CC #3388
2014-09-29 17:41:45 +01:00
Simon Sapin
cd45258bf3 Fix /python/servo code formatting.
(My editor screams at me for flake8 lint errors.)
2014-09-26 23:12:51 +01:00
Simon Sapin
f329de0581 Have mach update (not just init) submodules as needed. Fix #3447 2014-09-22 00:16:52 +01:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00