| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Add Haiku support.
|
|/ |
|
|\
| |
| | |
Adds dyndep support to ninja_syntax.py.
|
|/ |
|
|\
| |
| | |
Fixed processor count detection on Windows
|
| |
| |
| |
| | |
needed on 32-bit builds (following code review)
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
Co-Authored-By: Takuto Ikuta <atetubou@gmail.com>
|
| |
| |
| |
| | |
(i.e. >64 processors) are present
|
|\ \
| | |
| | | |
Added fuzzer with build script and seed
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
cmake: Use modern add_test signature
|
|/ /
| |
| |
| |
| |
| | |
Using this modern signature makes CMake/CTest use the effective
binary path and works also with multi-config generators which put
binaries in extra `Release` folders.
|
| | |
|
|\ \
| | |
| | | |
[clang-tidy] add explicit to single argument constructors
|
| | |
| | |
| | |
| | |
| | |
| | | |
Found with google-explicit-constructor
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|\ \ \
| | | |
| | | | |
[clang-tidy] simplify boolean expression
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Found with readability-simplify-boolean-expr
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|\ \ \
| | | |
| | | | |
Replace Travis CI with GitHub Actions
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Suppress MSVC warnings
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* D9025: overriding '/GR' with '/GR-'
* C4100: 'argc': unreferenced formal parameter
* C4244: '=': conversion from 'int' to 'char', possible loss of data (on tolower)
* C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data
* C4702: unreachable code (after Fatal)
* C4706: assignment within conditional expression
* C4996: 'strcpy': This function or variable may be unsafe
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add unique IDs to edges
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Edges are nominally ordered by order in the build manifest, but in
fact are ordered by memory address. In most cases the memory address
will be monontonically increasing. Since serialized build output will
need unique IDs, add a monotonically increasing ID to edges, and use
that for sorting instead of memory address.
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
[clang-tidy] fix inconsistent declarations
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Found with readability-inconsistent-declaration-parameter-name
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add FreeBSD support to GetProcessorCount
|
|/ / / / / |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix building on AIX
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Both hash_collision_bench and manifest_parser_perftest crash on AIX with
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
IOT/Abort trap (core dumped)
32-bit AIX applications by default allocates only a single 256M segment
for stack and heap for 32-bit applications, which is insufficient for
these tests. When building these tests on AIX in 32-bit mode, increase
the max number of segments so they will run without crashing.
|
| | | | | | |
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix buffer overread in hash_collision_benchmark.cc
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The randomly generated command strings are not null-terminated and
implicitly converted to StringPiece objects, which will use strlen to
determine how long the passed `char*` is. Without the null terminator,
this results in undefined behavior and regularly causes crashes on AIX.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Fix mulit-configuration bug
|
|/ / / /
| | | |
| | | |
| | | | |
multi-configuration generators for building ninja.
|
|\ \ \ \
| |_|/ /
|/| | | |
[clang-tidy] remove pointless string init
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Found with readability-redundant-string-init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|\ \ \
| | | |
| | | | |
GitHub Actions: Run more tests on Ubuntu 20.04 (Docker)
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
cmake: Use ${CMAKE_COMMAND} instead of `cmake`
|
|/ / /
| | |
| | |
| | |
| | | |
Not all users have `cmake` on their PATH and this causes a build
failure.
|
|\ \ \
| | | |
| | | | |
Handle process signalling correctly on AIX
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
POSIX shells set the exit code to 128 + the signal number, which
coincidentally matches the layout used by the WIFSIGNALLED/WTERMSIG
macros on most Unix-like systems, but not on AIX. Instead, AIX stores
the signal value in the bottom 8 bits and also bits 16-23. The only time
ninja currently handles signals correctly is when the shell used to call
the program dies via signal.
To handle both scenarios, we detect the shell exit code format and
convert it to the format that the WIFSIGNALED/WTERMSIG macros expect.
Fixes #1623
|