Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | Remove code that was never executed. | Nico Weber | 2012-06-02 | 1 | -9/+1 |
| | | | | | | | | | | total_time was always -1, because it computed a pointer difference, not a time difference (should've been |*end_time - *start_time|). | ||||
* | | Merge pull request #320 from nico/cleanup | Evan Martin | 2012-06-02 | 1 | -2/+0 |
|\ \ | | | | | | | Remove unused variable last_update_millis_. | ||||
| * | | Remove unused variable last_update_millis_. | Nico Weber | 2012-06-01 | 1 | -2/+0 |
| |/ | |||||
* | | Missing header file for "getenv". | Jonathan Sternberg | 2012-05-31 | 1 | -0/+1 |
| | | |||||
* | | Removing unused sys/termios.h header. | Jonathan Sternberg | 2012-05-30 | 1 | -1/+0 |
|/ | |||||
* | views: Mark single-argument constructors as explicit. | Thiago Farina | 2012-05-06 | 1 | -1/+1 |
| | | | | | | | | This was reported by cpplint as: python ~/depot_tools/cpplint.py 2>&1 | grep -v "Done processing" | grep explicit Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Merge pull request #274 from polrop/max_load_average | Evan Martin | 2012-04-28 | 1 | -1/+3 |
|\ | | | | | Max load average | ||||
| * | Add -l N option to limit the load average. | Nicolas Despres | 2012-04-19 | 1 | -1/+3 |
| | | | | | | | | | | | | | | This is similar to GNU make -l/--load-average option. It limits the number of job started if the load average exceed the given value. It can be very useful when running ninja on a continuous integration server where we want to use parallelism as much as possible without overloading the server. | ||||
| * | Remove trailing white spaces. | Nicolas Despres | 2012-04-19 | 1 | -6/+6 |
| | | |||||
* | | reduce custom ninja status patch in minor ways | Evan Martin | 2012-04-26 | 1 | -82/+49 |
| | | | | | | | | | | Elsewhere in the code I avoid sstream and manual buffer management, so switch this code to behave similarly. Sorry for being OCD. | ||||
* | | Merge branch 'custom_ninja_status' of git://github.com/polrop/ninja | Evan Martin | 2012-04-26 | 1 | -43/+98 |
|\ \ | |||||
| * | | Refactor and test progress status formatting. | Nicolas Despres | 2012-04-24 | 1 | -68/+46 |
| | | | |||||
| * | | Introduce NINJA_STATUS env var for customization. | Nicolas Despres | 2012-04-24 | 1 | -2/+79 |
| | | | | | | | | | | | | | | | | | | Some people may want to display different relevant information about the progress of the build. Also it can be usefull to debug jobs allocation. | ||||
| * | | Remove trailing white spaces. | Nicolas Despres | 2012-04-24 | 1 | -6/+6 |
| |/ | |||||
* | | Merge pull request #269 from sgraham/explain | Evan Martin | 2012-04-26 | 1 | -1/+1 |
|\ \ | | | | | | | add support for -d explain to help debug why rules are running | ||||
| * | | add support for -d explain to help debug why rules are running | Scott Graham | 2012-04-13 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #228 from pcc/lazily-create-commandrunner | Evan Martin | 2012-04-26 | 1 | -4/+8 |
|\ \ | |/ |/| | Lazily create the CommandRunner in Builder::Build | ||||
| * | Lazily create the CommandRunner in Builder::Build | Peter Collingbourne | 2012-02-27 | 1 | -4/+8 |
| | | | | | | | | | | This allows the user to interrupt the build (i.e. using Ctrl-C) while the build plan is being computed. |