aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix amalgamation pragma for SSE 4.1Jack Lloyd2018-01-281-0/+6
| | | | Missed by Travis builds because GCC is too old there.
* Fix headers of command line docsJack Lloyd2018-01-211-5/+27
| | | | | | | Sphinx and rst2man want slightly different things, so just edit the Sphinx-formatted ReST into a file in build dir Fixes #1398
* Use build_paths to refer to BuildPaths objectJack Lloyd2018-01-211-32/+32
| | | | build_config makes it sound like it is something besides just path info
* Logic cleanupsJack Lloyd2018-01-211-30/+25
|
* Hide --with-cmake in help outputJack Lloyd2018-01-211-2/+2
| | | | If you don't know it's there you probably shouldn't be using it.
* Add configure.py --list-os-featuresJack Lloyd2018-01-191-8/+30
| | | | GH #1422
* Do not generally choose eg++ compiler on OpenBSD.Alexander Bluhm2018-01-161-6/+5
| | | | | | | | As three OpenBSD architectures have moved to clang as base compiler, use clang if it is available. Use gcc from ports as fallback. Then the binary name has to be set manually as auto configuration would confuse the OpenBSD ports framework. The old assembler is used only by gcc.
* Add support for --library-suffix optionJack Lloyd2018-01-121-3/+8
| | | | Fixes GH #1404
* Merge GH #1378 Use OS feature flags instead of OS name for enabling system ↵Jack Lloyd2018-01-091-15/+35
|\ | | | | | | specific code
| * Lint fixesJack Lloyd2017-12-301-3/+6
| |
| * Test OS features by the feature vs the OS nameJack Lloyd2017-12-301-15/+32
| |
* | Remove CPU specific optimization flagsJack Lloyd2018-01-081-88/+33
| | | | | | | | | | | | | | These are best left to the user to set via CXXFLAGS or --cc-abi-flags Add override if arch ends in in {eb, el, be, le} to set the endian. Avoids an extra file for ppc64le.
* | Fix bug when release date is setJack Lloyd2018-01-081-1/+1
| |
* | Add ability to disable use of SHA intrinsics [ci skip]Jack Lloyd2018-01-041-1/+1
| |
* | Avoid a warning under Clang when building amalgamationJack Lloyd2018-01-011-2/+2
| | | | | | | | It defines __GNUG__ then complains it doesn't understand a GCC pragma.
* | Fix build issue affecting Sun CCJack Lloyd2017-12-311-1/+13
| | | | | | | | | | | | | | | | If the ar command and the compiler have the same name in the config, and the user overrode the path to the compiler, take that as the ar command also. Fixes #851
* | Add version detection for XLC [ci skip]Jack Lloyd2017-12-311-2/+6
|/ | | | | We don't need it right now but may later and it avoids a scary warning when configuring the build.
* Support regexes for OS aliasesJack Lloyd2017-12-301-4/+13
| | | | | Needed for mingw which has unames like mingw32_nt-6.3 and thus varies based on the underlying version. Might be useful elsewhere.
* Add exceptions to mach_abi_linking groupsJack Lloyd2017-12-231-4/+14
| | | | | Allows avoiding -pthread on Haiku which doesn't support that flag. (Even though it has pthreads, go figure...)
* Build improvementsJack Lloyd2017-12-231-5/+15
| | | | | | | | | | Derive the fact that shared libs are not supported from the lack of information about shared object names. If soname_suffix and co are not set -> shared libs are disabled. Disable stack protector by default on OSes where it has proven a problem namely AIX and Haiku. Add --with-stack-protector option to force turning it on.
* Always note if shared lib is being disabled due to platform limitationsJack Lloyd2017-12-231-3/+7
|
* Fix MSVC version detectionJack Lloyd2017-12-171-1/+2
| | | | | It has two flags for the preprocessor, and we were passing them as a single argument which made cl mad.
* Address review comments: indent code and fix clang regexJack Lloyd2017-12-141-3/+3
|
* Detect the compiler version using the preprocessor instead of command lineJack Lloyd2017-12-141-93/+41
| | | | Fixes #1314
* Simplify how make flags are setJack Lloyd2017-12-121-2/+1
|
* Remove vestigial handling of removed options [ci skip]Jack Lloyd2017-12-121-24/+2
| | | | | The --destdir option was removed in 2.2.0, and the amalgamation options were removed before 2.0.0
* Add ability to generate man page with rst2man fixing #1349Jack Lloyd2017-12-111-7/+21
|
* Merge GH #1351 Cleanup macro generation in build.hJack Lloyd2017-12-111-112/+56
|\
| * Rename SSE4.x names to avoid underscoresJack Lloyd2017-12-111-1/+6
| | | | | | | | | | | | This breaks how we determine the ISA flags for amalgamation files. The code for doing that is kind of a hack but I don't want to mess with it right now, easier to just rename the ISA internally.
| * Remove an unused feature allowing one module to pull in a file from anotherJack Lloyd2017-12-111-17/+4
| | | | | | | | The last use of this was removed in #549
| * Finish with the CPU feature macrosJack Lloyd2017-12-111-12/+2
| |
| * Further cleanup of macro generation in build.hJack Lloyd2017-12-111-72/+42
| |
| * More simplificationsJack Lloyd2017-12-111-9/+9
| |
| * Clean up macro generationJack Lloyd2017-12-111-16/+8
| |
* | Handle map conversion within the lexer functionJack Lloyd2017-12-111-17/+25
|/
* Fix make clean targetJack Lloyd2017-12-111-0/+2
| | | | | | | | | | It removed the doc output dir, so this sequence: $ ./configure.py $ make clean $ make docs would fail
* Clarify platform log during configurationSimon Warta2017-12-111-1/+1
| | | | | | | - make clear that the logged platform is just the computer running the script and independent of configuration options - hide logging in non-verbose mode as user knows the machine running this
* Simplify this constructJack Lloyd2017-12-101-1/+1
|
* Fix bakefile arch setting for x86-32Jack Lloyd2017-12-101-0/+5
| | | | Restrict bakefile to x86 since thats all that is supported.
* Use copy.copyJack Lloyd2017-12-101-2/+3
| | | | Faster than deepcopy and sufficient for our purposes.
* Escape the shared build flags for CMakeJack Lloyd2017-12-101-0/+4
| | | | It needs this for Windows with its declspec syntax
* A couple of simple optimizationsJack Lloyd2017-12-101-9/+16
| | | | | | | Weirdly, copy.deepcopy of a set of str is much slower than just creating a new set - maybe because it is also copying the strings? But there is no need for that because while we edit the set we don't edit any members. Saves about 1.5 seconds on Pi2.
* Simplify how the build info is generatedJack Lloyd2017-12-101-111/+101
|
* Simplify house ECC curve code, and remove redundant fuzzer logicJack Lloyd2017-12-101-33/+22
|
* Use for loops in cmake and bakefile buildsJack Lloyd2017-12-101-128/+53
|
* Use template file to generate bakefileJack Lloyd2017-12-101-74/+26
|
* Generate the CMake using a template fileJack Lloyd2017-12-101-176/+69
| | | | Less code in configure.py == betters
* Add basic iteration constructs to template filesJack Lloyd2017-12-101-46/+97
| | | | Eliminates the last bits of makefile-specific syntax from configure.py
* Add an option to generate PDF version of the documentationJack Lloyd2017-12-061-19/+34
| | | | Fixes #1337
* Fix typos in configure.pyFelix Yan2017-12-061-2/+2
|