Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix order of args to CanonicalizePath | Scott Graham | 2014-11-09 | 1 | -2/+2 |
| | |||||
* | remove CanonicalizePath overloads, test for toplevel behaviour | Scott Graham | 2014-11-09 | 1 | -2/+4 |
| | |||||
* | Remove extra info from Usage() | kwesolowski | 2014-07-26 | 1 | -3/+0 |
| | | | | As now behavior is similar on on platforms, this can probably be removed | ||||
* | Small usage info fix for windows | kwesolowski | 2014-07-25 | 1 | -1/+1 |
| | |||||
* | Fixed/improved -l N documentation For windows | kwesolowski | 2014-07-25 | 1 | -1/+1 |
| | | | | | On windows "system load" is not so obvious term, added line explaining N argument in -l N | ||||
* | Merge pull request #755 from zmodem/working_dir_vs_msvc_tool | Nico Weber | 2014-06-29 | 1 | -8/+9 |
|\ | | | | | Process the -C option before running RUN_AFTER_FLAGS tools. | ||||
| * | Process the -C option before running RUN_AFTER_FLAGS tools. | Hans Wennborg | 2014-05-03 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | This brings the flag more inline with its description: "change to DIR before doing anything else". The use case is to make it possible to use -C together with -t msvc. When debugging Windows builds, it's handy to be able to copy-paste the commands from "ninja -v" and make them run in the correct directory by adding this flag. | ||||
* | | Rename -d nowinstatcache to -d nostatcache; might become useful elsewhere (#787) | Nico Weber | 2014-06-27 | 1 | -5/+5 |
| | | |||||
* | | do not delete files from the logs that still exist on disk | Nico Weber | 2014-06-20 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | This is to keep the possibility of maybe having a tool that deletes old files in the future, or for having a tool which exposes this information to generators so they can do that. See https://github.com/martine/ninja/pull/697#issuecomment-37140762 and the discussion on #762. Idea from @maximuska! | ||||
* | | add some statcache tests | Nico Weber | 2014-06-15 | 1 | -2/+2 |
| | | |||||
* | | Free cache memory once it's no longer used. | Nico Weber | 2014-06-15 | 1 | -7/+2 |
| | | | | | | | | | | Doesn't slow down empty build times measurably, and saves some memory on non-empty builds. | ||||
* | | on by default | Nico Weber | 2014-06-15 | 1 | -4/+4 |
| | | |||||
* | | make win-only | Nico Weber | 2014-06-15 | 1 | -0/+4 |
| | | |||||
* | | simplify more, move behind flag | Nico Weber | 2014-06-15 | 1 | -4/+11 |
| | | |||||
* | | Turn on stat cache. Empty builds of chrome on my laptop 4s -> 1.3s (!) | Nico Weber | 2014-06-15 | 1 | -1/+1 |
| | | |||||
* | | Add a stat cache. Demo-quality, and disabled atm. | Nico Weber | 2014-06-15 | 1 | -0/+6 |
| | | |||||
* | | spellcheck "keeprsp" in -d options | Nico Weber | 2014-06-15 | 1 | -1/+1 |
| | | |||||
* | | compdb: check that inputs is not empty | Ben Boeckel | 2014-05-05 | 1 | -0/+2 |
|/ | |||||
* | Make BuildLogUser reference constant. | Nico Weber | 2014-01-07 | 1 | -1/+1 |
| | |||||
* | Add a comment. | Nico Weber | 2014-01-04 | 1 | -0/+7 |
| | |||||
* | Rename "IsDead" to "BuildLogUser". | Nico Weber | 2014-01-04 | 1 | -3/+3 |
| | |||||
* | Move duplicated code into a helper function. | Nico Weber | 2014-01-04 | 1 | -3/+1 |
| | |||||
* | Remove dead entries in .ninja_log and .ninja_deps while recompacting. | Nico Weber | 2014-01-02 | 1 | -3/+8 |
| | | | | | | | | | | For .ninja_deps, remove objects that have no in-edges or whose in-edges do not have a "deps" attribute. (This matches the behaviour of `-t deps`). BuildLog doesn't know about state, so let its recompact method take delegate that decides is a path is life or not, and implement it in NinjaMain. | ||||
* | add -d keeprsp to preserve @rsp files on success on windows | Scott Graham | 2013-09-10 | 1 | -1/+5 |
| | |||||
* | Fix the browse tool. | Tony Chang | 2013-07-26 | 1 | -2/+3 |
| | | | | | | | ReadFlags was altering argv in real_main causing us to pass the wrong value into the NinjaMain constructor. Fix this by storing the ninja command before real_main runs. | ||||
* | Merge pull request #616 from nico/recompact | Evan Martin | 2013-07-08 | 1 | -4/+32 |
|\ | | | | | Add a 'recompact' tool, which forces recompaction of the build and deps ... | ||||
| * | Add a 'recompact' tool, which forces recompaction of the build and deps logs. | Nico Weber | 2013-07-08 | 1 | -4/+32 |
| | | | | | | | | This is useful for performance comparisons between two build directories. | ||||
* | | Introducing tool 'deps' dumping ninja deps log entries | Maxim Kalaev | 2013-07-08 | 1 | -0/+42 |
|/ | |||||
* | Fix mingw based builds. Fixes #587 | Jon | 2013-05-25 | 1 | -2/+2 |
| | |||||
* | refactor ninja main() into a struct with methods | Evan Martin | 2013-05-24 | 1 | -159/+203 |
| | | | | | This removes the ugly Globals struct, and the ResetState() hack. This also eliminates the only goto! | ||||
* | simplify some ifdefs | Evan Martin | 2013-05-24 | 1 | -7/+5 |
| | |||||
* | factor out flag parsing from enormous NinjaMain() | Evan Martin | 2013-05-24 | 1 | -44/+64 |
| | |||||
* | Merge pull request #585 from nico/fixcrash | Nico Weber | 2013-05-24 | 1 | -2/+2 |
|\ | | | | | Don't use va_start() with reference parameters, it's undefined behavior. | ||||
| * | Don't use va_start() with reference parameters, it's undefined behavior. | Nico Weber | 2013-05-24 | 1 | -2/+2 |
| | | | | | | | | Should fix issue #584. | ||||
* | | Merge pull request #578 from pinotree/remove-path-max | Evan Martin | 2013-05-23 | 1 | -3/+7 |
|\ \ | | | | | | | do not unconditionally use PATH_MAX with getcwd | ||||
| * | | do not unconditionally use PATH_MAX with getcwd | Pino Toscano | 2013-05-21 | 1 | -3/+7 |
| |/ | | | | | | | | | | | Instead, grow a buffer until getcwd either succeeds or fails with an errno different than ERANGE (meaning the passed buffer was too short to represent the actual path). Reset errno before calling getcwd to check it eventually did not fail. | ||||
* | | Add error check for -j flag. | Rui Ueyama | 2013-05-21 | 1 | -2/+7 |
|/ | |||||
* | Remove a few unused includes. | Nico Weber | 2013-05-12 | 1 | -3/+0 |
| | |||||
* | plumb DepsLog load through Builder | Evan Martin | 2013-04-08 | 1 | -2/+3 |
| | |||||
* | load deps log at startup | Evan Martin | 2013-04-08 | 1 | -0/+35 |
| | |||||
* | factor out creation of build directory | Evan Martin | 2013-04-08 | 1 | -16/+21 |
| | |||||
* | Add spell checking for debug flags. | Nico Weber | 2013-03-27 | 1 | -1/+8 |
| | | | | | | | | | | I just used `ninja -d stat` and it took me a bit to realize that I missed the trailing 's'. While here, move the message printing from printf() to Error(). This makes the output consistent with other error outputs: The messages are now prefixed with "ninja: error: " instead of just "ninja: " and they go to stderr instead of stdout. | ||||
* | Merge pull request #512 from pcc/compilation-database | Evan Martin | 2013-03-10 | 1 | -0/+45 |
|\ | | | | | Add compdb tool | ||||
| * | Add compdb tool | Peter Collingbourne | 2013-03-10 | 1 | -0/+45 |
| | | | | | | | | | | This tool helps convert Ninja build files to a compilation database of the form used by Clang tooling. | ||||
* | | Bring in declaration of atoi | Dave Abrahams | 2013-03-08 | 1 | -0/+1 |
|/ | | | ./bootstrap.py fails on some platforms without this include | ||||
* | say where the default value for -j comes from | Evan Martin | 2013-02-16 | 1 | -1/+1 |
| | | | | This is a FAQ. | ||||
* | add syntax for checking versions | Evan Martin | 2013-02-16 | 1 | -6/+3 |
| | |||||
* | drop the "rules" tool completely | Evan Martin | 2012-12-29 | 1 | -19/+0 |
| | | | | | I had already broken this earlier, but the refactor of variable handling broke it completely. | ||||
* | Fix clang warning. | Thiago Farina | 2012-11-27 | 1 | -1/+1 |
| | | | | | | | | | | | The return type of CollectTarget() is Node, so we should return NULL in the failure case instead of false. src/ninja.cc:188:16: warning: initialization of pointer of type 'Node *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Merge pull request #459 from maximuska/proposed/refactor-collect-targets | Evan Martin | 2012-11-12 | 1 | -49/+51 |
|\ | | | | | refactoring: decompose CollectTargetsFromArgs |