Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add 'inputs' tool to print out all inputs for a set of targets | Nicolas Arciniega | 2020-02-03 | 2 | -1/+37 |
| | |||||
* | Merge pull request #1726 from mathstuf/manual-manifest-reference | Jan Niklas Hasse | 2020-01-30 | 1 | -1/+1 |
|\ | | | | | manual: remove "manifest" reference from the manual | ||||
| * | manual: remove "manifest" reference from the manual | Ben Boeckel | 2020-01-29 | 1 | -1/+1 |
|/ | | | | Nothing else describes what a "manifest" is in user-facing docs. | ||||
* | mark this 1.10.0.git | Jan Niklas Hasse | 2020-01-27 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1624 from bungeman/patch-1 | Jan Niklas Hasse | 2020-01-19 | 1 | -2/+2 |
|\ | | | | | Recommend MD over MMD for header dependencies. | ||||
| * | Recommend MD over MMD for header dependencies. | bungeman | 2019-08-06 | 1 | -2/+2 |
| | | | | | | The MMD flag will silently omit includes found through pointy brackets or system include paths. This can lead to issues not only when system headers change, but any paths included through the isystem flag. Because the isystem flag implicitly turns off warnings as errors it has often come to be used as a "not my code" flag used with local third party dependencies which may be frequently updated or changed for debugging. As a result, it is far safer to default to MD (which includes all include dependencies) in this example. | ||||
* | | Add short doc for cleandead tool, fix #1716 | Jan Niklas Hasse | 2020-01-18 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #1719 from jhasse/cmake-static-msvc | Jan Niklas Hasse | 2020-01-18 | 3 | -22/+58 |
|\ \ | | | | | | | CMake: Use static MSVC runtime, fixes #1692 | ||||
| * | | GitHub Actions: Split Windows and macOS workflows | Jan Niklas Hasse | 2020-01-17 | 2 | -21/+55 |
| | | | | | | | | | | | | | | | Somehow `$(find ./build -name ninja -or -name ninja.exe)` stopped working on Windows. | ||||
| * | | CMake: Use static MSVC runtime, fixes #1692 | Jan Niklas Hasse | 2020-01-17 | 1 | -1/+3 |
| | | | |||||
* | | | restat: No need for loading build.ninja | Jan Niklas Hasse | 2020-01-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | This results in a huge speed up for large builds (e.g. Chromium). See #1718. | ||||
* | | | restat: Accept list of outputs to restat (none means all) | Jan Niklas Hasse | 2020-01-16 | 4 | -8/+43 |
| | | | | | | | | | | | | | | | This will become handy when the generator only wants to restat the build.ninja entry in the log. See #1718. | ||||
* | | | Merge pull request #1616 from jhasse/contributing-md | Jan Niklas Hasse | 2020-01-16 | 5 | -274/+85 |
|\ \ \ | |/ / |/| | | Use short CONTRIBUTING.md instead of HACKING.md | ||||
| * | | Add basic build instructions to the README | Jan Niklas Hasse | 2019-11-24 | 1 | -4/+31 |
| | | | |||||
| * | | Use short CONTRIBUTING.md instead of HACKING.md | Jan Niklas Hasse | 2019-11-24 | 3 | -253/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Only the most important parts and some new guidelines in CONTRIBUTING.md. * Complete HACKING.md content moved to the GitHub wiki: https://github.com/ninja-build/ninja/wiki * README is now also Markdown formatted. | ||||
| * | | Rename HACKING.md to CONTRIBUTING.md | Jan Niklas Hasse | 2019-11-24 | 1 | -0/+0 |
| | | | |||||
* | | | Merge pull request #1712 from jhasse/centos-7 | Jan Niklas Hasse | 2020-01-09 | 2 | -10/+56 |
|\ \ \ | | | | | | | | | GitHub Actions: Use CentOS 7 for Linux, fix #1533 | ||||
| * | | | GitHub Actions: Use CentOS 7 for Linux, fix #1533 | Jan Niklas Hasse | 2019-12-20 | 2 | -10/+56 |
| | | | | |||||
* | | | | Merge pull request #1717 from crondog/buildperftests | Jan Niklas Hasse | 2020-01-08 | 1 | -0/+12 |
|\ \ \ \ | | | | | | | | | | | Build performance tests with CMake. Fixes #1708 | ||||
| * | | | | Build performance tests with CMake. Fixes #1708 | crondog | 2020-01-08 | 1 | -0/+12 |
|/ / / / | | | | | | | | | | | | | They are only built and not run with CTest | ||||
* | | | | Merge pull request #1432 from ikifof/clean_dead_outputs | Jan Niklas Hasse | 2020-01-05 | 4 | -0/+108 |
|\ \ \ \ | | | | | | | | | | | Adding a tool to remove dead outputs. | ||||
| * \ \ \ | Merge branch 'master' into clean_dead_outputs | Jan Niklas Hasse | 2020-01-04 | 33 | -324/+1148 |
| |\ \ \ \ | |/ / / / |/| | | | | |||||
* | | | | | Merge pull request #1534 from mathstuf/remove-depslog-restriction | Jan Niklas Hasse | 2020-01-04 | 10 | -141/+378 |
|\ \ \ \ \ | | | | | | | | | | | | | manifest_parser: remove multi-output depslog restriction | ||||
| * | | | | | depfile_parser_test: test buggy -MP behavior | Ben Boeckel | 2019-11-20 | 3 | -2/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures the current behavior of rejecting this case due to `x` being reused as an input. | ||||
| * | | | | | depfile_parser: remove restriction on multiple outputs | Ben Boeckel | 2019-11-20 | 10 | -138/+344 |
| | | | | | | |||||
| * | | | | | build: add to deps log for each edge output | Ben Boeckel | 2019-11-20 | 1 | -7/+9 |
| | | | | | | |||||
* | | | | | | Merge pull request #1685 from jhasse/restat | Jan Niklas Hasse | 2020-01-04 | 9 | -24/+205 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Add restat tool which recalculates all mtimes in the build log | ||||
| * | | | | | | Add a short documentation for restat tool | Jan Niklas Hasse | 2019-12-23 | 1 | -0/+3 |
| | | | | | | | |||||
| * | | | | | | Ignore nonexistent .ninja_log/.ninja_deps for restat and recompact | Jan Niklas Hasse | 2019-12-23 | 8 | -26/+71 |
| | | | | | | | |||||
| * | | | | | | Add restat tool which recalculates all mtimes in the build log | Jan Niklas Hasse | 2019-12-23 | 4 | -0/+133 |
| | | | | | | | |||||
* | | | | | | | Fix logic-error in IsPathDead, see #1432 | Jan Niklas Hasse | 2019-12-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The conditional `(!n || !n->in_edge()) && ` was moved up. It now needs to be inversed because there's a `return false;`. See https://github.com/ninja-build/ninja/commit/3beebde51a2089ecb01820f1428efe0263deaeea#diff-78294872cbf9d32f4f972288561fa718R146 and https://github.com/ninja-build/ninja/pull/1432#discussion_r321827528 | ||||
* | | | | | | | Fix error handling for getcwd | Andreas Kempf | 2019-12-27 | 1 | -2/+4 |
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting from the Linux man page for errno, "The value in errno is significant only when the return value of the call indicated an error (i.e., -1 from most system calls; -1 or NULL from most library functions); a function that succeeds is allowed to change errno. The value of errno is never set to zero by any system call or library function." Successful calls to getcwd are allowed to set errno causing the compilation database not to be written. Spurious failures of this nature were observed on AIX. Adjust the error handling for getcwd so that errno is only checked if the call returned NULL. | ||||
* | | | | | | Run output test in temporary directory | Jan Niklas Hasse | 2019-12-23 | 1 | -4/+7 |
| | | | | | | |||||
* | | | | | | Add .editorconfig | KOLANICH | 2019-12-22 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | See https://editorconfig.org/ for more info. | ||||
* | | | | | | Remove some outdated lines from .gitignore | Jan Niklas Hasse | 2019-12-20 | 1 | -2/+1 |
| |_|/ / / |/| | | | | |||||
* | | | | | Enable Link Time Optimization for Release builds (#1701) | Michael Jones | 2019-12-03 | 1 | -0/+13 |
| | | | | | |||||
* | | | | | Ignore Qt Creator project files (#1702) | Michael Jones | 2019-12-03 | 1 | -0/+3 |
| | | | | | |||||
* | | | | | Have Github Actions also run tests (#1697) | Michael Jones | 2019-12-02 | 1 | -1/+2 |
| | | | | | |||||
* | | | | | Merge pull request #1666 from Helenerineium/master | Jan Niklas Hasse | 2019-11-24 | 2 | -2/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix warnings on mingw builds | ||||
| * | | | | | Fix warnings on mingw build | Helenerineium | 2019-11-23 | 2 | -2/+2 |
|/ / / / / | |||||
* | | | | | Merge pull request #1664 from Hi-Angel/constify-stuff3 | Jan Niklas Hasse | 2019-11-21 | 4 | -24/+24 |
|\ \ \ \ \ | | | | | | | | | | | | | More constification | ||||
| * | | | | | build.cc: constify BuildStatus | Konstantin Kharlamov | 2019-11-20 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru> | ||||
| * | | | | | build.cc: constify a map in BuildStatus | Konstantin Kharlamov | 2019-11-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modifying a key in C++ associative containers is UB. Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru> | ||||
| * | | | | | graph.cc: constify DependencyScan | Konstantin Kharlamov | 2019-11-20 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru> | ||||
| * | | | | | build.cc: constify a few Plan functions | Konstantin Kharlamov | 2019-11-20 | 2 | -13/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru> | ||||
| * | | | | | build.cc: constify a map key in RealCommandRunner | Konstantin Kharlamov | 2019-11-20 | 1 | -3/+3 |
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | Modifying a key in C++ associative containers is UB. Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru> | ||||
* | | | | | Merge pull request #1681 from nightlark/release-ninja-binaries | Jan Niklas Hasse | 2019-11-19 | 1 | -0/+72 |
|\ \ \ \ \ | |/ / / / |/| | | | | Add GitHub Actions workflow for building release binaries | ||||
| * | | | | Trigger test run for release builds on PRs | Ryan Mast | 2019-11-16 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Fix yaml lint (whitespace) errors in release action | Ryan Mast | 2019-11-15 | 1 | -6/+6 |
| | | | | | |||||
| * | | | | Strip unnecessary info from the Linux binary | Ryan Mast | 2019-10-31 | 1 | -0/+4 |
| | | | | |