Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to mach or similar #2046

Closed
Manishearth opened this issue Apr 5, 2014 · 4 comments
Closed

Switch to mach or similar #2046

Manishearth opened this issue Apr 5, 2014 · 4 comments

Comments

@Manishearth
Copy link
Member

The code is getting rather large. Why not switch to mach or a similar system?

Mach is a python script that Firefox uses to manage tests and direct the build. It wraps around the makefile and provides a lot of useful functions.

A couple of things servo-mach could have:

  • Better test management. We should be able to run individual tests directly.
  • Clobber warnings for rustc, spidermonkey, and other heavy dependencies.
@mbrubeck
Copy link
Contributor

mbrubeck commented Apr 6, 2014

Some more items for the wishlist:

  • Better default options for fast builds (e.g. -j4 on a 4-core machine).
  • A config file for default configure options, so you don't need to remember to pass them each time you have to re-run configure.

@Manishearth
Copy link
Member Author

It might also be ideal to cache part of the configure stuff, or to separate the run-once parts from the run-many-times. If I just want a submodule sync , the "checking for integers" bit shouldn't have to run every time.

@Ms2ger
Copy link
Contributor

Ms2ger commented Apr 7, 2014

Just to clarify: mach by itself isn't a build system, it's a generic python command dispatching framework that provides a nicer way to interact with the tree than undocumented make targets. Its relation to the build system for Gecko is that using mach build abstracts away the underlying build system, making it easier to swap out the recursive make build system when the replacement is ready.

@tetsuharuohzeki
Copy link
Contributor

We can close this by #3230 was landed.

@metajack metajack closed this as completed Sep 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants