aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Add sanitizer-specific optimization flagsJack Lloyd2018-04-071-1/+16
|
* Make tests pass by default in UBSAN modeMatthias Gierlings2018-04-061-0/+5
| | | | | | | | - Adds macros to check if botan was compiled with a certain sanitizers. - Automatically excludes the tests that are intended to provoke undefined behaviour from the test bench, when botan is compiled with UBSAN. - Changes option `--avoid-undefined` to `--no-avoid-undefined` so the failing tests can be explicitly activated when needed.
* Move version.txt to src/build-dataJack Lloyd2018-04-041-1/+1
| | | | It is not useful for end-users so don't put it in the top level.
* Add --enable-sanitizers= flag to specify which sanitizers to useJack Lloyd2018-03-271-12/+30
| | | | Allows adding support for MSan with Clang and UBsan with GCC
* Add option to specify the MSVC runtimeJack Lloyd2018-03-211-13/+42
| | | | Fixes GH #210
* Fix --disable-{neon,sse2,altivec} for simd_32 usersJack Lloyd2018-03-181-7/+9
| | | | | Using --disable-neon was not effective because simd_32 users had special logic that would still enable it.
* Use RtlGenRandom instead of CryptoAPIJack Lloyd2018-03-141-7/+16
|
* Add a facility for debug-mode assertionsJack Lloyd2018-03-141-0/+1
| | | | | When we want to check something but it is to expensive to do so in normal builds.
* Fix some MinGW build issuesJack Lloyd2018-03-041-6/+12
| | | | See #1450 and #1456
* Fix pylint errorJack Lloyd2018-03-021-1/+1
|
* Log autodetected platform information at info levelJack Lloyd2018-03-021-3/+4
| | | | | This is useful when debugging problems from build logs like https://buildd.debian.org/status/package.php?p=botan&suite=sid
* Confirm arch wordsize is expected in configureJack Lloyd2018-03-011-0/+3
|
* Fix detection of specified-endian CPUs (eg ppc64le, armeb)Jack Lloyd2018-02-231-3/+6
|
* Merge GH #1448 Support custom curves in TLS handshakeJack Lloyd2018-02-191-35/+0
|\
| * Remove house curve supportJack Lloyd2018-02-131-35/+0
| |
* | Wrap line for lint [ci skip]Jack Lloyd2018-02-181-1/+6
| |
* | Add a flag to disable use of ARMv8 crypto extensions [ci skip]Jack Lloyd2018-02-151-1/+1
|/
* Detect compiler architecture at configure timeJack Lloyd2018-02-051-19/+50
| | | | Avoids build confusions like #1442
* 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
| |