aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve support for IBM XLCJack Lloyd2017-09-211-1/+1
| | | | | A uint128 type is available but is apparently broken, causes problems with x25519
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-3/+3
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Accept a - in releaseJack Lloyd2017-09-191-1/+1
| | | | This occurs with "snapshot:branch-name" syntax.
* Using ast.literal_eval is no good hereJack Lloyd2017-09-191-2/+11
|
* Rename botan_version.py to version.txtJack Lloyd2017-09-191-1/+1
|
* Handle : (as appears in 'git:revid')Jack Lloyd2017-09-191-1/+1
|
* Load botan_version.py as a file instead of as module importJack Lloyd2017-09-191-50/+83
| | | | Really no reason for this to be arbitrary code
* Script the Windows CI buildJack Lloyd2017-09-081-4/+4
|
* Adjust min version for non "based on LLVM" appleclangSimon Warta2017-09-071-1/+3
|
* Improve appleclang version logicSimon Warta2017-09-071-13/+11
| | | | | | | For appleclang version >= X, return minimal clang version Y. This now works for all intermediate versions between the known fixed points. This is especially important for compiling today's code with a future compiler.
* Rename variable xcode_version_to_clang -> appleclang_to_clang_versionSimon Warta2017-09-071-3/+3
|
* Do not fix number of digits in first appleclang version componentSimon Warta2017-09-071-1/+1
| | | | this will soon exceed 999.
* Fix appleclang regex pattern to match dot onlySimon Warta2017-09-071-1/+1
|
* Fix appleclang version tableSimon Warta2017-09-071-1/+3
|
* Add some simple deductions of --cc given --cc-binJack Lloyd2017-09-051-2/+11
| | | | | | | | If --cc is not set but --cc-bin is, try guessing the compiler type based on that. This is useful for OSS-Fuzz (https://github.com/google/oss-fuzz/pull/649) and convenient elsewhere (eg --cc-bin=afl-clang++ now does the right thing)
* Better phrasing in this log messageJack Lloyd2017-09-041-1/+1
|
* s/MAYOR/MAJOR/Jack Lloyd2017-09-021-2/+2
|
* Remove case cc_min_version == None in compatible_compilerSimon Warta2017-09-021-8/+4
| | | | | This does not happen anymore. cc_min_version is set to 0.0 in case of auto-detection error
* Rename --cc-version to --cc-min-versionSimon Warta2017-09-021-25/+27
|
* Implement --cc-versionSimon Warta2017-09-021-11/+32
|
* Use object list argument, other lint nitsJack Lloyd2017-08-311-4/+3
|
* Fix MSVC buildJack Lloyd2017-08-311-0/+3
| | | | | The nmake build does something different here and I don't want to mess with it too much right now.
* Add support for fuzzing with KLEEJack Lloyd2017-08-301-30/+47
| | | | | | For the fuzzers, builds an object and then links in a second step, because we need that to link the fuzzer binaries for LLVM. (Clang will emit bitcode for us, but doesn't want to link it.)
* Add support for LLVM bitcode targetJack Lloyd2017-08-301-4/+17
|
* Further fixes to ci build scriptJack Lloyd2017-08-291-1/+1
|
* Create new fuzzer build modeJack Lloyd2017-08-251-32/+77
|
* Fix generating amalgamation under python3Jack Lloyd2017-08-251-3/+11
| | | | It complains about UTF8 chars unless we tell it that really it's UTF8
* Revert "configure.py: raise error when --prefix is not absolute path"Simon Warta2017-08-041-4/+0
| | | | | | | This reverts commit b6b575d961b15d59f9382086fd59d1e5062a3cdb. In order to disallow prepend_prefix for relative paths, we do not need to disallow a relativ --refix for users that do not use DESTDIR
* configure.py: raise error when --prefix is not absolute pathZoltan Gyarmati2017-08-041-0/+4
|
* Turn --destdir option into an environment variable, fixes #1101, fixes #996, ↵Zoltan Gyarmati2017-08-041-2/+6
| | | | | | | | | | | | | supersedes #997 This commit removes the (broken) --destdir command line option and introduces the DESTDIR environment variable for the 'make install' target. When it's set, the installation will take place in the DESTDIR directory, under the prefix set by --prefix, with all of the internal references (pkgconfig file, etc) containing only the prefix. This behavior is more standard (as in autotools and co.), so makes packaging easier. Based on work of danimo and zgyarmati
* Merge GH #1094 Add initial BearSSL providerJack Lloyd2017-08-021-1/+1
|\
| * BearSSL: Initial support and hash testsPatrick Wildt2017-07-051-1/+1
| | | | | | | | | | | | | | | | | | BearSSL is an implementation of the SSL/TLS protocol in C aiming to be correct and secure, small and highly portable. Thus making it nicer to be included in a rather sparse bootloader. This commit adds support for BearSSL's hash routines only, with more stuff coming up in following commits. The goal is to be able to test BearSSL using Botan's extensive testsuite.
* | Log success/failure without early return in version_from_compiler_output()Simon Warta2017-07-311-3/+3
| |
* | Use clang/mac code branch when cc_version is unsetSimon Warta2017-07-311-3/+3
| | | | | | | | This is easier to extend than the elif construction
* | Remove special case and early return for msvc matchingSimon Warta2017-07-311-8/+5
| |
* | Use native compiler versioning of MSVCSimon Warta2017-07-311-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While using marketing names like 2013, 2015 etc. is more convenient at first sight, it requires keeping a table about all supported compiler versions, as there is no formular to calculate between the representations. Keeping a list of compilers leads to the following issue: if one version of Botan is released in 2017, requiring MSVS 2015 for one module, this source can be compiled using MSVS 2015 and 2017 but not a future version like 2019. Also preview/development versions of MSVC that may use an intermediate version number cannot be handled with the marketing name table because they may be unknown to the general public.
* | Explicitly handle negative cases in supported_compiler()Simon Warta2017-07-311-8/+13
| | | | | | | | | | | | | | | | | | | | Two cases only returned a falsy None implicitly by reaching the end of the function: - when user's compiler is not listed in the list of compiler choices - when user's compiler version is None and the module requires a min version This changes no behavior.
* | Refactor supported_compilerSimon Warta2017-07-311-5/+12
| |
* | Use _MSC_VER to get MSVC versionSimon Warta2017-07-301-4/+6
| |
* | Adapt MSVC version regexp to non-english outputsSimon Warta2017-07-301-1/+1
| |
* | Fix compiler version matching patternsSimon Warta2017-07-301-9/+7
| |
* | Refactor and test compiler version detectionSimon Warta2017-07-301-34/+46
| |
* | configure: explicitly concatenate stdout+stdderr for cc_putputSimon Warta2017-07-051-5/+6
|/ | | | | | This prevents a lint error in newer pylint versions ("R:2600, 8: Redefinition of cc_output type from tuple to str (redefined-variable-type)") and makes code clearer.
* Fixes for MSVC version detectionJack Lloyd2017-05-191-9/+23
| | | | | See comments in https://github.com/randombit/botan/commit/7f019174bfcf3c2b31bda74fe40ce35727db1cef
* Change clang regex format to just look for major.minorJack Lloyd2017-05-191-1/+1
| | | | Appears that Clang 3.7 doesn't include the patch in -v output
* Don't error out the build if compiler version does not match expected formatJack Lloyd2017-05-191-2/+3
|
* Merge GH #1043 Fix CMake generatorJack Lloyd2017-05-191-26/+59
|\
| * Fix StyleRyuhei Mori2017-05-071-32/+31
| |
| * Fix StylesRyuhei Mori2017-05-061-11/+13
| |
| * Fix CMake Generator for visual studioRyuhei Mori2017-05-061-16/+48
| | | | | | | | | | | | | | | | | | details: -Most of CMake commands accept only unix style path -Visual Stduio Generator allows mutiple configurations (debug;release) -Name collsion of static libary and dynamic libary and exe -Mismatch of dllexport/dllimport -Allows "x86_64:avx2" in isa flags