summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* packaging: refactored rpm buildingMaxim Kalaev2012-09-233-22/+46
| | | | Now passing through a valid SRPM, working in a standard way.
* Merge pull request #427 from jonforums/jf/mingw-n-msvcEvan Martin2012-09-214-7/+11
|\ | | | | fix mingw build fail - redux
| * Always include stdio.hJon2012-09-202-8/+2
| |
| * Silence bothersome warning from -WextraJon2012-09-201-0/+1
| | | | | | | | | | Struct initializations such as those in `CLWrapper::Run` of file `src/msvc_helper-win32.cc` causes MinGW GCC to spew warnings.
| * Give MinGW builds MSVC build helper superpowersJon2012-09-204-7/+16
| | | | | | | | | | | | 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
* | Merge pull request #426 from sgraham/spaces-in-headers-2Evan Martin2012-09-204-2/+41
|\ \ | |/ |/| fix spaces in headers for -t msvc
| * less random commentScott Graham2012-09-201-1/+1
| |
| * review fixesScott Graham2012-09-201-10/+9
| |
| * fix spaces in headers for -t msvcScott Graham2012-09-204-2/+42
|/
* Merge pull request #419 from syntheticpp/rate-buffer-sizeEvan Martin2012-09-182-18/+15
|\ | | | | Buffer size passed to snprintf is wrong in rate code
| * Fix subtile buffer size errorPeter Kümmel2012-09-181-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 msvc2012Peter Kümmel2012-09-181-1/+1
| |
| * remove some code duplicationPeter Kümmel2012-09-182-18/+15
| |
* | Merge pull request #422 from sgraham/fix-dupe-includesEvan Martin2012-09-174-6/+30
|\ \ | |/ |/| don't emit duplicate headers for msvc helper
| * don't emit duplicate headers for msvc helperScott Graham2012-09-174-6/+30
|/
* Merge pull request #416 from nico/slideEvan Martin2012-09-143-38/+53
|\ | | | | Change rate measurement code.
| * Change rate measurement code.Nico Weber2012-09-143-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.
* | Merge pull request #415 from nico/getoptEvan Martin2012-09-141-12/+12
|\ \ | |/ |/| Clean up getopt_long call.
| * Clean up getopt_long call.Nico Weber2012-09-141-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 experimentalEvan Martin2012-09-131-1/+1
|
* windows: merge msvc-helper into ninja.exe itselfEvan Martin2012-09-134-39/+37
| | | | | | Now "ninja -t msvc ..." passes the "..." to the msvc helper main. This drastically simplifies bootstrap and makes ninja a single binary again.
* Merge pull request #414 from riannucci/masterEvan Martin2012-09-111-4/+4
|\ | | | | Fix re2c detection in bootstrap which breaks win32 w/ gnuwin32
| * Fix re2c detection which breaks win32 w/ gnuwin32Robert A. Iannucci Jr2012-09-111-4/+4
|/
* scoping workaround for gcc on WindowsEvan Martin2012-09-071-1/+1
| | | | From https://github.com/martine/ninja/issues/410.
* include termios for solarisAlex Caudill2012-09-071-0/+4
|
* add solaris platform definitionsAlex Caudill2012-09-071-2/+4
|
* disable a new warning that popped up on WindowsEvan Martin2012-09-071-0/+2
| | | | | This pattern is safe as long as you're careful; we don't use it very much.
* add GetProcessorCount() implementation for SolarisAlex Caudill2012-09-071-0/+9
|
* drop special case for msvc bucket countEvan Martin2012-09-071-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/fixEvan Martin2012-09-061-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 Weber2012-09-011-0/+2
| |
* | allow tools to specify when they run (before/after build.ninja load)Evan Martin2012-09-061-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 mainEvan Martin2012-09-051-14/+18
| |
* | factor out build log load from mainEvan Martin2012-09-051-28/+37
| |
* | rearrange tool-picking logicEvan Martin2012-09-051-18/+37
| | | | | | | | Now "ninja -t list" works from any directory.
* | show all in graphEvan Martin2012-09-041-1/+1
| |
* | reduce indentEvan Martin2012-09-041-39/+38
| |
* | move BuildConfig out of globalsEvan Martin2012-09-041-14/+15
| |
* | remove DiskInterface from globalsEvan Martin2012-09-041-5/+4
| |
* | remove unfortunate header dependencyEvan Martin2012-09-041-1/+0
| | | | | | | | This was temporarily added, and now it can be removed.
* | clarify setterEvan Martin2012-09-042-5/+10
| |
* | move BuildLog to DependencyScanEvan Martin2012-09-049-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.)
* | fix --debug for glibc pedantic modeEvan Martin2012-09-041-0/+1
| |
* | pass Builder as arg to build-running functionsEvan Martin2012-09-041-15/+15
| | | | | | | | Reducing use of globals.
* | remove config from BuildLog, rename membersEvan Martin2012-09-024-30/+24
| |
* | remove a redundant arg to RecomputeOutputDirtyEvan Martin2012-09-023-24/+19
| |
* | split out dirty recomputation logic from Edge classEvan Martin2012-09-026-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.
* Merge pull request #407 from maximuska/proposed/dirty-on-missing-depfileEvan Martin2012-08-302-3/+34
|\ | | | | safer build: consider target dirty if depfile is missing
| * safer build: consider target dirty if depfile is missingMaxim Kalaev2012-08-302-3/+34
|/
* Merge pull request #403 from nico/everylineweighsyoudownEvan Martin2012-08-281-2/+0
|\ | | | | Remove unused macro NINJA_UNUSED_ARG.