aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* add some missing building and configure documentationPhilippe Lieser2020-04-291-1/+1
|
* add ./botan-test --data-dir handlingRené Meusel2020-03-101-0/+2
|
* Remove support for running macOS binaries from local dirJack Lloyd2020-03-041-3/+0
| | | | | | | | This is a lot of complications just to work around a user misaprehension about ld paths. And likely most macOS users are getting it via Homebrew anyway. Taken from #1505
* Avoid using symlink on Windows even when cross compilingJack Lloyd2020-03-021-13/+21
| | | | Fixes #2286. See also #2285.
* Define _UNICODE as wellJack Lloyd2020-02-071-3/+3
| | | | | | Allow multiple uses of --extra-cxxflags See GH #2254 and #2256
* Remove support for splitting the amalgamation by ABIJack Lloyd2020-01-221-170/+59
| | | | | | | | | | This is as if --single-file-amalgamation was always used, except also now botan_all_internal.h is not created. This effectively drops support for very old GCC/Clang in the amalgamation (only). GCC 5+ and Clang 3.8+ support the target attribute and work fine. MSVC not affected since it doesn't need such attributes in the first place.
* Fix amalgamation build on non-x86 gccJack Lloyd2020-01-211-14/+25
| | | | | | | | We try to emit target annotations but generated incorrect input for ARM and POWER because the -mfoo flags don't always match up with target("foo") attribute names. GH #2241
* Make status of maintainer mode build more clearJack Lloyd2020-01-161-1/+1
| | | | | Hide it in the configure.py --help output and add a big warning block in the documentation.
* Clean up handling of POWER ISA extensionsJack Lloyd2019-12-121-3/+3
| | | | See #2226
* Fix Windows linking to consistently use .lib suffix as requiredJack Lloyd2019-12-061-5/+5
| | | | | | Also fix the zlib basename for Windows. Resolves #2210
* Add -Werror mode for CI buildJack Lloyd2019-12-031-0/+8
|
* Add some more possibilities for CA bundleJack Lloyd2019-11-101-2/+4
|
* Avoid using .PHONY when generating Makefile for WindowsJack Lloyd2019-10-311-1/+1
| | | | | | | Since most Windows make tools such as jom and nmake don't support it. And a GCC build should be going for MinGW instead. Closes #2160
* Avoid passing ABI flags to the MSVC linkerJack Lloyd2019-10-251-0/+6
| | | | It warns or apparently with certain versions errors. (GH #2179)
* Add generic CPU targetJack Lloyd2019-10-171-2/+3
| | | | | | | | Useful when building an amalgamation which must build on multiple targets. Though of course it gives up any CPU optimizations so has pretty major performance impact.
* Merge GH #2138 If --without-documentation don't invoke the builder scriptJack Lloyd2019-10-101-1/+2
|\
| * --without-documentation disables build target 'docs'René Meusel2019-10-091-1/+2
| |
* | Merge GH #2140 Avoid make install trying to build unwanted targetsJack Lloyd2019-10-101-0/+9
|\ \
| * | install CLI only when it was builtRené Meusel2019-10-091-0/+1
| | |
| * | dynamically decide on required install targetsRené Meusel2019-10-091-0/+8
| |/
* / Fix nmake buildJack Lloyd2019-10-091-1/+1
|/
* Use the full path to the Python interpreterJack Lloyd2019-10-051-1/+1
| | | | | | Prevents problems with python is not in the path. Fixes #2130
* Continue to accept relative paths to --libdir/--bindirJack Lloyd2019-09-221-2/+7
|
* support full-path styled --libdir and --bindir options刘群2019-09-211-2/+2
| | | | | | | | | Changed files: - configure.py - src/scripts/install.py - src/build-data/makefile.in Signed-off-by: Liu Qun <[email protected]>
* build-data: fix up a bug in botan.pc.in刘群2019-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Botan's configure.py script doesn't support the following argument style: ``` ./configure.py --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu ``` However, Debian and Ubuntu's maintainer are using that full-path style in their package build system. I found the bug on Ubuntu 19.04 when trying to run `pkg-config` to get the lib path of botan: * `sudo apt-get install -y libbotan-2-9 libbotan-2-dev` * `pkg-config --libs botan-2` You will got: ``` -L/usr///usr/lib/x86_64-linux-gnu -lbotan-2 -fstack-protector -m64 -pthread ``` This patch tries to suport the traditional full-path style "--libdir" option for 3rd-party Linux distros including Debian and Ubuntu. Bug-reported-by: Liu Qun <[email protected]> Signed-off-by: Liu Qun <[email protected]>
* Merge GH #2098 Add --build-targets= optionJack Lloyd2019-09-101-9/+43
|\
| * allow multiple --build-targets= configure switchesRené Meusel2019-09-101-2/+5
| |
| * simplify/optimize reading of --build-targets optionRené Meusel2019-09-101-22/+10
| |
| * remove --build-bogo-shim switchRené Meusel2019-09-091-5/+2
| |
| * remove --build-targets= 'fuzzers' and 'docs' for nowRené Meusel2019-09-091-3/+2
| |
| * FIX: please pylintRené Meusel2019-09-091-3/+3
| |
| * please lgtm for pythonRené Meusel2019-09-091-4/+4
| |
| * --build-targets= sanity checks and target selectionRené Meusel2019-09-091-3/+43
| |
| * rename --build-extra-targets to --build-targetsRené Meusel2019-09-091-1/+1
| |
| * please pylintRene Meusel2019-09-061-1/+1
| |
| * add configure param --build-extra-targets=Rene Meusel2019-09-051-6/+13
| | | | | | | | Signed-off-by: Rene Meusel <[email protected]>
* | Disable vperm AES on big-endian systemsJack Lloyd2019-09-071-16/+24
|/ | | | | All the constants need to be tweaked and possibly other changes are required.
* Add build supportJack Lloyd2019-09-041-11/+42
|
* Add option to disable installing the Python moduleJack Lloyd2019-08-161-0/+4
|
* Fix crash if unknown OS is passed to configureJack Lloyd2019-07-181-3/+2
| | | | We use it before it is validated ...
* Add support for OS-specific feature macrosJack Lloyd2019-07-151-2/+10
| | | | | | We already needed this but didn't have a first class notion for it. GH #2028
* Remove BearSSL providerJack Lloyd2019-07-051-1/+1
| | | | | | BearSSL is much slower than Botan's builtins, and it is not commonly included in distributions so doesn't even have the advantage of ubiquity.
* Log when an option is implicitly taken from the environmentJack Lloyd2019-07-041-16/+22
| | | | Since that can be confusing if it was not intended. GH #2015
* Ignore all deprecated headers when generating amalgamationJack Lloyd2019-06-081-3/+5
| | | | | Previously was limited to botan.h which was the only one with a warning in it.
* Lint fixesJack Lloyd2019-06-051-2/+2
|
* Address some issues found by LGTMJack Lloyd2019-06-031-1/+1
|
* Reorg documentation layout. Rename manual to handbook.Jack Lloyd2019-05-311-4/+4
|
* Fix lintJack Lloyd2019-05-221-1/+1
|
* Merge GH #1960 Add option for setting arbitrary macros during buildJack Lloyd2019-05-221-0/+8
|\
| * adaptions after code reviewRené Meusel2019-05-221-3/+3
| |