| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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.
|
| | |
|
| | |
|
|/
|
|
| |
multi-configuration generators for building ninja.
|
|
|
|
|
| |
Not all users have `cmake` on their PATH and this causes a build
failure.
|
| |
|
| |
|
|
|
|
| |
option provided by cmake's Module CTest
enable_testing() is call by this Module
|
|
|
|
|
|
|
| |
Browse mode requires a number of POSIX features to be available.
This commit adds configure-time checks that the 'unistd.h' header is
available and that the `inline.sh` script executes successfully. If the
checks pass then browse mode is enabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes ninja-build/ninja#1822, fixes ninja-build/ninja#1853
Adds support for `ninja -t browse` to CMake builds.
The platform support logic is copied from configure.py, so Windows,
Solaris and AIX are treated as 'unsupported' platforms. All other
platforms are assumed to be supported.
As discussed in #1853, when built via CMake the `ninja` executable
looks for a binary called `python` in the current path, in order to
launch the "browse" mode. The behaviour differs from that of the
configure.py script, which looks for a python executable that has the
*same name* as the python executable that invoked the configure script.
|
|
|
|
|
|
|
|
|
| |
CMAKE_SOURCE_DIR refer to the full path to the top level of the current
CMake source tree
PROJECT_SOURCE_DIR refer to the source directory of the last call to the
project() command made in the current directory scope or one of its parents
when ninja is use as a subproject, the build fail because of this.
|
| |
|
| |
|
|
|
|
|
| |
cmake_minimum_required(VERSION 3.15) implicitly sets to NEW all
policies from CMP0094 and older
|
| |
|
| |
|
|
|
|
| |
They are only built and not run with CTest
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|