Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #448 from maximuska/proposed/buildlog-mini-refactor2 | Evan Martin | 2012-10-17 | 3 | -5/+36 |
|\ | | | | | Proposed/buildlog mini refactor2 | ||||
| * | build log: fixing parameter names | Maxim Kalaev | 2012-10-15 | 1 | -6/+6 |
| | | |||||
| * | build log: mini-refactoring to use constructors to initialize entries | Maxim Kalaev | 2012-10-12 | 2 | -4/+14 |
| | | |||||
| * | build log: moving HashCommand() calculation out of targets loop | Maxim Kalaev | 2012-10-12 | 1 | -1/+2 |
| | | |||||
| * | build log: Adding test for multiple target edges | Maxim Kalaev | 2012-10-12 | 1 | -0/+20 |
| | | |||||
* | | 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) | ||||
* | Merge pull request #439 from wolfp/metric-recompact | Evan Martin | 2012-10-04 | 1 | -0/+1 |
|\ | | | | | Add metric for log recompacting | ||||
| * | Add metric for log recompacting | Petr Wolf | 2012-10-04 | 1 | -0/+1 |
| | | |||||
* | | Improve the efficiency of -t clean | Petr Wolf | 2012-10-04 | 2 | -1/+12 |
|/ | | | | | Prevent each node from being examined for cleaning multiple times, if it is used in several other nodes | ||||
* | Fix two spelling errors | Martin Olsson | 2012-10-03 | 1 | -1/+1 |
| | |||||
* | Merge pull request #436 from tfarina/dry-run-unnamed-namespace | Evan Martin | 2012-10-02 | 1 | -24/+39 |
|\ | | | | | Move DryRunCommandRunner into a unnamed namespace. | ||||
| * | 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> | ||||
* | | Don't say -h is invalid whereas it is supported. | Nicolas Despres | 2012-09-27 | 1 | -1/+1 |
|/ | | | | | | | getopt_long(3) was reporting "ninja: invalid option -- h" when "ninja -h" was called. Regression most probably introduced by 5fdb12ed5cec4e1c853c64026142d088ff5519e1 | ||||
* | Merge pull request #427 from jonforums/jf/mingw-n-msvc | Evan Martin | 2012-09-21 | 3 | -2/+4 |
|\ | | | | | fix mingw build fail - redux | ||||
| * | Always include stdio.h | Jon | 2012-09-20 | 2 | -8/+2 |
| | | |||||
| * | Give MinGW builds MSVC build helper superpowers | Jon | 2012-09-20 | 3 | -2/+10 |
| | | | | | | | | | | | | Note: _WIN32 is used instead of WIN32 to enable builds with MSVC IDE, Windows SDK non-IDE command line tools, and mingw/mingw-w64 based toolchains | ||||
* | | less random comment | Scott Graham | 2012-09-20 | 1 | -1/+1 |
| | | |||||
* | | review fixes | Scott Graham | 2012-09-20 | 1 | -10/+9 |
| | | |||||
* | | fix spaces in headers for -t msvc | Scott Graham | 2012-09-20 | 4 | -2/+42 |
|/ | |||||
* | Merge pull request #419 from syntheticpp/rate-buffer-size | Evan Martin | 2012-09-18 | 2 | -18/+15 |
|\ | | | | | Buffer size passed to snprintf is wrong in rate code | ||||
| * | Fix subtile buffer size error | Peter Kümmel | 2012-09-18 | 1 | -4/+4 |
| | | | | | | | | | | The deduced type was char* with size 4 and not char[32] with size 32. This removes strange output characters on Windows. | ||||
| * | build with msvc2012 | Peter Kümmel | 2012-09-18 | 1 | -1/+1 |
| | | |||||
| * | remove some code duplication | Peter Kümmel | 2012-09-18 | 2 | -18/+15 |
| | | |||||
* | | don't emit duplicate headers for msvc helper | Scott Graham | 2012-09-17 | 4 | -6/+30 |
|/ | |||||
* | Merge pull request #416 from nico/slide | Evan Martin | 2012-09-14 | 3 | -38/+53 |
|\ | | | | | Change rate measurement code. | ||||
| * | Change rate measurement code. | Nico Weber | 2012-09-14 | 3 | -38/+53 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Clean up getopt_long call. | Nico Weber | 2012-09-14 | 1 | -12/+12 |
|/ | | | | | | Remove now-unimplemented 'V' from getopt_long. Remove 'h', since it's included in the long options. Order switch cases in the same order as in the getopt_long argument. | ||||
* | mark msvc-helper as experimental | Evan Martin | 2012-09-13 | 1 | -1/+1 |
| | |||||
* | windows: merge msvc-helper into ninja.exe itself | Evan Martin | 2012-09-13 | 2 | -5/+22 |
| | | | | | | Now "ninja -t msvc ..." passes the "..." to the msvc helper main. This drastically simplifies bootstrap and makes ninja a single binary again. | ||||
* | scoping workaround for gcc on Windows | Evan Martin | 2012-09-07 | 1 | -1/+1 |
| | | | | From https://github.com/martine/ninja/issues/410. | ||||
* | include termios for solaris | Alex Caudill | 2012-09-07 | 1 | -0/+4 |
| | |||||
* | add GetProcessorCount() implementation for Solaris | Alex Caudill | 2012-09-07 | 1 | -0/+9 |
| | |||||
* | drop special case for msvc bucket count | Evan Martin | 2012-09-07 | 1 | -6/+1 |
| | | | | | Calling bucket_count() works locally with MSVC. I wonder if some other change in the code fixed this. | ||||
* | Merge pull request #408 from nico/fix | Evan Martin | 2012-09-06 | 1 | -0/+2 |
|\ | | | | | Make sure no stale test file exists before running build log tests. | ||||
| * | Make sure no stale test file exists before running build log tests. | Nico Weber | 2012-09-01 | 1 | -0/+2 |
| | | |||||
* | | allow tools to specify when they run (before/after build.ninja load) | Evan Martin | 2012-09-06 | 1 | -34/+52 |
| | | | | | | | | | | This will be necessary to inline msvc-helper as well as so -t graph can get depfiles. | ||||
* | | factor out metrics dump from ninja main | Evan Martin | 2012-09-05 | 1 | -14/+18 |
| | | |||||
* | | factor out build log load from main | Evan Martin | 2012-09-05 | 1 | -28/+37 |
| | | |||||
* | | rearrange tool-picking logic | Evan Martin | 2012-09-05 | 1 | -18/+37 |
| | | | | | | | | Now "ninja -t list" works from any directory. | ||||
* | | reduce indent | Evan Martin | 2012-09-04 | 1 | -39/+38 |
| | | |||||
* | | move BuildConfig out of globals | Evan Martin | 2012-09-04 | 1 | -14/+15 |
| | | |||||
* | | remove DiskInterface from globals | Evan Martin | 2012-09-04 | 1 | -5/+4 |
| | | |||||
* | | remove unfortunate header dependency | Evan Martin | 2012-09-04 | 1 | -1/+0 |
| | | | | | | | | This was temporarily added, and now it can be removed. | ||||
* | | clarify setter | Evan Martin | 2012-09-04 | 2 | -5/+10 |
| | | |||||
* | | move BuildLog to DependencyScan | Evan Martin | 2012-09-04 | 9 | -22/+32 |
| | | | | | | | | | | | | | | 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.) | ||||
* | | pass Builder as arg to build-running functions | Evan Martin | 2012-09-04 | 1 | -15/+15 |
| | | | | | | | | Reducing use of globals. | ||||
* | | remove config from BuildLog, rename members | Evan Martin | 2012-09-02 | 4 | -30/+24 |
| | | |||||
* | | remove a redundant arg to RecomputeOutputDirty | Evan Martin | 2012-09-02 | 3 | -24/+19 |
| | | |||||
* | | split out dirty recomputation logic from Edge class | Evan Martin | 2012-09-02 | 6 | -88/+117 |
|/ | | | | | | | | | | 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. | ||||
* | safer build: consider target dirty if depfile is missing | Maxim Kalaev | 2012-08-30 | 2 | -3/+34 |
| |