aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Make it possible to disable stack smashing protection.Jack Lloyd2017-02-041-3/+8
| | | | | | Also reflect anything in ABI flags into pkg-config Libs field. GH #863
* Set SIMD ISA flags when building test_simd.cppJack Lloyd2017-01-291-0/+4
| | | | Return NEON from CPUID::has_simd_32
* Add support for NEON in SIMD_4x32Jack Lloyd2017-01-291-2/+2
| | | | Tested on qemu-aarch64
* add "--with-external-libdir" to configure.pyDaniel Neus2017-01-261-5/+19
| | | | | | Fixes #767 and #19 Main purpose is to support external libs like OpenSSL on Windows.
* Complete the rename of Python wrapperJack Lloyd2017-01-241-1/+1
| | | | Where referenced in CI scripts, docs and such
* Fix configure.py error when compiler doesn't support desired ISA flagsJack Lloyd2017-01-221-9/+15
| | | | | | | | | | | | | Seen with rarely tested compilers (Sun Studio, Intel, ...) that we are missing info for. Previously this led to a hard error which is pointless. Instead just disable the relevant module and warn the user that something was disabled, if they want to go look into why. Remove bogus clmul entry in x86_64 - actually we lump both AES and CLMUL flags under the same ISA ("aesni") since all known CPUs support either both or neither. Caught by new configure warning. Add Sun Studio ISA flags from GH #846
* Missing tracebackJack Lloyd2017-01-221-0/+1
|
* Handle processor name in /proc/cpuinfo that as a colon in the name itselfJack Lloyd2017-01-141-7/+7
| | | | Seen on AMD Opteron A1100 running Linux 4.1
* configure: Remove duplicates from generated module listJack Lloyd2017-01-121-1/+2
| | | | | | | | | | I ran into this after PKCS11 was enabled by default, as my local build script uses --enable-modules=pkcs11,... this ended up causing the module to be loaded twice! The result was duplicate entries in the Makefile. Would be good for configure to be written more defensively, the result of this error being a bogus Makefile is lame.
* Merge GH #837 Enable PKCS11 module by default, remove --with-pkcs11 optionJack Lloyd2017-01-111-1/+1
|\
| * Enable PKCS11 module by default and remove --with-pkcs11 optionRené Korthaus2017-01-111-1/+1
| | | | | | | | | | | | The pkcs11 module once required the pkcs11 headers as an external dependency, but the headers were included a while ago. Still, the module was set to be load_on vendor. Instead, we can enable the module by default now.
* | Resolve lint issues: bad-builtinSimon Warta2017-01-111-2/+3
| |
* | Resolve lint issues: anomalous-backslash-in-stringSimon Warta2017-01-111-3/+3
| |
* | Resolve lint issues: deprecated-moduleSimon Warta2017-01-111-1/+1
| |
* | Resolve lint issues: singleton-comparisonSimon Warta2017-01-111-3/+3
| |
* | Resolve lint issues: superfluous-parensSimon Warta2017-01-111-2/+2
| |
* | Resolve lint issues: unidiomatic-typecheckSimon Warta2017-01-111-1/+1
| |
* | Resolve lint issues: deprecated-methodSimon Warta2017-01-111-1/+1
| |
* | Resolve lint issues: unused-variableSimon Warta2017-01-111-5/+5
| |
* | Resolve lint issues: bad-indentationSimon Warta2017-01-111-3/+3
| |
* | Resolve lint issues: bad-continuationSimon Warta2017-01-111-8/+9
| |
* | Resolve lint issues: bad-whitespaceSimon Warta2017-01-111-30/+30
| |
* | Remove try-catch block in gen_bakefileSimon Warta2017-01-111-12/+4
|/ | | | As discussed in https://github.com/randombit/botan/pull/832
* Fix various pylint warningsJack Lloyd2017-01-091-106/+108
|
* Resolve broad-exceptSimon Warta2017-01-091-42/+42
|
* Add super() call to ExceptionSimon Warta2017-01-091-0/+1
|
* Resolve redefined-outer-name issuesSimon Warta2017-01-091-11/+11
|
* Rename names that do not follow conventionSimon Warta2017-01-091-6/+6
|
* Fix docstring positions (pylint pointless-string-statement)Simon Warta2017-01-091-74/+91
|
* Fix import position/orderSimon Warta2017-01-091-3/+3
|
* Fix pyflakes warningJack Lloyd2017-01-071-9/+9
| | | | | | | | | configure.py:704: import 'os' from line 24 shadowed by loop variable This was the only warning from pyflakes. It did also pick up the bad variable reference from GH #821 [ci skip]
* Fix invalid var reference when building on OS without shared libsJack Lloyd2017-01-071-1/+1
| | | | Fixes GH #821
* Update shared object naming for new versioning scheme.Jack Lloyd2017-01-061-6/+23
| | | | | | | | | | | | Cleans up so object naming since most of the time (across Unix) we follow the exact same naming scheme; just make it the default if only the so suffix is specified in the file. Also updates include header dir to be botan-${major} Changes behavior when shared lib not supported; instead of making the user explicitly try again with --disable-shared, just assume it and continue running.
* Use /proc/cpuinfo only as last resort for nowJack Lloyd2017-01-051-7/+9
| | | | Possible misdetection issues, and it hasn't been well tested yet.
* Horrible hack for OS XJack Lloyd2017-01-051-3/+3
| | | | | | | | | On Travis OS X, platform.machine() is 'x86_64' and platform.processor() is 'i386'. We incorrectly choose a 32-bit build, which fails due to no 32-bit Boost libraries. Switch (fairly arbitrary) order of machine and processor for CI. I have a plan to address this better but it will be for 2.1
* Wrap read of /proc/cpuinfo in try/catch blockJack Lloyd2017-01-041-9/+13
|
* Improve CPU detection logic. Read /proc/cpuinfo when available.Jack Lloyd2017-01-041-22/+45
| | | | | | | | | | | | | | Sometimes platform module is very useless and returns empty strings or bogus data. /proc/cpuinfo at least provides another data point. Refactor how processor guessing is done, now input values are collected, from platform module and /proc/cpuinfo, then each considered as if it had been passed to --cpu option. All this could be simplified further since we no longer rely on the submodel settings much anymore. If someone wanted to compile specially for their CPU they could specify that with --cc-abi-flags (or --cxxflags when that's added). Not making that change here.
* Merge GH #793 Add iOS targetJack Lloyd2017-01-031-1/+1
|\
| * Add os iosSimon Warta2017-01-031-1/+1
| |
* | Rename filename -> file_path in portable_symlink()Simon Warta2017-01-031-7/+7
| | | | | | | | | | The variable contains a relative path to the source file to be linked/copied, not only a name.
* | Fix calculation of symlink target for headersSimon Warta2017-01-031-12/+2
|/
* Add new module sanity check to configure.pyJack Lloyd2016-12-181-0/+14
| | | | [ci skip]
* Disable TLS signature and finished message checks in fuzzer modeJack Lloyd2016-12-171-5/+8
| | | | | Also use a const time comparison for the finished message, though I don't see any real way of exploiting that timing channel.
* Simplify logic in configure for listing out filesJack Lloyd2016-12-111-12/+17
| | | | | | Add a check that the same header is not both public and internal. [ci skip]
* Remove <source> block from info.txt filesJack Lloyd2016-12-081-3/+2
| | | | | | Kind of a vestigial thing from an earlier iteration of the module design, and never useful to specify anymore since taking all the cpp files is what you want exactly 100% of the time.
* Log the git revision in the configure.py outputJack Lloyd2016-12-081-1/+3
| | | | | | Free, and sometimes useful for debugging from build logs [ci skip]
* Convert warning to error for --via-amalgamationSimon Warta2016-12-021-2/+1
|
* Add year 2016 to the amalgamation header commentSimon Warta2016-12-021-1/+1
|
* Fix reference to deprecated optionBaruch Burstein2016-11-281-1/+1
|
* Fix amalgamation for IncludeOS - avoid having <thread> pulled inJack Lloyd2016-11-271-1/+1
|