Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add .ninja_log load time to metrics. | Nico Weber | 2012-05-01 | 1 | -0/+2 |
| | | | | On my system, it takes 22% of the empty build time for chrome. | ||||
* | Merge pull request #288 from nico/buildfix | Evan Martin | 2012-05-01 | 1 | -2/+2 |
|\ | | | | | ninja_syntax.build() returns a list, not a single string. | ||||
| * | ninja_syntax.build() returns a list, not a single string. | Nico Weber | 2012-05-01 | 1 | -2/+2 |
|/ | | | | Fixes 'multiple rules' warnings on mac/linux. | ||||
* | Merge pull request #285 from nico/winninjatest | Evan Martin | 2012-04-30 | 1 | -0/+5 |
|\ | | | | | Make it possible to write `ninja ninja_test` on windows (as opposed to `ninja ninja_test.exe`). Also `ninja ninja`. | ||||
| * | Provide 'ninja' as alias for 'ninja.exe' too. Tidy up. | Nico Weber | 2012-04-30 | 1 | -2/+4 |
| | | |||||
| * | Provide 'ninja_test' as alias for 'ninja_test.exe' on windows. | Nico Weber | 2012-04-30 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #287 from nico/gtestnortti | Evan Martin | 2012-04-30 | 1 | -2/+3 |
|\ \ | |/ |/| | Fix ninja_test build with clang, build without rtti on windows. | ||||
| * | Explicitly pass -DGTEST_HAS_RTTI to fix building ninja_test with clang. | Nico Weber | 2012-04-30 | 1 | -1/+2 |
| | | |||||
| * | Build without RTTI on windows (/GR-), saves 1kB and is consisten with linux/mac. | Nico Weber | 2012-04-30 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #274 from polrop/max_load_average | Evan Martin | 2012-04-28 | 5 | -4/+51 |
|\ | | | | | Max load average | ||||
| * | Add -l N option to limit the load average. | Nicolas Despres | 2012-04-19 | 5 | -4/+51 |
| | | | | | | | | | | | | | | 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 |
| | | |||||
* | | emacs: hook up ninja-mode to extension | Evan Martin | 2012-04-28 | 1 | -0/+4 |
| | | |||||
* | | Merge pull request #282 from iwadon/fix-link-to-gplus | Evan Martin | 2012-04-28 | 1 | -1/+1 |
|\ \ | | | | | | | Fix a link to Google+ | ||||
| * | | Fix a link to Google+. | Hiroyuki Iwatsuki | 2012-04-28 | 1 | -1/+1 |
|/ / | |||||
* | | rearrange the manual | Evan Martin | 2012-04-27 | 1 | -127/+208 |
| | | | | | | | | | | | | | | | | | | My goals were: - shorten the introductory text, hopefully quickly answering the "why?" question first. - put the information relevant to ninja users (e.g. people using CMake who don't especially care about ninja) next, at the beginning. - consolidate the "generating ninja files" text below. | ||||
* | | manual: limit width to 45em | Evan Martin | 2012-04-27 | 1 | -1/+1 |
| | | | | | | | | | | I had a local user stylesheet that was doing this for all sites so I hadn't noticed how bad it was! | ||||
* | | suggest ninja -h when someone runs 'ninja help' | Evan Martin | 2012-04-26 | 1 | -0/+2 |
| | | |||||
* | | doc encoding support | Evan Martin | 2012-04-26 | 1 | -0/+4 |
| | | |||||
* | | allow UTF-8 in rule descriptions | Evan Martin | 2012-04-26 | 3 | -5/+12 |
| | | | | | | | | | | The lexer already mostly allowed this, except that chars >127 were being interpreted as negative indexes into the lexer table. | ||||
* | | Merge pull request #278 from tychoish/master | Evan Martin | 2012-04-26 | 1 | -1/+3 |
|\ \ | | | | | | | Minor Documentation Tweak | ||||
| * | | docs: clarifying that there can be only one command per rule | tycho garen | 2012-04-24 | 1 | -1/+3 |
| |/ | |||||
* | | reduce custom ninja status patch in minor ways | Evan Martin | 2012-04-26 | 3 | -128/+53 |
| | | | | | | | | | | 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 | 4 | -51/+216 |
|\ \ | |||||
| * | | Refactor and test progress status formatting. | Nicolas Despres | 2012-04-24 | 3 | -69/+140 |
| | | | |||||
| * | | Introduce NINJA_STATUS env var for customization. | Nicolas Despres | 2012-04-24 | 2 | -2/+96 |
| | | | | | | | | | | | | | | | | | | 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 | 2 | -13/+13 |
| |/ | |||||
* | | Merge pull request #272 from nico/statstweak | Evan Martin | 2012-04-26 | 1 | -3/+3 |
|\ \ | | | | | | | Switch the order of total and avg columns in -d stats output. | ||||
| * | | Switch the order of total and avg columns in -d stats output. | Nico Weber | 2012-04-17 | 1 | -3/+3 |
| |/ | |||||
* | | Merge pull request #269 from sgraham/explain | Evan Martin | 2012-04-26 | 7 | -10/+73 |
|\ \ | | | | | | | 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 | 7 | -10/+73 |
| |/ | |||||
* | | 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. | ||||
* | | | Merge branch 'dont-clean-phony' of git://github.com/pcc/ninja | Evan Martin | 2012-04-26 | 2 | -9/+36 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: src/clean.cc | ||||
| * | | | Don't delete phony targets when cleaning a specified target | Peter Collingbourne | 2012-02-28 | 2 | -7/+34 |
| |/ / | | | | | | | | | | Also, modify Cleaner::CleanAll to use Edge::is_phony. | ||||
* | | | Merge pull request #207 from iwadon/fix-configure.py-windows | Evan Martin | 2012-04-26 | 1 | -3/+6 |
|\ \ \ | |_|/ |/| | | Fix configure.py for unpacked gtest on Windows platform. | ||||
| * | | Just add /nologo to gtest_cflags, instead of use cflags + gtest_cflags | Hiroyuki Iwatsuki | 2012-01-25 | 1 | -3/+3 |
| | | | |||||
| * | | Fix configure.py for unpacked gtest on Windows platform. | Hiroyuki Iwatsuki | 2012-01-25 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | | | | -Use /EHsc instead of -fvisibility=hidden -Use valid objext -Use cflags + gtest_cflags | ||||
* | | | Merge pull request #252 from qhuo/remove-depfile-when-cleaning | Evan Martin | 2012-04-11 | 2 | -0/+34 |
|\ \ \ | | | | | | | | | Remove depfiles when running "ninja -t clean <target>" or "ninja -t clean -r <rule>" | ||||
| * | | | Remove depfiles when running when running "ninja -t clean <target>" | Qingning Huo | 2012-03-14 | 2 | -0/+34 |
| | | | | | | | | | | | | | | | | or "ninja -t clean -r <rule>" | ||||
* | | | | Merge pull request #265 from mathstuf/dev/verbose-bootstrap | Evan Martin | 2012-04-10 | 1 | -2/+16 |
|\ \ \ \ | | | | | | | | | | | Allow the bootstrap to be verbose | ||||
| * | | | | Allow the bootstrap to be verbose | Ben Boeckel | 2012-03-30 | 1 | -2/+16 |
| | | | | | |||||
* | | | | | Merge pull request #253 from qhuo/include-io.h | Evan Martin | 2012-04-10 | 1 | -0/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix windows build (add #include <io.h>) | ||||
| * | | | | | Fix windows build (add #include <io.h>) | Qingning Huo | 2012-03-15 | 1 | -0/+1 |
| | |/ / / | |/| | | | |||||
* | | | | | Make |log_| variable private to BuildLog. | Evan Martin | 2012-04-05 | 2 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix the TODO in build_log.h file. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | | | | Merge pull request #263 from mathstuf/dev/gcc-470-build-fixes | Evan Martin | 2012-04-05 | 3 | -0/+3 |
|\ \ \ \ \ | | | | | | | | | | | | | Include unistd.h where needed | ||||
| * | | | | | Include unistd.h where needed | Ben Boeckel | 2012-03-28 | 3 | -0/+3 |
| | |/ / / | |/| | | | |||||
* | | | | | Merge pull request #260 from sgraham/rspfile_syntax | Evan Martin | 2012-04-05 | 1 | -1/+5 |
|\ \ \ \ \ | | | | | | | | | | | | | add rspfile and rspfile_content to ninja_syntax | ||||
| * | | | | | add rspfile and rspfile_content to ninja_syntax | Scott Graham | 2012-03-27 | 1 | -1/+5 |
| |/ / / / | |||||
* | | | | | Merge pull request #259 from usovalx/distcc_depfile_fix | Evan Martin | 2012-04-05 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | Explicitly specify target name for gcc depfiles |