mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-27 07:02:11 +00:00
haproxy public development tree
7a1e6fe128
We already have 9 different warning shutup options and this list grows with each new version. Testing for their support takes some time at the makefile's initialisation which is visible on all options (make clean etc). Some compilers like clang are extremely slow to validate them all and spend roughly half a second on modern machines to validate all options. And some compilers are happier than others when passed a -Wno-* option they do not know: - gcc < 4 complains loudly - gcc 4 and above do not say anything, unless there is already another warning, in which case they will report about the unknown option as well, but without affecting the return code - clang by default rejects unknown options but supports a special option -Wno-unknown-warning-option to silently ignore them This patch improves the situation a bit by detecting if the compiler already supports random options, only supports them when called with -Wno-unknown-warning-option, or not at all. Based on this, a variable is set to indicate if we can avoid testing for all unknown options and assume they are supported, and another one is set to hold the optionally required option to shut the warning. This results in almost halving the makefile's startup time, which is particularly appreciable with latest compilers which become really fat (the other half is caused by the same tests on various cc-opt). |
||
---|---|---|
.github | ||
addons | ||
admin | ||
dev | ||
doc | ||
examples | ||
include | ||
reg-tests | ||
scripts | ||
src | ||
tests | ||
.cirrus.yml | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
BRANCHES | ||
CHANGELOG | ||
CONTRIBUTING | ||
INSTALL | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
README | ||
ROADMAP | ||
SUBVERS | ||
VERDATE | ||
VERSION |
The HAProxy documentation has been split into a number of different files for ease of use. Please refer to the following files depending on what you're looking for : - INSTALL for instructions on how to build and install HAProxy - BRANCHES to understand the project's life cycle and what version to use - LICENSE for the project's license - CONTRIBUTING for the process to follow to submit contributions The more detailed documentation is located into the doc/ directory : - doc/intro.txt for a quick introduction on HAProxy - doc/configuration.txt for the configuration's reference manual - doc/lua.txt for the Lua's reference manual - doc/SPOE.txt for how to use the SPOE engine - doc/network-namespaces.txt for how to use network namespaces under Linux - doc/management.txt for the management guide - doc/regression-testing.txt for how to use the regression testing suite - doc/peers.txt for the peers protocol reference - doc/coding-style.txt for how to adopt HAProxy's coding style - doc/internals for developer-specific documentation (not all up to date)