summaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix test crashes on AIXKevin Adler2020-11-131-0/+5
| | | | | | | | | | | | | 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.
* Use c++ instead of g++Krzysztof Leśniak2020-08-011-1/+1
| | | | `configure.py` assumes `g++` is present on the system, which is not the case, e.g. for FreeBSD. `c++` should be used insted, which should be a link to system c++ compiler. This will be `g++` for linux, but `clang++` for FreeBSD.
* Replace references to README with README.mdMike Gilbert2020-03-201-1/+1
| | | | | The README file was renamed to README.md in commit a37da20ae74c81703b1c811182fc154d95ed46fe.
* Fix warnings on mingw buildHelenerineium2019-11-231-1/+1
|
* Fix MinGW bootstrap build by applying the fix in appveyor.yml permanently.Colin Finck2019-08-261-1/+1
|
* Enable build on IBM i platform (#1630)ThePrez2019-08-091-1/+6
| | | | * No perfstat for IBM i (OS400) AIX variant * Allow for future IBM i to identify as 'os400'
* Update WIN32_WINNT from 0x0501 (Windows XP) to 0x0601 (Windows 7) to support ↵Jesse McKenna2019-07-231-1/+1
| | | | processor-group Windows API
* Teach DependencyScan to load a dyndep fileBrad King2019-04-181-0/+1
| | | | | Add a LoadDyndeps method to load a dyndep file and update the edges that name it in their dyndep binding.
* Add a parser for a new "dyndep" file formatBrad King2019-04-181-0/+2
| | | | | | | | Define a file format suitable for specifying dynamically-discovered dependency information for build edges. Design a format inspired by the build manifest format and using the same lexer. Start with a required format version specification followed by "build" statements that add implicit inputs and outputs to existing edges.
* Factor out a base class of ManifestParserBrad King2019-04-181-0/+1
| | | | | | Create a Parser base class that holds parser functionality not specific to the build manifest file format. This will allow it to be re-used for other parsers later.
* Remove trailing whitespace from all filesJan Niklas Hasse2019-04-171-1/+1
|
* Fix older VS compatibility issues and PDB files generation issue. (#1435)ikifof2018-11-071-8/+15
| | | Fixes #1411.
* Merge pull request #1326 from 0-wiz-0/masterJan Niklas Hasse2018-11-051-1/+1
|\ | | | | Two fixes for NetBSD
| * Add NetBSD in another clause.Thomas Klausner2017-09-101-1/+1
| |
* | Port to AIX platform.Vasili Skurydzin2018-08-021-0/+5
| | | | | | | | Taking care of printf format specifiers and large files using compiler macros in configure.py
* | Honor CXXFLAGS in configure.pyRyan Schmidt2018-04-061-1/+5
|/
* Add support for DragonFly.Imre Vadász2017-06-101-3/+7
| | | | | DragonFly uses a fork of FreeBSD ports, and also uses the /usr/local prefix. And ppoll is also available in DragonFly.
* Add string_piece_utilTakuto Ikuta2017-04-261-0/+2
| | | | | | | | | | | | | Following functions are implemented for further performance optimization. * JoinStringPiece * SplitStringPiece * EqualsCaseInsensitiveASCII * ToLowerASCII To improve performance of CLParser, I will introduce above functions into include_normalize-win32.cc.
* Add clparser_perftestTakuto Ikuta2017-04-121-15/+11
|
* Need this to build on vs2017Refael Ackermann2017-02-041-1/+1
| | | | | | | | | | .\src\clparser.cc(56): note: see reference to function template instantiation '_OutIt std::transform<std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,int(__cdecl *)(int)>(_InIt,_InIt,_OutIt,_Fn1)' being compiled with [ _OutIt=std::_String_iterator<std::_String_val<std::_Simple_types<char>>>, _InIt=std::_String_iterator<std::_String_val<std::_Simple_types<char>>>, _Fn1=int (__cdecl *)(int) ] D:\bin\dev\VS\2017\BuildTools\VC\Tools\MSVC\14.10.24911\include\algorithm(946): warning C4244: '=': conversion from 'int' to 'char', possible loss of data
* FreeBSD supports ppoll(2)Pietro Cerutti2016-09-151-1/+1
|
* Make deps=msvc experimentally available on non-Windows.Nico Weber2016-04-061-0/+2
| | | | | | | | | This makes it possible to run most of the clparser tests on non-Windows, and is potentially useful for cross-compiling on non-Windows hosts. Also, the manual didn't document this as Windows-only previously. If you use this on non-Windows, please let me know, else I might undo this change again in the future.
* Merge pull request #1106 from nico/winfixNico Weber2016-02-051-5/+3
|\ | | | | win: Only drop /showIncludes in bootstrap builds.
| * win: Only drop /showIncludes in bootstrap builds.Nico Weber2016-02-051-5/+3
| | | | | | | | Fixes #1103.
* | MSVC: disable warning about constant conditional expressionsFrank Benkstein2016-02-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | The standard headers for Visual Studio 2008 generate a warning about constant conditional expressions when compiled with exception support disabled. This is caused by the _CATCH_ALL macro in xstddef which is defined thusly: #ifdef _HAS_EXCEPTIONS #define _CATCH_ALL } catch (...) { #else #define _CATCH_ALL } if (0) { #endif
* | fix for localized version of cl.exesphawk2016-01-251-1/+1
| |
* | when building with cwd = source root, use relative pathsEvan Martin2015-11-171-1/+6
| | | | | | | | | | | | | | | | The pull request that introduced building from a directory other than the source dir, https://github.com/ninja-build/ninja/pull/979, made it so all source paths are effectively absolute paths. This change restores the old behavior in the case when you are building in the source. See the comments there.
* | rename the build-file variable $sourcedir to $rootEvan Martin2015-11-171-6/+6
| | | | | | | | | | Confusingly, $sourcedir is the path to the root of the repository, *not* the path to the src/ directory.
* | put warning flags togetherEvan Martin2015-11-171-1/+1
| |
* | improve docs generation, including PDF outputEvan Martin2015-11-171-3/+9
|/ | | | | | - Fix the manual build rules (missing the .xsl as an input). - Add a README describing how the docs build works. - Add rules that generate PDF, just 'cause we can.
* Merge pull request #1007 from mikesep/aixEvan Martin2015-11-121-12/+39
|\ | | | | Support for AIX
| * Separate bootstrapped build from final buildMike Seplowitz2015-10-221-10/+23
| | | | | | | | AIX does not support rebuilding ninja in-place from the bootstrapped ninja.
| * Fix getopt for AIXMike Seplowitz2015-08-191-0/+2
| | | | | | | | | | | | | | AIX supplies getopt but not getopt_long. We can't use the embedded getopt implementation, since the constness of its arguments doesn't match the AIX system routine.
| * Implement GetLoadAverage on AIX using libperfstatMike Seplowitz2015-08-191-0/+3
| |
| * Start AIX portMike Seplowitz2015-08-191-2/+11
| |
* | Try to fix #685Nico Weber2015-11-111-1/+1
| |
* | Don't output null.o during configureScott Graham2015-08-271-1/+2
|/
* Set _HAS_EXCEPTIONS=0 on MSVCScott Graham2015-08-101-0/+1
|
* Fix bootstrap from a source path containing spaces.Jason Haslam2015-06-221-2/+6
|
* Search for generated headers relative to build dir.Jason Haslam2015-06-221-0/+3
|
* Allow configure script to bootstrap out of source.Jason Haslam2015-06-221-7/+10
|
* Revert "Bootstrap out of source"Nico Weber2015-06-221-13/+7
|
* Search for generated headers relative to build dir.Jason Haslam2015-05-261-0/+3
|
* Allow configure script to bootstrap out of source.Jason Haslam2015-05-261-7/+10
|
* Remove option no longer needed now that we don't use gtest.Nico Weber2015-03-101-1/+0
|
* Simplify. No behavior change.Nico Weber2015-03-101-2/+1
|
* Make diagnostics colored with new gccs (4.9+) too.Nico Weber2015-03-091-3/+6
| | | | | | Both clang and gcc understand -fdiagnostics-color, so use that flag name. (This will disable colored diagnostics for clangs older than LLVM 3.3, but that is several years old by now.)
* Test for Clang by checking --versionRyan Gonzalez2015-03-091-2/+6
|
* Fix compilation errors on Visual Studio 2015 (_MSC_VER 1900).Beren Minor2014-12-311-0/+2
|
* configure: add a verbose modeBen Boeckel2014-12-111-4/+13
| | | | | Required for Fedora infrastructure so that the commands used to build ninja are logged.