Alibek Omarov
64dff6f4fe
c_config: add RISC-V generic detection
2021-04-15 12:37:06 +00:00
Alibek Omarov
49c5b387f1
c_config: add MCST Elbrus detection
2020-07-12 14:33:33 +00:00
Federico Pellegrin
e3227a61e9
c_config: -flto and -fno-lto need to be passed also when linking
2020-03-19 09:01:34 +01:00
Thomas Nagy
f5a398452e
Make multicheck collisions less likely
2019-12-14 23:49:49 +01:00
Severin Strobl
63935db906
Support versioned shared libraries.
...
Shared libraries often use a suffix encoding their version which should
be handled when parsing linker flags.
2019-11-19 10:32:09 +01:00
Federico Pellegrin
217b3fcaa6
Tools/c_config.py: update to documentation
2019-11-05 14:01:51 +01:00
Thomas Nagy
bbaa976ae0
Add executable arguments for configuration tests / execute=True
...
conf.check(..., execute=True, test_args=['--abc=def'])
2019-07-11 07:55:38 +02:00
Thomas Nagy
4bd0c72809
Rework the previous changes
2019-01-05 16:16:48 +01:00
Mickaël Schoentgen
412a9b819e
Fix all DeprecationWarning: invalid escape sequence
...
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-05 12:02:42 +01:00
Thomas Nagy
a97f6fb094
Do not raise an exception on check_cfg/mandatory=False/-vv #2193
2018-08-28 23:37:48 +02:00
Thomas Nagy
d21446ff71
Update docs for 2018
2018-01-01 20:53:49 +01:00
Matt Selsky
06f0390992
Typos
2017-10-19 08:27:57 +02:00
Thomas Nagy
e68bc5d65b
docs
2017-09-14 22:20:31 +02:00
Thomas Nagy
0659657a8c
Remove old TODO notes
2017-08-25 20:22:46 +02:00
Thomas Nagy
6cfd7239c6
Support for old gcc compilers #2003
2017-07-30 19:57:04 +02:00
Karl Linden
213068dc99
Better default uselib_store and define_name in check_cfg.
...
* Let default uselib_store and define_name be upper case of the first
word of package. This is a better default when package includes a
version specified.
* Remove undocumented *k argument extraction from check_cfg since it
breaks when the first argument includes a version specifier.
2017-07-21 23:35:10 +02:00
Karl Linden
dd3a173e46
Simplify logic in validate_cfg
...
* Validate msg in only on block.
* Reduce the number of places that set okmsg.
* Require exactly one action to be requested.
* Also print the detected version on successful modversion.
2017-07-17 21:26:40 +02:00
Thomas Nagy
4d7527b4c4
Clarify the exception type raised by cmd_and_log
2017-06-20 11:20:53 +02:00
Jan Niklas Hasse
579893f61f
Import library files need to be installed into lib/ on Windows
...
Fix #1860 .
2017-05-06 03:48:43 +02:00
Thomas Nagy
4b657a6b62
cleanup
2017-04-22 17:29:00 +02:00
Thomas Nagy
5ac6123e5e
Cleanup: Break multiple statements on multiple lines
2017-04-17 13:16:57 +02:00
Thomas Nagy
9e9f41c613
Do not cast test outputs to integers with add_to_env
2017-04-14 02:47:44 +02:00
Thomas Nagy
a61bae1fca
Add -pie for parse_flags #1936
2017-04-02 09:57:02 +02:00
Thomas Nagy
058807ed9a
Add new entries for parse_flags #1936
2017-03-31 18:16:32 +02:00
Matt Selsky
b247ab1c83
Typos
2017-03-27 19:33:16 +02:00
Thomas Nagy
b7d93c3c4d
Update the year in headers to 2017
2017-02-11 16:13:37 +01:00
Thomas Nagy
5ac8e882e0
Remove the TaskBase class hierarchy level
2017-02-11 15:04:25 +01:00
Thomas Nagy
62fe305d04
Remove field_name, type_name, function_name from conf.check() tests #1906
2017-02-11 10:41:05 +01:00
Thomas Nagy
4226d0cf7b
Code cleanup
2017-01-15 01:16:44 +01:00
Thomas Nagy
3a68ccccff
Do not add -W warnings to cflags from check_cfg
2016-12-31 17:22:41 +01:00
Thomas Nagy
b6be90f555
Add -g and -W flags for #1887
2016-12-28 11:30:32 +01:00
Thomas Nagy
3180d81e86
simplification
2016-12-28 11:26:55 +01:00
Matt Selsky
0b971bdae5
Make sure to save compiler optimization flags from foo-config scripts ( #1887 )
...
python-config on openSUSE needs -O2 to match -D_FORTIFY_SOURCE
Fixes #1886
2016-12-28 11:23:08 +01:00
Thomas Nagy
ceedab882d
Remove atleast-version, exact-version and max-version from conf.check_cfg
2016-12-03 06:44:20 +01:00
Thomas Nagy
1721a505d9
Use the new syntax for sets
2016-09-02 20:20:43 +02:00
Thomas Nagy
e3092aadc7
Parallel tests can now have an execution order
2016-09-01 22:08:03 +02:00
Thomas Nagy
478d31e701
Can we start using the 'with' keyword now?
2016-08-28 14:06:39 +02:00
Thomas Nagy
d8d7c87ba1
Display parallel test results as they finish
2016-08-28 13:48:16 +02:00
Thomas Nagy
d31398c4a3
Docs on conf.multicheck
2016-08-21 15:31:47 +02:00
Thomas Nagy
96fe543f2e
Docs
2016-08-21 15:17:47 +02:00
Thomas Nagy
5b30eba4db
Let parallel tests run all tests by default (do not stop on the first error)
2016-08-21 15:10:20 +02:00
Thomas Nagy
ec6b72b0ad
Display failed configuration tests in yellow in multicheck
2016-08-20 13:06:23 +02:00
Thomas Nagy
7d3ddac860
Parallel configuration tests with arbitrary functions #1793
2016-08-19 22:15:04 +02:00
Thomas Nagy
26fc0cfced
Enhance the display of parallel configuration tests
2016-08-15 22:48:29 +02:00
Thomas Nagy
07c153c220
Un-hardcode the cfgtask class name for parallel tests
2016-08-13 09:39:25 +02:00
Thomas Nagy
ef0cf35cb1
Force qt5 static library detection for #1588
...
Use: 'QT5_XCOMPILE=1 QT5_FORCE_STATIC=1 waf configure'
2016-07-17 15:19:06 +02:00
Thomas Nagy
cdb46e29f9
Disable defines by setting define_name='' #1766
2016-07-08 19:39:34 +02:00
Thomas Nagy
0189850710
Do not de-duplicate configuration flags passed in conf.check(stlib=) for consistency reasons
2016-07-02 19:59:17 +02:00
Thomas Nagy
f84b219818
Api docs
2016-06-26 00:15:41 +02:00
Thomas Nagy
850e9ad5fc
Simplify env['FOO'] -> env.FOO
2016-06-25 23:54:12 +02:00