summaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
...
* merge StatCache into StateEvan Martin2011-12-071-1/+1
| | | | | | I think I had originally imagined StatCache would contain more state, but at this point it's clear it was just managing a single map, which could just as well be in the already-small State object.
* more whitespace in build outputEvan Martin2011-12-051-0/+1
|
* disable the 'unused parameter' warningEvan Martin2011-12-051-1/+4
| | | | It was firing too often, and hadn't uncovered any bugs.
* Merge pull request #150 from luislavena/mingw-no-visibilityEvan Martin2011-12-051-0/+1
|\ | | | | visibility=hidden should not be used for Windows
| * visibility=hidden should not be used for WindowsLuis Lavena2011-12-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | While GCC 4.x supports the usage of -fvisibility=hidden and the related pragmas, usage of it under MinGW is a noop and should not be used. Instead, __declspec(dllexport/dllimport) should be used instead to indicate exportable functions. Since Ninja builds a static library, no functions are exported and visibility, at least under MinGW, is not an issue.
* | Use g++'s -static option instead of specific libsLuis Lavena2011-12-051-1/+1
|/ | | | | | | | MinGW g++ recognizes -static as option to avoid the need to specify individual libraries to be statically linked into the executable. It also solves the warning of -static-libstdc++ not being recorgnized by GCC 4.5.2 (TDM build)
* configure.py: windows updatesEvan Martin2011-12-021-25/+28
| | | | | - Drop unused 'windows' platform - Make 'mingw' platform actually work on mingw-on-Windows.
* Revert "Merge pull request #143 from cipriancraciun/patches/python2"Evan Martin2011-11-251-1/+1
| | | | | | | This reverts commit 38ab41f45ff818b437942b753328a0168914fc86, reversing changes made to 819d6347b424f583d651b86dd1280605ddb23b88. Platforms that don't have /usr/bin/python pointing to python2 are broken.
* Fixed Python 2 scripts prologue (i.e. `#!/usr/bin/env python2`).Ciprian Dorin, Craciun2011-11-221-1/+1
|
* Add -Wextra warning flag.Nicolas Despres2011-11-191-1/+1
| | | | | | | Fix triggered warnings: - unused parameter - type qualifiers ignored on function return type - missing initializer for member
* Fix duplicated list of profilers.Nicolas Despres2011-11-191-1/+1
|
* fix TODO: correct dependencies for inline.shEvan Martin2011-11-131-4/+2
| | | | | | Not sure why I just didn't write this right the first time; when running a script for its output, the script is always an implicit input of the output.
* Add a EditDistance() function based on the one in ↵Nico Weber2011-11-131-2/+4
| | | | llvm/lib/Support/StringRef.cpp.
* Implement generator rulesPeter Collingbourne2011-10-151-1/+2
| | | | | | | | | | | | | Introduce a rule attribute "generator" which, if present, specifies that this rule is used to re-invoke the generator program. Files built using generator rules are treated specially in two ways: firstly, they will not be rebuilt if the command line changes; and secondly, they are not cleaned by default. A command line flag "-g" is introduced for the clean tool, which causes it to remove generator files. Fixes issue #102.
* Disable assertion checks unless --debug is enabledPeter Collingbourne2011-09-241-1/+1
|
* delete .a files before adding to them with arEvan Martin2011-09-141-1/+1
| | | | | | | ar doesn't have a mode to just rebuild the file from scratch, so delete it manually. Fixes issue #105.
* Split ninja_test.cc into state_test.cc and disk_interface_test.ccThiago Farina2011-09-111-3/+11
| | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* link gtest code with -lpthreadEvan Martin2011-09-091-1/+1
| | | | I broke this in a refactoring.
* Move EvalString tests to eval_env_test.ccThiago Farina2011-09-091-2/+2
| | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Merge branch 'master' of github.com:martine/ninjaEvan Martin2011-09-081-3/+3
|\ | | | | | | | | Conflicts: configure.py
| * Merge pull request #96 from tfarina/disk-interface-testEvan Martin2011-09-071-3/+3
| |\ | | | | | | Move DiskInterfaceTest into its own source file.
| | * Move DiskInterfaceTest into its own source file.Thiago Farina2011-09-071-3/+3
| | | | | | | | | | | | | | | | | | TEST=ninja_test --gtest_filter=DiskInterface* Signed-off-by: Thiago Farina <tfarina@chromium.org>
* | | allow --with-gtest flag to use unpacked gtest dirEvan Martin2011-09-071-9/+26
|/ / | | | | | | Useful for building on Macs.
* | preserve configure.py params across re-runsEvan Martin2011-09-061-1/+4
| |
* | build only the main binary by defaultEvan Martin2011-09-061-0/+4
| |
* | make --profile take an argument to use either gmon or google-pprofEvan Martin2011-09-061-3/+7
|/
* Factor out State struct from ninja_jumble.cc into its header/source files.Thiago Farina2011-09-031-2/+1
| | | | | | This was a TODO in src/ninja_jumble.cc. Now this task is completed. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Merge pull request #82 from tfarina/disk-interfaceEvan Martin2011-08-231-1/+1
|\ | | | | Factor out DiskInterface class into its own source/header files.
| * Factor out DiskInterface class into its own source/header files.Thiago Farina2011-08-101-1/+1
| | | | | | | | | | | | This is a TODO in src/ninja_jumble.cc Signed-off-by: Thiago Farina <tfarina@chromium.org>
* | Update configure.py for ninja module renameRichard Larocque2011-08-171-2/+2
|/
* add a --debug option to configureEvan Martin2011-07-251-1/+5
|
* use /usr/bin/env to find python interpreterGrzegorz Blach2011-06-201-1/+1
|
* ninja: Split StatCache struct into its own header file.Thiago Farina2011-05-311-1/+1
| | | | | | Note: This is a TODO in ninja_jumble.cc. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* add --profile configure flagEvan Martin2011-05-251-0/+5
|
* add a test program for evaluating depfile parse speedEvan Martin2011-05-251-0/+7
|
* fix the error: 'asciidoc: To many arguments'Hiroyuki Iwatsuki2011-05-151-1/+1
|
* move various doc files out of top-level directoryEvan Martin2011-05-141-5/+7
|
* remove order-only hacks now that semantics changedEvan Martin2011-05-131-4/+3
|
* make platform a command-line arg to configureEvan Martin2011-05-091-9/+19
|
* rename gen-build-file to configureEvan Martin2011-05-091-0/+183
Change it so it always writes build.ninja; easier to run directly.