Jan Niklas Hasse
64ebbcb31a
Merge pull request #1748 from scivision/opts
...
enable Intel, IBM XL, and PGI compilers without header/source changes
2020-04-06 09:01:47 +02:00
Michael Hirsch, Ph.D
418d59b8a6
only apply optional flags when compiler works
2020-04-06 02:38:13 -04:00
Jan Niklas Hasse
8900fa55b5
Merge pull request #1637 from beevik/windows-create-process-fix
...
Improve error messages when ninja commands fail on Windows.
2020-03-26 22:55:26 +01:00
Jan Niklas Hasse
b50e1e3bc6
Merge pull request #1756 from floppym/readme
...
Replace references to README with README.md
2020-03-23 14:20:56 +01:00
Mike Gilbert
b748d08561
Replace references to README with README.md
...
The README file was renamed to README.md in commit
a37da20ae7
.
2020-03-20 19:38:26 -04:00
Jan Niklas Hasse
1f3cc7b720
Merge pull request #1742 from scivision/cmake
...
CMake: modernize
2020-03-03 11:10:02 +01:00
Michael Hirsch, Ph.D
ea16698e0a
cmake: append instead of set(x ...)
2020-02-20 22:14:27 -05:00
Michael Hirsch, Ph.D
e6f5bcffb3
cmake: remove redundant cmake_policy()
...
cmake_minimum_required(VERSION 3.15) implicitly sets to NEW all
policies from CMP0094 and older
2020-02-20 22:14:27 -05:00
Jan Niklas Hasse
2ca4c711f7
Merge pull request #1744 from scivision/htmlesc
...
browse.py: use html.escape for python3
2020-02-20 11:08:20 +01:00
Jan Niklas Hasse
39cf5266dd
Merge pull request #1745 from scivision/ciupdate
...
CI: update CMake use
2020-02-20 11:07:24 +01:00
Michael Hirsch, Ph.D
f24d01e83c
ci: use latest checkout action
2020-02-19 06:05:44 -05:00
Michael Hirsch, Ph.D
5ae2ce8f55
ci: use contemporary CMake commands and use latest CMake
2020-02-19 06:05:21 -05:00
Michael Hirsch, Ph.D
4d744de3ee
browse.py: use html.escape for python3
...
fixes #1741
fixes #1736
2020-02-19 05:55:46 -05:00
Jan Niklas Hasse
9fd5d3e00b
Merge pull request #1737 from rezso/patch-1
...
Add install target to CMake build
2020-02-10 13:31:14 +01:00
rezso
34d1bf2f1d
Add install target to CMake build
2020-02-08 19:08:06 +01:00
Jan Niklas Hasse
4853c4d6f1
Merge pull request #1734 from xlotlu/patch-1
...
fix typo
2020-02-07 22:20:46 +01:00
Ionuț Ciocîrlan
416d529efe
fix typo
2020-02-07 02:15:34 +02:00
Jan Niklas Hasse
9119166b4c
Drop deprecated bootstrap.py
2020-02-05 18:11:01 +01:00
Jan Niklas Hasse
12fe8b6ea8
clang-format: Do not derive pointer binding from file
...
See https://github.com/ninja-build/ninja/pull/1438#issuecomment-483353542
2020-02-05 18:08:54 +01:00
Jan Niklas Hasse
b8e3841d69
Merge pull request #1726 from mathstuf/manual-manifest-reference
...
manual: remove "manifest" reference from the manual
2020-01-30 09:31:51 +01:00
Ben Boeckel
0644463f57
manual: remove "manifest" reference from the manual
...
Nothing else describes what a "manifest" is in user-facing docs.
2020-01-29 14:06:30 -05:00
Jan Niklas Hasse
08ecbd6c15
mark this 1.10.0.git
2020-01-27 11:35:41 +01:00
Jan Niklas Hasse
0ccc7886fd
Merge pull request #1624 from bungeman/patch-1
...
Recommend MD over MMD for header dependencies.
2020-01-19 13:16:06 +01:00
Jan Niklas Hasse
adcf925c45
Add short doc for cleandead tool, fix #1716
2020-01-18 13:08:18 +01:00
Jan Niklas Hasse
e6d5140022
Merge pull request #1719 from jhasse/cmake-static-msvc
...
CMake: Use static MSVC runtime, fixes #1692
2020-01-18 12:53:28 +01:00
Jan Niklas Hasse
e0f4e3406d
GitHub Actions: Split Windows and macOS workflows
...
Somehow `$(find ./build -name ninja -or -name ninja.exe)` stopped
working on Windows.
2020-01-18 00:17:38 +01:00
Jan Niklas Hasse
f2cf7a45c0
CMake: Use static MSVC runtime, fixes #1692
2020-01-17 23:38:12 +01:00
Jan Niklas Hasse
d986e4db56
restat: No need for loading build.ninja
...
This results in a huge speed up for large builds (e.g. Chromium). See
#1718 .
2020-01-16 23:50:57 +01:00
Jan Niklas Hasse
d47e1eb00d
restat: Accept list of outputs to restat (none means all)
...
This will become handy when the generator only wants to restat the
build.ninja entry in the log. See #1718 .
2020-01-16 23:10:52 +01:00
Jan Niklas Hasse
26fc40c59a
Merge pull request #1616 from jhasse/contributing-md
...
Use short CONTRIBUTING.md instead of HACKING.md
2020-01-16 16:12:03 +01:00
Jan Niklas Hasse
dfd4c4e370
Merge pull request #1712 from jhasse/centos-7
...
GitHub Actions: Use CentOS 7 for Linux, fix #1533
2020-01-09 08:10:55 +01:00
Jan Niklas Hasse
659d9d9f77
Merge pull request #1717 from crondog/buildperftests
...
Build performance tests with CMake. Fixes #1708
2020-01-08 11:53:41 +01:00
crondog
c6c607ee7e
Build performance tests with CMake. Fixes #1708
...
They are only built and not run with CTest
2020-01-08 21:43:35 +11:00
Jan Niklas Hasse
bab5626e57
Merge pull request #1432 from ikifof/clean_dead_outputs
...
Adding a tool to remove dead outputs.
2020-01-05 00:19:19 +00:00
Jan Niklas Hasse
c44d3406ba
Merge branch 'master' into clean_dead_outputs
2020-01-04 17:34:13 +00:00
Jan Niklas Hasse
1c5857c37d
Merge pull request #1534 from mathstuf/remove-depslog-restriction
...
manifest_parser: remove multi-output depslog restriction
2020-01-04 13:31:23 +00:00
Jan Niklas Hasse
23a628f3c8
Merge pull request #1685 from jhasse/restat
...
Add restat tool which recalculates all mtimes in the build log
2020-01-04 13:21:10 +00:00
Jan Niklas Hasse
1f02bc192a
Fix logic-error in IsPathDead, see #1432
...
The conditional `(!n || !n->in_edge()) && ` was moved up. It now needs
to be inversed because there's a `return false;`. See
3beebde51a (diff-78294872cbf9d32f4f972288561fa718R146)
and
https://github.com/ninja-build/ninja/pull/1432#discussion_r321827528
2019-12-27 22:03:52 +01:00
Andreas Kempf
35169ddf47
Fix error handling for getcwd
...
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.
2019-12-27 15:54:42 +01:00
Jan Niklas Hasse
66b746044d
Add a short documentation for restat tool
2019-12-23 14:34:52 +01:00
Jan Niklas Hasse
791c887e22
Ignore nonexistent .ninja_log/.ninja_deps for restat and recompact
2019-12-23 14:11:09 +01:00
Jan Niklas Hasse
8f87ee0469
Add restat tool which recalculates all mtimes in the build log
2019-12-23 14:11:09 +01:00
Jan Niklas Hasse
a67718de4e
Run output test in temporary directory
2019-12-23 14:08:59 +01:00
KOLANICH
94c66fd01a
Add .editorconfig
...
See https://editorconfig.org/ for more info.
2019-12-22 14:12:43 +01:00
Jan Niklas Hasse
ca08c43c0e
Remove some outdated lines from .gitignore
2019-12-20 14:58:19 +01:00
Jan Niklas Hasse
77a630e78b
GitHub Actions: Use CentOS 7 for Linux, fix #1533
2019-12-20 13:40:33 +01:00
Michael Jones
0c84b0ebd7
Enable Link Time Optimization for Release builds ( #1701 )
2019-12-03 22:46:56 +01:00
Michael Jones
c90a078edb
Ignore Qt Creator project files ( #1702 )
2019-12-03 22:26:42 +01:00
Michael Jones
ba156d093c
Have Github Actions also run tests ( #1697 )
2019-12-02 09:56:55 +01:00
Jan Niklas Hasse
3b82f99a88
Merge pull request #1666 from Helenerineium/master
...
Fix warnings on mingw builds
2019-11-24 13:14:09 +01:00