aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Avoid empty -lJack Lloyd2021-02-151-1/+1
|
* Add --extra-libs option and group -l flags from LDFLAGS to the endJack Lloyd2021-02-151-0/+14
| | | | Ref #2622
* Remove support for bakefileJack Lloyd2021-02-141-16/+1
| | | | | | Bakefile still only supports up to VC 2013 which we no longer support at all, and the upstream looks pretty dead, so there doesn't seem to be much need to continue supporting this.
* Restrict target os features to match [a-z][a-z0-9_]*[a-z0-9]Jack Lloyd2021-01-231-0/+9
|
* Move docs earlier into the build stepsJack Lloyd2020-12-211-2/+2
| | | | This allows it to run concurrently with the compiler.
* Use the canonicalized arch for picking ABI flagsJack Lloyd2020-12-161-2/+2
| | | | Otherwise someone using eg ppc64le would not get the expected flags.
* Improve checks and avoid hard-coding the major version numberJack Lloyd2020-12-031-0/+1
|
* Improve CI tests of the install targetJack Lloyd2020-12-021-1/+6
| | | | | | | | | | Verify we install exactly the includes we expect Verify we install at least one library that looks like our name. (This check could be tightened) Change the install target to take all values via the build_config.json instead of reflecting them through the makefile.
* CI: validate installation after running make installHannes Rantzsch2020-12-011-1/+1
| | | | See https://github.com/randombit/botan/pull/2526 for details
* Export the list of headers into build_config.jsonJack Lloyd2020-12-011-0/+4
| | | | Then the install target can use that instead of listdir
* Tighten up the check on feature macro datestampsJack Lloyd2020-11-291-1/+8
| | | | Should be YYYYMMDD make some attempt to check this.
* Correct -L flag use when combined with --external-libdirJack Lloyd2020-11-131-3/+3
| | | | GH #2496
* Add --compiler-cache option to configure.pyJack Lloyd2020-11-131-1/+12
|
* Generate a compile_commands.json for clang-tidyJack Lloyd2020-11-101-6/+8
|
* Hack for MinGWJack Lloyd2020-11-071-1/+9
| | | | MinGW shell isn't happy about paths with backslashes
* Use the full path to the Python interpreter in the makefileJack Lloyd2020-11-071-1/+1
| | | | Otherwise things will fail if python is not in PATH
* Remove deprecated headers, make more headers internalJack Lloyd2020-11-061-3/+3
| | | | | | | | | Now modules default to internal headers instead of defaulting to public; making a new public API should be a visible and intentional choice. Brings the public header count from over 300 to around 150. Also removes the deprecated tls_blocking interface
* 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
| |