aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Use needed -m ABI flags in --via-amalgamation buildslloyd2013-12-211-5/+28
|
* Clean up makefile outputlloyd2013-12-151-3/+3
|
* Add AVX2 compiler flags for GCC and Clang. Tidy compiler option ordering.lloyd2013-12-141-3/+6
|
* Fix maintainer mode flagslloyd2013-12-141-2/+2
|
* Use -Werror only when --maintainer-mode is set as warnings will sneaklloyd2013-12-141-4/+6
| | | | | in on platforms/configs I don't test regularly, and that shouldn't break end-user builds.
* Add --cc-abi-flags option to configure.pylloyd2013-12-141-10/+12
|
* Better checklloyd2013-12-021-1/+1
|
* Add a check on API revisionslloyd2013-12-021-1/+4
|
* Python 3 fixlloyd2013-12-011-1/+1
|
* Give everything setting a feature test macro in build.h a version codelloyd2013-11-281-5/+11
| | | | | | so application code can check for the specific API it expects without having to keep track of what versions APIs x,y,z changed. Arbitrarily set all current API versions to 20131128.
* Fix file rename in info.txt and add a check for this in configurelloyd2013-11-281-0/+4
|
* Enable maintainer mode checks in all builds of non-release versions.lloyd2013-11-161-1/+10
| | | | Use new --release-mode option to disable.
* If we can't get a revid from monotone, try git as well.lloyd2013-07-311-19/+32
|
* Merge mp_word64 into mp_genericlloyd2013-07-301-8/+8
| | | | | | Now 64-bit limbs can be used regardless of processor, though we continue to use 32-bit unless we know the processor natively supports 64-bit operations.
* Add a generic 64x64->128 multiplication op.lloyd2013-07-301-1/+11
| | | | | | | Use it to merge mp_msvc64 (was using MSVC _umul128 intrinsic) and mp_asm64 (was using inline asm) into mp_word64, which calls the new mul64x64_128 function. That function wraps any available compiler intrinsics or CPU instructions.
* Upgrade report of modules loaded by config to info from debuglloyd2013-06-011-1/+1
|
* Merge pull from Christopher Dale <[email protected]>guywithcrookedface2013-06-011-0/+9
| | | | | | adding --list-modules option to configure.py Github pull request https://github.com/randombit/botan/pull/1
* Always include modules requiring ISA extensions as long as thelloyd2013-04-171-91/+43
| | | | | | | | | | | compiler and target platform might support it. For instance the AES SSSE3 code is now always in any x86 build, with just that specific file being compiled with -mssse3. Since we'll only call that code if cpuid confirms it works at runtime, we don't have portability issues, and it can be safely included in generic builds (eg for distributions). Tweak how machine specific compiler flags are generated to be a bit easier to maintain.
* src/utils/semaphore.h was marked both public and internal, which brokelloyd2013-03-091-10/+13
| | | | | the amalgamation build. Add a check that warns if we do this again, and some more logging in the amalgamation generator.
* Report the version type and date in configure outputlloyd2013-03-061-2/+9
|
* Set the release type (unreleased, released, snapshot) inlloyd2013-03-041-0/+4
| | | | | botan_version.py via the release script, and propagate it to version.cpp via build.h
* Document --link-method and make it obvious what it controlslloyd2013-01-301-6/+7
|
* The GCC version check was previously used for -fpermissive but nowlloyd2012-10-301-39/+0
| | | | | we either compile (4.7+) or do not (anything prior to 4.7), so it's not too useful. Remove it.
* Copy *.rst from doc instead of *.txt if sphinx is notlloyd2012-10-301-1/+1
| | | | | available, broken by e5320c3b5fc06faffc6900267279eb9886ff9786. Bug 216.
* Add a --chost option to configure that takes a GNU style triplet.lloyd2012-08-311-3/+15
| | | | | | Add a couple aliases so the GNU canonical names are understood by us. Add an Ivy Bridge entry, match it up with the new GCC -march flag
* Includes for <functional> don't need to be a special case in thelloyd2012-08-131-1/+1
| | | | | amalgamation anymore. Was for TR1 because VC++ put it in <functional> and everyone else put it in <tr1/functional>
* Update the InnoSetup script:lloyd2012-07-111-0/+16
| | | | | | | | | | | | | | | | | | | | | - Have configure.py create a new var %{innosetup_arch} which means one doesn't have to remmeber to uncomment the ArchitecturesAllowed and ArchitecturesInstallIn64BitMode for 64-bit installs. Also it would theoretically work out of the box for IA-64 installs though this is completely untested. - InnoSetup 5.5 drops support for Windows 95/98/ME. While I'm in there, move MinVersion to 5.1 (XP) since 2000 is (as with 9x) totally an unknown quantity (not to mention EOLed). - No PDF manual anymore, don't try to install it - The files under doc are .rst rather than .txt now - Include %{arch} in OutputBaseFilename so I don't have to rename the output afterwards. and outline the process for creating the installer in release_process.rst
* Traceback by default on an exception throwlloyd2012-07-101-3/+3
|
* Add a LZMA filter contributed by Vojtech Krallloyd2012-07-091-1/+1
|
* Default to just `g++`. Check GCC version and warn if we are compilinglloyd2012-07-011-0/+6
| | | | under something before 4.7.0
* Add TLS::Session_Manager_Noop which just ignores all save requests.lloyd2012-06-291-1/+1
| | | | | | | Rename the sqlite module to sqlite3 as sometimes plain 'sqlite' is used to refer to sqlite2. Reduce the password check bits to 16 which is plenty.
* Make a proper wrapper in util for SQLite3, update the TLS sessionlloyd2012-06-081-4/+2
| | | | manager to use it. Add --with-sqlite to configure.py
* Update cms, cvc, zlib, bzip2, openssl, and gnump modules for the newlloyd2012-06-071-1/+10
| | | | | | | | allocator interface. The compression filters now just use malloc/free with a memset. Add a new info.txt field <warning>, like comment but warns. Use for CMS which is pretty broken (doesn't even compile anymore), and for TLS.
* propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-04-251-19/+35
|\ | | | | | | | | | | a4741cd07f50a9e1b29b0dd97c6fb8697c038ade) to branch 'net.randombit.botan.cxx11' (head 116e5ff139c07000be431e07d3472cc8f3919b91)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2012-04-051-19/+35
| |\ | | | | | | | | | | | | | | | 91305e3daaae9ea8a1786daf058d961991c68251) to branch 'net.randombit.botan.tls-state-machine' (head 474a00b316f5b21a4e56033d4d990d87d9d3eed6)
| | * Don't require a <source> entry in info.txt, if not set use *.cpplloyd2012-03-161-11/+13
| | |
| | * In Python 3 subprocess returns bytes instead of strings. We canlloyd2012-03-141-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | convert using bytes.decode, but that's not available in Python 2.5 and there doesn't seem to be a good way to test for it at runtime. Instead use a slight hack of calling subprocess with universal_newlines=True, which causes Py3k subprocess to assume the output is UTF-8 and decode accordingly (this should be fine in these cases since monotone will output a hex string and GCC will just output a version number). On Python 2 it's mostly ignored (especially as we call strip on the result anyway).
* | | propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-02-201-73/+8
|\ \ \ | |/ / |/| | | | | | | | | | | 0ceb9cde62a2b3614901ae85a53546d9fc641326) to branch 'net.randombit.botan.cxx11' (head 777e65950ef3706a82e5df20dcca7fcc999ca533)
| * | propagate from branch 'net.randombit.botan' (head ↵lloyd2011-12-181-9/+12
| |\ \ | | | | | | | | | | | | | | | | | | | | 39f53266912f33dc48e942b1b865ddcd6af66d8d) to branch 'net.randombit.botan.cxx11' (head 0bf26cec09f71e75c547b4ec53365748c6d80d86)
| * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2011-11-101-22/+35
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | f13cb517b63aed4fcc4ad7013e5c905fae85796b) to branch 'net.randombit.botan.cxx11' (head e330c6b33c4583b342a129336d27ce03c9e4e287)
| * \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2011-10-061-73/+8
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 29dfb73a5efec220ebafcb9c1d7a32bb9d63461c) to branch 'net.randombit.botan.cxx11' (head a842d86b2b9593318fbce5868c3d1278f8b3a037)
| | * \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2011-07-211-3/+4
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b49cf847fb6f62734b53874469be895ba89a8b17) to branch 'net.randombit.botan.cxx11' (head 64b6daff56452594958eed3805a9639db94bd333)
| | * \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2011-07-121-73/+8
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23a326fa36a31dd39347a8864e1f5740669a905e) to branch 'net.randombit.botan.cxx11' (head 9d3ac8dd45f7673c85dca41968e7750acc90bdff)
| | | * | | | | Remove TR1 and old-GCC stufflloyd2011-06-131-33/+4
| | | | | | | |
| | | * | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2011-06-131-40/+4
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 150bd11dd8090559ee1e83394b8283bf93a018de) to branch 'net.randombit.botan.c++0x' (head 7480693bb3f1e8a4e039a3e7ba3d9a7007f9730e)
| | | | * \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2011-03-081-11/+53
| | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd068808e5bf87c982765a8bcc314996053a5bdd) to branch 'net.randombit.botan.c++0x' (head 34696d52a8148d64f7021b3e193fc56f051b9dd2)
| | | | * \ \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2011-02-111-35/+4
| | | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 13a0d36dac3709f3cb88e830ed7f8cab9e7433ab) to branch 'net.randombit.botan.c++0x' (head 2221ad8796466e7e096645de77ba856a9c902d14)
| | | | | * \ \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-11-291-2/+2
| | | | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc8daa606ab7954eab48778d7236986747b719e4) to branch 'net.randombit.botan.c++0x' (head 2bf71b0a2e0e468d7eb3631e4ca284234f554729)
| | | | | * \ \ \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-35/+4
| | | | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| | | | | | * \ \ \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-09-031-35/+4
| | | | | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a29c41b4a949207b1544096c3afab668f8b5179e) to branch 'net.randombit.botan.c++0x' (head a9d0c2f805b3c20a4c648575d7256959db8329fe)