Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add sanitizer-specific optimization flags | Jack Lloyd | 2018-04-07 | 1 | -1/+16 |
| | |||||
* | Make tests pass by default in UBSAN mode | Matthias Gierlings | 2018-04-06 | 1 | -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-data | Jack Lloyd | 2018-04-04 | 1 | -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 use | Jack Lloyd | 2018-03-27 | 1 | -12/+30 |
| | | | | Allows adding support for MSan with Clang and UBsan with GCC | ||||
* | Add option to specify the MSVC runtime | Jack Lloyd | 2018-03-21 | 1 | -13/+42 |
| | | | | Fixes GH #210 | ||||
* | Fix --disable-{neon,sse2,altivec} for simd_32 users | Jack Lloyd | 2018-03-18 | 1 | -7/+9 |
| | | | | | Using --disable-neon was not effective because simd_32 users had special logic that would still enable it. | ||||
* | Use RtlGenRandom instead of CryptoAPI | Jack Lloyd | 2018-03-14 | 1 | -7/+16 |
| | |||||
* | Add a facility for debug-mode assertions | Jack Lloyd | 2018-03-14 | 1 | -0/+1 |
| | | | | | When we want to check something but it is to expensive to do so in normal builds. | ||||
* | Fix some MinGW build issues | Jack Lloyd | 2018-03-04 | 1 | -6/+12 |
| | | | | See #1450 and #1456 | ||||
* | Fix pylint error | Jack Lloyd | 2018-03-02 | 1 | -1/+1 |
| | |||||
* | Log autodetected platform information at info level | Jack Lloyd | 2018-03-02 | 1 | -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 configure | Jack Lloyd | 2018-03-01 | 1 | -0/+3 |
| | |||||
* | Fix detection of specified-endian CPUs (eg ppc64le, armeb) | Jack Lloyd | 2018-02-23 | 1 | -3/+6 |
| | |||||
* | Merge GH #1448 Support custom curves in TLS handshake | Jack Lloyd | 2018-02-19 | 1 | -35/+0 |
|\ | |||||
| * | Remove house curve support | Jack Lloyd | 2018-02-13 | 1 | -35/+0 |
| | | |||||
* | | Wrap line for lint [ci skip] | Jack Lloyd | 2018-02-18 | 1 | -1/+6 |
| | | |||||
* | | Add a flag to disable use of ARMv8 crypto extensions [ci skip] | Jack Lloyd | 2018-02-15 | 1 | -1/+1 |
|/ | |||||
* | Detect compiler architecture at configure time | Jack Lloyd | 2018-02-05 | 1 | -19/+50 |
| | | | | Avoids build confusions like #1442 | ||||
* | Fix amalgamation pragma for SSE 4.1 | Jack Lloyd | 2018-01-28 | 1 | -0/+6 |
| | | | | Missed by Travis builds because GCC is too old there. | ||||
* | Fix headers of command line docs | Jack Lloyd | 2018-01-21 | 1 | -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 object | Jack Lloyd | 2018-01-21 | 1 | -32/+32 |
| | | | | build_config makes it sound like it is something besides just path info | ||||
* | Logic cleanups | Jack Lloyd | 2018-01-21 | 1 | -30/+25 |
| | |||||
* | Hide --with-cmake in help output | Jack Lloyd | 2018-01-21 | 1 | -2/+2 |
| | | | | If you don't know it's there you probably shouldn't be using it. | ||||
* | Add configure.py --list-os-features | Jack Lloyd | 2018-01-19 | 1 | -8/+30 |
| | | | | GH #1422 | ||||
* | Do not generally choose eg++ compiler on OpenBSD. | Alexander Bluhm | 2018-01-16 | 1 | -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 option | Jack Lloyd | 2018-01-12 | 1 | -3/+8 |
| | | | | Fixes GH #1404 | ||||
* | Merge GH #1378 Use OS feature flags instead of OS name for enabling system ↵ | Jack Lloyd | 2018-01-09 | 1 | -15/+35 |
|\ | | | | | | | specific code | ||||
| * | Lint fixes | Jack Lloyd | 2017-12-30 | 1 | -3/+6 |
| | | |||||
| * | Test OS features by the feature vs the OS name | Jack Lloyd | 2017-12-30 | 1 | -15/+32 |
| | | |||||
* | | Remove CPU specific optimization flags | Jack Lloyd | 2018-01-08 | 1 | -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 set | Jack Lloyd | 2018-01-08 | 1 | -1/+1 |
| | | |||||
* | | Add ability to disable use of SHA intrinsics [ci skip] | Jack Lloyd | 2018-01-04 | 1 | -1/+1 |
| | | |||||
* | | Avoid a warning under Clang when building amalgamation | Jack Lloyd | 2018-01-01 | 1 | -2/+2 |
| | | | | | | | | It defines __GNUG__ then complains it doesn't understand a GCC pragma. | ||||
* | | Fix build issue affecting Sun CC | Jack Lloyd | 2017-12-31 | 1 | -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 Lloyd | 2017-12-31 | 1 | -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 aliases | Jack Lloyd | 2017-12-30 | 1 | -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 groups | Jack Lloyd | 2017-12-23 | 1 | -4/+14 |
| | | | | | Allows avoiding -pthread on Haiku which doesn't support that flag. (Even though it has pthreads, go figure...) | ||||
* | Build improvements | Jack Lloyd | 2017-12-23 | 1 | -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 limitations | Jack Lloyd | 2017-12-23 | 1 | -3/+7 |
| | |||||
* | Fix MSVC version detection | Jack Lloyd | 2017-12-17 | 1 | -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 regex | Jack Lloyd | 2017-12-14 | 1 | -3/+3 |
| | |||||
* | Detect the compiler version using the preprocessor instead of command line | Jack Lloyd | 2017-12-14 | 1 | -93/+41 |
| | | | | Fixes #1314 | ||||
* | Simplify how make flags are set | Jack Lloyd | 2017-12-12 | 1 | -2/+1 |
| | |||||
* | Remove vestigial handling of removed options [ci skip] | Jack Lloyd | 2017-12-12 | 1 | -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 #1349 | Jack Lloyd | 2017-12-11 | 1 | -7/+21 |
| | |||||
* | Merge GH #1351 Cleanup macro generation in build.h | Jack Lloyd | 2017-12-11 | 1 | -112/+56 |
|\ | |||||
| * | Rename SSE4.x names to avoid underscores | Jack Lloyd | 2017-12-11 | 1 | -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 another | Jack Lloyd | 2017-12-11 | 1 | -17/+4 |
| | | | | | | | | The last use of this was removed in #549 | ||||
| * | Finish with the CPU feature macros | Jack Lloyd | 2017-12-11 | 1 | -12/+2 |
| | | |||||
| * | Further cleanup of macro generation in build.h | Jack Lloyd | 2017-12-11 | 1 | -72/+42 |
| | |