Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix windows build after depslog | Scott Graham | 2013-04-09 | 1 | -1/+1 |
| | |||||
* | Merge branch 'dep-pipeless' | Evan Martin | 2013-04-09 | 1 | -98/+181 |
|\ | | | | | | | | | This merges a new mechanism for tracking "depfile" dependencies that is faster on all platforms but dramatically so on Windows. | ||||
| * | add a straightforward deps log test, fix the other one | Evan Martin | 2013-04-09 | 1 | -6/+17 |
| | | | | | | | | | | | | The first test I wrote was wrong; write a simpler test that exercises the "no failures" code paths, then fix the second test and the bugs it exposed. | ||||
| * | Make deps=gcc without depfile an error. | Nico Weber | 2013-04-09 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | When I first played with depslog, I accidentally removed the depfile attribute on my cc edges, which had the effect of ninja silently ignoring all depfiles. Instead, let ninja complain about edges that have deps set to gcc and depfile set to nothing. This is done at edge build time, instead of at mainfest load time, because adding this check to ParseEdge() regressed empty build time for target 'chrome' by 30ms. The check is only useful for generator authors, regular users should never see this. | ||||
| * | add a test for the "deps out of date" case | Evan Martin | 2013-04-09 | 1 | -3/+5 |
| | | | | | | | | It touched the various remaining XXXes in the code, hooray. | ||||
| * | make it an error for now to have multiple outputs with depslog | Evan Martin | 2013-04-08 | 1 | -1/+1 |
| | | |||||
| * | only write deps log if edge is in deps log mode | Evan Martin | 2013-04-08 | 1 | -11/+9 |
| | | |||||
| * | use logged deps mtime in dirty calculation | Evan Martin | 2013-04-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The idea here is that it's possible for a build to complete (writing its output) but then for Ninja to get interrupted before writing out the updated dependency information. In that case the mtime stored in the deps log (if any) will match the previous output, and we'll know we need to rebuild the output just to get the deps updated. | ||||
| * | hook up depslog writing into build process | Evan Martin | 2013-04-08 | 1 | -94/+122 |
| | | |||||
| * | remove depfiles files as they're parsed | Evan Martin | 2013-04-08 | 1 | -4/+4 |
| | | |||||
| * | windows: use CLParser to extract deps during build | Evan Martin | 2013-04-08 | 1 | -1/+8 |
| | | |||||
| * | refactor build-time deps-extraction | Evan Martin | 2013-04-08 | 1 | -0/+50 |
| | | |||||
| * | plumb DepsLog load through Builder | Evan Martin | 2013-04-08 | 1 | -2/+3 |
| | | |||||
| * | pass command results via a struct | Evan Martin | 2013-04-08 | 1 | -45/+29 |
| | | | | | | | | | | WaitForCommand now passes all command output via a struct. This will allow adding more output in a future change. | ||||
* | | Make LinePrinter members private, add comments. | Nico Weber | 2013-04-09 | 1 | -3/+3 |
| | | |||||
* | | move printing of new lines into LinePrinter. | Nico Weber | 2013-04-09 | 1 | -19/+5 |
| | | |||||
* | | refactor; no intended functionality change | Nico Weber | 2013-04-09 | 1 | -7/+13 |
| | | |||||
* | | move single-line printing to new class | Nico Weber | 2013-04-09 | 1 | -88/+9 |
|/ | |||||
* | Merge pull request #521 from riannucci/ignore_duplicate_edges_in_shcedule_work | Evan Martin | 2013-03-26 | 1 | -0/+6 |
|\ | | | | | Fix duplicate edge Pool crash in the minimally invasive way | ||||
| * | Fix duplicate edge Pool crash in the minimally invasive way | Robert Iannucci | 2013-03-18 | 1 | -0/+6 |
| | | |||||
* | | Added %e to manual.asciidoc, fixed brace style. | Avinash Baliga | 2013-03-11 | 1 | -2/+1 |
| | | |||||
* | | Made %e purely a number. | Avinash Baliga | 2013-03-04 | 1 | -1/+1 |
| | | |||||
* | | NINJA_STATUS now takes %e for elapsed time. | Avinash Baliga | 2013-03-04 | 1 | -0/+8 |
|/ | |||||
* | rearrange handling of builtin bindings to make rules simpler | Evan Martin | 2012-12-29 | 1 | -18/+20 |
| | | | | | Now, a 'build' block can override any special binding like 'command' or 'description' if it needs to. | ||||
* | wrap some overlong lines | Evan Martin | 2012-12-29 | 1 | -4/+8 |
| | |||||
* | fix all "class" -> "struct" | Evan Martin | 2012-12-29 | 1 | -2/+1 |
| | |||||
* | NINJA_STATUS: add support of `%p` for percentage | yannicklm | 2012-12-14 | 1 | -0/+8 |
| | |||||
* | Remove unnecessary parameter from ShouldDelayEdge | Robert Iannucci | 2012-11-30 | 1 | -1/+1 |
| | |||||
* | Make Edge->pool() a pointer like it should have been | Robert Iannucci | 2012-11-30 | 1 | -7/+7 |
| | |||||
* | Dump pools with State | Robert Iannucci | 2012-11-09 | 1 | -1/+0 |
| | |||||
* | and some basic implementation | Robert Iannucci | 2012-11-09 | 1 | -10/+10 |
| | |||||
* | stub out an api and de-constify Pool | Robert Iannucci | 2012-11-09 | 1 | -2/+22 |
| | |||||
* | build metrics: StartEdge and EndEdge | Maxim Kalaev | 2012-10-12 | 1 | -0/+2 |
| | | | | | | | Total build time is also relevant. The costs of StartEdge and EndEdge turned out to be quite surprising. Especially if multiple targets are specified on edges. (I've tried declaring depfiles targets explicitly) | ||||
* | Move DryRunCommandRunner into a unnamed namespace. | Thiago Farina | 2012-10-02 | 1 | -24/+39 |
| | | | | | | No functional change. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | build with msvc2012 | Peter Kümmel | 2012-09-18 | 1 | -1/+1 |
| | |||||
* | remove some code duplication | Peter Kümmel | 2012-09-18 | 1 | -2/+3 |
| | |||||
* | Change rate measurement code. | Nico Weber | 2012-09-14 | 1 | -15/+9 |
| | | | | | | | | | | | For %o, remove a superfluous + 0.5: snprintf("%f") rounds already. Remove some unnecessary code. For %c, fix a TODO to add a sliding window and update after every completed edge. Else, with -j50 and several files that take 3s to compile each, this number would only update every 150s. Also give the number one decimal place so that this can measure steps slower than 1s. | ||||
* | include termios for solaris | Alex Caudill | 2012-09-07 | 1 | -0/+4 |
| | |||||
* | move BuildLog to DependencyScan | Evan Martin | 2012-09-04 | 1 | -5/+4 |
| | | | | | | | The build log is needed in computing whether an edge is dirty, so I think it belongs here. (It's a bit weird that Builder needs to reach into it to record completed commands, maybe it will become cleaner with more thought.) | ||||
* | remove a redundant arg to RecomputeOutputDirty | Evan Martin | 2012-09-02 | 1 | -5/+6 |
| | |||||
* | split out dirty recomputation logic from Edge class | Evan Martin | 2012-09-02 | 1 | -7/+8 |
| | | | | | | | | | | Rather than passing States and DiskInterfaces through all the calls, put the necessary ambient information in a new DependencyScan object and move the code accordingly. Note: I didn't move the source location of the functions to preserve history, though this does result in a sort of weird order for the functions in graph.cc. | ||||
* | use DiskInterface to create the build directory | Evan Martin | 2012-08-07 | 1 | -3/+3 |
| | | | | | | | | | | Fixes issue #392 (didn't handle creating nested build dirs right). Moves MakeDir out of util.h; all code should go through DiskInterface to simplify testing. Moves ownership of the DiskInterface into the client of the Builder, which also allows removing some code that reached inside the object as well as a minor leak. | ||||
* | Re-factor elide code and test it. | Nicolas Despres | 2012-07-31 | 1 | -13/+2 |
| | |||||
* | fix a warning and leak in windows-specific console output code | Evan Martin | 2012-07-27 | 1 | -2/+2 |
| | |||||
* | Merge pull request #351 from syntheticpp/rate | Evan Martin | 2012-07-27 | 1 | -1/+27 |
|\ | | | | | print edges per second | ||||
| * | print edges per second | Peter Kuemmel | 2012-07-15 | 1 | -1/+27 |
| | | | | | | | | | | | | | | | | | | | | | | prints the rate of finished edges per second to the console, for instance with NINJA_STATUS="[%s/%t %o(%c)/s] ": [132/1922 16.1(14)/s] 16.1 is the average for all processed files (here 132 since start) 14 is the average of the last n files while n is the number specifies by -j (or its default) | ||||
* | | windows: use WriteConsoleOutput instead of printf to avoid moving cursor | Scott Graham | 2012-07-19 | 1 | -6/+20 |
|/ | |||||
* | Efficiently check for emptiness | Pierre Schweitzer | 2012-07-14 | 1 | -1/+1 |
| | |||||
* | Merge pull request #313 from wolfp/restat_missing_input | Evan Martin | 2012-07-03 | 1 | -7/+1 |
|\ | | | | | Do not reset restat_mtime if an input is missing | ||||
| * | Do not reset restat_mtime if an input is missing (issue #295) | wolfp | 2012-06-27 | 1 | -7/+1 |
| | |