Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix configure.py for CPython 2.6 | Jack Lloyd | 2016-01-04 | 1 | -3/+10 |
| | | | | Based on GH #362 by emilymaier | ||||
* | Merge pull request #353 from neusdan/robust_build_setup_windows | Jack Lloyd | 2015-12-31 | 1 | -2/+29 |
|\ | | | | | make shutil.rmtree and os.makedirs more robust to AV interference | ||||
| * | review changes | Daniel Neus | 2015-12-23 | 1 | -7/+9 |
| | | | | | | | | | | | | | | * fix Python 3 compatibility * add comment explaining purpose of the workarounds * raise exception if directory exists in robust_makedirs * pylint fixes | ||||
| * | decrease timeout between attempts to 100ms | Daniel Neus | 2015-12-18 | 1 | -4/+4 |
| | | |||||
| * | make shutil.rmtree and os.makedirs more robust (at least on windows) | Daniel Neus | 2015-12-10 | 1 | -2/+27 |
| | | |||||
* | | Add TPM v1.2 support (RSA keygen/signing, RNG) | Jack Lloyd | 2015-12-19 | 1 | -1/+1 |
| | | |||||
* | | Expose os_type setting as BOTAN_TARGET_OS_TYPE_IS_x | Jack Lloyd | 2015-12-12 | 1 | -7/+15 |
|/ | |||||
* | Rename cmd/app -> cli | Simon Warta | 2015-12-09 | 1 | -10/+10 |
| | |||||
* | Better error checking for <libs> settings in module info files | Jack Lloyd | 2015-11-28 | 1 | -0/+7 |
| | |||||
* | Remove --build-mode and add individual toggles for optimization, debug, | Jack Lloyd | 2015-10-26 | 1 | -36/+41 |
| | | | | | | sanitizers and coverage as all 4 are usefully set independently. Use GCC 4.9 on CircleCI as it seems to be supported. Add ASan + UBSan test. | ||||
* | Remove the strange conjoining of debug and optimization flags. | Jack Lloyd | 2015-10-26 | 1 | -45/+21 |
| | | | | | | | | | | | | | | | | | | | Previously a build had optimizations disabled completely when debug info was emitted. But there are many reasons to use optimized builds with debug symbols (running under valgrind, against afl, with Asan/Ubsan, in prod, etc). And personally I find even debugging at -O2 or -O3 is fine most of the time and worth it for the speed. Use the (now documented!) --no-optimizations flag if no optimization is desired while debugging. This also removes the distinction between library and application compile flags; there is a single optimization level that is probably good enough for everything. On Win32 it removes definding _CONSOLE for the application. This seems to be some mythical value that may have been required at some point, but is not documented anywhere I can find. Who knows what VC thinks, hoping I don't have to add this back. It also drops defining `EBUG` which is what happens when you tell cl.exe to '/DEBUG'. LOL. | ||||
* | Add `--minimized-build` which does the same thing as `--no-autoload` | Jack Lloyd | 2015-10-14 | 1 | -1/+3 |
| | | | | | but the meaning of the option is probably easier to understand with this name. | ||||
* | build system: Add framework support for OS X and iOS | Daniel Seither | 2015-09-25 | 1 | -3/+14 |
| | | | | | | | On Darwin platforms, there are frameworks that can bundle libraries and header files in a standardized directory structure. We need to support linking to them because most of the OS X or iOS-specific APIs are provided as frameworks. | ||||
* | Pluralize --with-python-version option, remove it from single-option group | Jack Lloyd | 2015-09-22 | 1 | -7/+4 |
| | |||||
* | Fix pbkdf, pk padding and ECDH registration for static linking. | Jack Lloyd | 2015-09-11 | 1 | -4/+0 |
| | | | | | | | | With this change the tests pass when linked against a static library built in the normal (non-amalgamation) fashion. Remove the restriction in configure.py, and have circleci build the clang static build as a non-amalg. | ||||
* | Prevent users from building static non-amalgamations on MinGW and Cygwin | Simon Warta | 2015-09-09 | 1 | -7/+6 |
| | | | | | | | | * Rename variable to avoid confusion of build_shared and options.build_shared_lib * Don't automatically change shared -> static. Force user to do that Fixes #211 | ||||
* | Remove duplicated ABI flags, and treat user-set flags as a single string | Jack Lloyd | 2015-08-29 | 1 | -8/+6 |
| | |||||
* | Allow multiple abi link flags with the same name | René Korthaus | 2015-08-28 | 1 | -4/+4 |
| | | | | | | Allow multiple ABI link flags with the same name, e.g., -arch armv7 -arch armv7s when cross-compiling for iOS. This is the first fix necessary for fixing #188. | ||||
* | Add soname_pattern | Simon Warta | 2015-08-24 | 1 | -4/+21 |
| | | | | Fixes #241 | ||||
* | On x86-32, anything using the simd wrapper needs to be pushed to the SSE2 obj | Jack Lloyd | 2015-08-22 | 1 | -4/+8 |
| | |||||
* | Update configure.py | Simon Warta | 2015-07-26 | 1 | -15/+11 |
| | | | | | | | | * Increase minimal python version to 2.7 * Remove monotone revision command * Set choices for --link-method argument Closes #217 | ||||
* | Remove the configure.py logic for handling bare asm. GH #216 | Jack Lloyd | 2015-07-25 | 1 | -25/+2 |
| | |||||
* | Fix typos | Simon Warta | 2015-07-24 | 1 | -1/+1 |
| | | | | Thanks to @vlajos https://github.com/vlajos/misspell_fixer | ||||
* | Make 'module not found' an error | Simon Warta | 2015-07-23 | 1 | -2/+2 |
| | | | | | | | Before a typo in a module name was a warning. It now is an error because it is potentially harmful. [ci skip] | ||||
* | Rename so_link_flags to so_link_commands | Simon Warta | 2015-07-21 | 1 | -10/+10 |
| | |||||
* | Add binary_link_command; Use compiler configs to set RPATH on Linux | Simon Warta | 2015-07-21 | 1 | -17/+33 |
| | |||||
* | Check for so_link_command existence in compiler settings | Simon Warta | 2015-07-21 | 1 | -1/+3 |
| | |||||
* | Merge compile_option into CXX_FLAGS | Simon Warta | 2015-07-21 | 1 | -3/+1 |
| | |||||
* | Have a $(LINKER) variable | Simon Warta | 2015-07-21 | 1 | -8/+16 |
| | |||||
* | Rename template variable cc -> cxx | Simon Warta | 2015-07-21 | 1 | -1/+1 |
| | |||||
* | Make release/debug versions for: compile_flags, lib_opt_flags and app_opt_flags | Simon Warta | 2015-07-21 | 1 | -10/+21 |
| | | | | | | This commit aims to preserve all settings. In some cases it will drop optimization flags and fall back to compiler's defaults in the new debug mode. | ||||
* | Tie static build check to --via-amalgamation, not --gen-amalgamation | Simon Warta | 2015-07-19 | 1 | -1/+1 |
| | | | | | | --gen-amalgamation does not use amalgamation in the Makefile [ci skip] | ||||
* | Make internal headers available for tests (amalgamation) | Simon Warta | 2015-07-15 | 1 | -4/+3 |
| | |||||
* | Force amalgamation in static build | Simon Warta | 2015-07-13 | 1 | -0/+4 |
| | | | | Closes #128. | ||||
* | Exit configure script with return value 1 on error | Simon Warta | 2015-07-12 | 1 | -4/+13 |
| | |||||
* | Remove dead code (Boost.Python makefile, unused configure.py functions) | Jack Lloyd | 2015-07-11 | 1 | -13/+0 |
| | |||||
* | Make sanitizer a build mode for easy use by developers. | Jack Lloyd | 2015-07-05 | 1 | -3/+8 |
| | |||||
* | Rename variable with_shared_lib -> build_shared_lib | Simon Warta | 2015-07-03 | 1 | -1/+1 |
| | |||||
* | Dont run install_name_tool when lib is statically linked | Simon Warta | 2015-07-01 | 1 | -1/+1 |
| | |||||
* | Fix include handling in amalgamation | Simon Warta | 2015-07-01 | 1 | -16/+19 |
| | | | | Includes must be unique per .cpp file, not globally. Fixes #105 | ||||
* | Add optparse choices parameter to detect config errors nice and early | Simon Warta | 2015-06-24 | 1 | -2/+6 |
| | |||||
* | Use install_name_tool to change location of botan lib on OSX | Simon Warta | 2015-06-22 | 1 | -0/+7 |
| | |||||
* | Set RPATH to $ORIGIN for ./botan and ./botan-test | Simon Warta | 2015-06-22 | 1 | -1/+3 |
| | | | | | | | | This makes setting LD_LIBRARY_PATH obsolete when Botan lib and botan /botan-test binary are in the same directory. This behavior is default on Windows. LD_LIBRARY_PATH can still be used to override the RPATH. | ||||
* | Fix coverage make target | Simon Warta | 2015-06-21 | 1 | -0/+1 |
| | |||||
* | Prefix gmake includes | Simon Warta | 2015-06-20 | 1 | -8/+6 |
| | |||||
* | Update build system: | simon | 2015-06-18 | 1 | -1/+3 |
| | | | | | | | | | | | | | - Remove unused make variables VERSION, BRANCH - Move first make all target below all variable definitions - Move "Executable targets" as well as "LIBNAME" from header.in into gmake.in and nmake.in. Those variables differ more than they share and are getting too abstract. - Use new variable names: LIB_BASENAME, LIB_FILENAME. Drop LIBNAME and BOTAN_LIB - Write libs to out_dir now, which enables out-of-tree builds GH #110, replaces #70 #106 #107 fixes #85 | ||||
* | Fix --disable-aes-ni flag which did not disable AES-NI. Reported on | lloyd | 2015-06-03 | 1 | -1/+1 |
| | | | | the mailing list. | ||||
* | Add .exe suffix to MinGW and Cygwin binaries also | lloyd | 2015-04-27 | 1 | -1/+2 |
| | |||||
* | Remove the stray binary character making Python3 unhappy, remove | lloyd | 2015-04-12 | 1 | -9/+4 |
| | | | | encoding= flags since they are not needed anymore and broke Python2. | ||||
* | Add back --debug-mode | lloyd | 2015-04-12 | 1 | -1/+5 |
| |