aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Only skip includes that have been incuded unconditionally beforeSimon Warta2017-10-191-10/+19
|
* Allow trailing comments for include matchersSimon Warta2017-10-191-3/+4
|
* Rename method to AmalgamationHelper.is_unconditional_std_include and testSimon Warta2017-10-191-8/+11
|
* Use __file__ to detect project rootSimon Warta2017-10-191-1/+1
| | | | otherwise the module "configure" cannot be imported by the tests anymore
* Prevent a lint complaint.Frank Schoenmann2017-10-121-1/+2
|
* Repair generation of CMakeLists.txt after some files have been moved.Frank Schoenmann2017-10-121-3/+4
|
* Make it possible to disable SSE4.1 and SSE4.2Simon Warta2017-10-081-1/+1
|
* Lint fixJack Lloyd2017-09-241-2/+2
|
* Change configure so --list-modules doesn't print any log messagesJack Lloyd2017-09-231-26/+21
|
* Fix the amalgamation buildJack Lloyd2017-09-211-1/+4
|
* 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
| |