aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix detection of linker flags (GH #2715)Jack Lloyd2021-04-171-2/+8
|
* Avoid empty -lJack Lloyd2021-02-171-1/+1
|
* Add --extra-libs option and group -l flags from LDFLAGS to the endJack Lloyd2021-02-171-0/+14
| | | | Ref #2622
* apply python path fix only on mingwHannes Rantzsch2020-12-011-1/+1
| | | | otherwise visual studio 2015 will be confused
* Fix use of -L flag when combined with --external-libdirJack Lloyd2020-11-131-3/+3
| | | | GH #2496
* Add --compiler-cache option to configure.pyJack Lloyd2020-11-131-1/+12
|
* Fix build for MinGW shellJack Lloyd2020-11-101-1/+9
|
* Use the full path to Python in the makefileJack Lloyd2020-11-071-1/+1
| | | | Otherwise if python is not in the PATH then things go bad.
* Support suffixes on version numbersJack Lloyd2020-09-251-1/+13
| | | | | | | | | This extends the versioning from just an integer trip to also support a suffix of the form -{alpha,beta,rc}N Also fix a problem with reproducible releases caused by Python tarfile switching its default format from GNU to PAX. Use PAX for the releases that were (unintentionally) released as PAX and GNU for everything else.
* Extend 'variables' with 'compiler_include_dirs'PetrJarosik2020-06-221-0/+2
| | | The 'compiler_include_dirs' variable contains include directories which needs to be setup in 'cmake.in' as 'COMPILER_INCLUDE_DIRS'
* Add a warning when building amalgamation with shared library flags setJack Lloyd2020-06-191-0/+6
| | | | | | | | If you take such amalgamation and insert it into a binary project it won't behave as one might expect. Add a warning to provide a hint to the user. See GH #2373
* 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
|