aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Avoid a warning under Clang when building amalgamationJack Lloyd2018-01-011-2/+2
| | | | It defines __GNUG__ then complains it doesn't understand a GCC pragma.
* Fix build issue affecting Sun CCJack Lloyd2017-12-311-1/+13
| | | | | | | | If the ar command and the compiler have the same name in the config, and the user overrode the path to the compiler, take that as the ar command also. Fixes #851
* Add version detection for XLC [ci skip]Jack Lloyd2017-12-311-2/+6
| | | | | We don't need it right now but may later and it avoids a scary warning when configuring the build.
* Support regexes for OS aliasesJack Lloyd2017-12-301-4/+13
| | | | | Needed for mingw which has unames like mingw32_nt-6.3 and thus varies based on the underlying version. Might be useful elsewhere.
* Add exceptions to mach_abi_linking groupsJack Lloyd2017-12-231-4/+14
| | | | | Allows avoiding -pthread on Haiku which doesn't support that flag. (Even though it has pthreads, go figure...)
* Build improvementsJack Lloyd2017-12-231-5/+15
| | | | | | | | | | Derive the fact that shared libs are not supported from the lack of information about shared object names. If soname_suffix and co are not set -> shared libs are disabled. Disable stack protector by default on OSes where it has proven a problem namely AIX and Haiku. Add --with-stack-protector option to force turning it on.
* Always note if shared lib is being disabled due to platform limitationsJack Lloyd2017-12-231-3/+7
|
* Fix MSVC version detectionJack Lloyd2017-12-171-1/+2
| | | | | It has two flags for the preprocessor, and we were passing them as a single argument which made cl mad.
* Address review comments: indent code and fix clang regexJack Lloyd2017-12-141-3/+3
|
* Detect the compiler version using the preprocessor instead of command lineJack Lloyd2017-12-141-93/+41
| | | | Fixes #1314
* Simplify how make flags are setJack Lloyd2017-12-121-2/+1
|
* Remove vestigial handling of removed options [ci skip]Jack Lloyd2017-12-121-24/+2
| | | | | The --destdir option was removed in 2.2.0, and the amalgamation options were removed before 2.0.0
* Add ability to generate man page with rst2man fixing #1349Jack Lloyd2017-12-111-7/+21
|
* Merge GH #1351 Cleanup macro generation in build.hJack Lloyd2017-12-111-112/+56
|\
| * Rename SSE4.x names to avoid underscoresJack Lloyd2017-12-111-1/+6
| | | | | | | | | | | | This breaks how we determine the ISA flags for amalgamation files. The code for doing that is kind of a hack but I don't want to mess with it right now, easier to just rename the ISA internally.
| * Remove an unused feature allowing one module to pull in a file from anotherJack Lloyd2017-12-111-17/+4
| | | | | | | | The last use of this was removed in #549
| * Finish with the CPU feature macrosJack Lloyd2017-12-111-12/+2
| |
| * Further cleanup of macro generation in build.hJack Lloyd2017-12-111-72/+42
| |
| * More simplificationsJack Lloyd2017-12-111-9/+9
| |
| * Clean up macro generationJack Lloyd2017-12-111-16/+8
| |
* | Handle map conversion within the lexer functionJack Lloyd2017-12-111-17/+25
|/
* Fix make clean targetJack Lloyd2017-12-111-0/+2
| | | | | | | | | | It removed the doc output dir, so this sequence: $ ./configure.py $ make clean $ make docs would fail
* Clarify platform log during configurationSimon Warta2017-12-111-1/+1
| | | | | | | - make clear that the logged platform is just the computer running the script and independent of configuration options - hide logging in non-verbose mode as user knows the machine running this
* Simplify this constructJack Lloyd2017-12-101-1/+1
|
* Fix bakefile arch setting for x86-32Jack Lloyd2017-12-101-0/+5
| | | | Restrict bakefile to x86 since thats all that is supported.
* Use copy.copyJack Lloyd2017-12-101-2/+3
| | | | Faster than deepcopy and sufficient for our purposes.
* Escape the shared build flags for CMakeJack Lloyd2017-12-101-0/+4
| | | | It needs this for Windows with its declspec syntax
* A couple of simple optimizationsJack Lloyd2017-12-101-9/+16
| | | | | | | Weirdly, copy.deepcopy of a set of str is much slower than just creating a new set - maybe because it is also copying the strings? But there is no need for that because while we edit the set we don't edit any members. Saves about 1.5 seconds on Pi2.
* Simplify how the build info is generatedJack Lloyd2017-12-101-111/+101
|
* Simplify house ECC curve code, and remove redundant fuzzer logicJack Lloyd2017-12-101-33/+22
|
* Use for loops in cmake and bakefile buildsJack Lloyd2017-12-101-128/+53
|
* Use template file to generate bakefileJack Lloyd2017-12-101-74/+26
|
* Generate the CMake using a template fileJack Lloyd2017-12-101-176/+69
| | | | Less code in configure.py == betters
* Add basic iteration constructs to template filesJack Lloyd2017-12-101-46/+97
| | | | Eliminates the last bits of makefile-specific syntax from configure.py
* Add an option to generate PDF version of the documentationJack Lloyd2017-12-061-19/+34
| | | | Fixes #1337
* Fix typos in configure.pyFelix Yan2017-12-061-2/+2
|
* Merge GH #1333 Add script to build docsJack Lloyd2017-12-041-40/+16
|\
| * Argh nmake doesn't know about .PHONYJack Lloyd2017-12-041-0/+1
| |
| * Add a script for generating the documentationJack Lloyd2017-12-041-40/+15
| |
* | Cleanup install targetJack Lloyd2017-12-041-0/+1
|/ | | | | There is no reason to process template language in here, all we need to do is look up values in the build JSON.
* Avoid code duplication in configureJack Lloyd2017-12-031-17/+6
| | | | parse_lex_dict is force_to_dict + error checking.
* Remove (undocumented) --dirty-tree optionJack Lloyd2017-12-031-6/+1
| | | | | I used to use this during development but a ccache'd clean build takes under a second.
* Simplify pkg-config file generationJack Lloyd2017-12-031-5/+3
|
* Merge GH #1329 Remove unaligned mem optionsJack Lloyd2017-12-021-19/+0
|\
| * Remove unaligned mem checkJack Lloyd2017-12-021-19/+0
| | | | | | | | | | | | | | | | | | | | This previously enabled doing something unsafe (misaligned reads), but it turns out even on hardware that supports this, it is not safe to do because the compiler may do something unfortunate. Now memcpy is used, which is safe on any platform. Should provide a noticable speedup for ARM and PPC64, which previously used the byte-at-a-time fallback code.
* | Build simplificationsJack Lloyd2017-12-021-38/+37
| |
* | Accept CXXFLAGS and LDFLAGS from environment (GH #1237)Jack Lloyd2017-12-021-25/+16
| | | | | | | | Also remove a duplicated block (rebase error)
* | Drop support for Cilk+Jack Lloyd2017-12-021-9/+0
|/ | | | | It's been dropped from GCC, appears OpenACC is the new hotness for this kind of thing.
* Fix macOS dynamic linkJack Lloyd2017-12-011-7/+5
|
* Merge the gnumake and nmake makefilesJack Lloyd2017-12-011-51/+62
|