Commit Graph

3162 Commits

Author SHA1 Message Date
Thomas Nagy c140c3f538
Ensure signed waf files can be created using Python3 2022-05-22 14:43:52 +01:00
Thomas Nagy 15e04d7a7d Waf 2.0.24 2022-05-22 11:35:56 +02:00
Thomas Nagy 1af97c71f5 Sort visual studio versions by version number #2352 2022-05-22 11:25:33 +02:00
ita1024 247916d640 Merge branch 'msvc_detect' into 'master'
msvc: fix version detection when new and old compilers are installed

Closes #2352

See merge request ita1024/waf!2340
2022-05-22 09:02:38 +00:00
Thomas Nagy f421d09d6a docs: fix the inheritance diagrams in the apidocs 2022-05-17 23:50:30 +02:00
Thomas Nagy 591c0c646b doc: fix the empty apidocs 2022-05-17 23:01:30 +02:00
Thomas Nagy f05624b8fa docs: improve the featuremap's layout 2022-05-17 20:12:19 +02:00
ita1024 8865ba3e25 Merge branch 'ext_suffix' into 'master'
Python: Use EXT_SUFFIX config var over the deprecated/removed SO

Closes #2386

See merge request ita1024/waf!2341
2022-05-17 15:30:18 +00:00
Miro Hrončok 8d6cbb3657 Python: Use EXT_SUFFIX config var over the deprecated/removed SO
Fixes https://gitlab.com/ita1024/waf/-/issues/2386
2022-05-17 17:09:21 +02:00
Alibek Omarov a9173e98be msvc: fix version detection when new and old compilers are installed 2022-05-17 15:59:34 +03:00
ita1024 6c81b4a3dd Merge branch 'modernize-macos-demo' into 'master'
modernize macos demo

See merge request ita1024/waf!2337
2021-12-24 08:51:10 +00:00
David Kassa d77c490a1f modernize macos demo 2021-12-21 20:43:50 +02:00
Thomas Nagy c0d5ac00f8
waf-2.0.23 2021-12-15 00:56:42 +00:00
ita1024 cc6b34cf55 Merge branch 'gnukfreebsd' into 'master'
Add support for GNU/kFreeBSD

See merge request ita1024/waf!2336
2021-12-14 13:23:54 +00:00
Mathieu Parent ae97dbf59b Add support for GNU/kFreeBSD
Where default compiler is gcc
2021-12-14 09:21:09 +01:00
Thomas Nagy 3a036329e4 Avoid errors in case ECLIPSE_EXTRA_TARGETS is is set to None 2021-12-09 15:46:12 +01:00
ita1024 27126f902d Merge branch 'eclipse_extra_targets' into 'master'
eclipse: add possibility to add custom targets execution

See merge request ita1024/waf!2335
2021-12-09 14:44:07 +00:00
Federico Pellegrin 7d77052299 eclipse: add possibility to add custom targets execution
Make it easy to add custom target executions in the automatic
eclipse configuration generation, for example to call other
standard waf targets from other tools or with specific options.
2021-12-09 09:21:35 +01:00
Thomas Nagy 5bfce4a87e Detect qt5 libraries in alphabetical order 2021-12-08 02:18:15 +01:00
Thomas Nagy 0c7229c808 Detect Qt3D* libraries #2368 2021-12-08 02:17:48 +01:00
Thomas Nagy 1b0656b30c Update the CI pipelines 2021-12-04 09:39:15 +01:00
ita1024 51fa39db69 Merge branch 'wafcache_stats_multiple_bld' into 'master'
wafcache: support stats also for multiple build commands

See merge request ita1024/waf!2334
2021-11-24 19:41:33 +00:00
Federico Pellegrin 9b064938d8 wafcache: support stats also for multiple build commands 2021-11-24 13:19:50 +01:00
Thomas Nagy 90dec3a61a Provide the classic runner system from waf 1.x as an extension 2021-09-22 19:52:15 +02:00
ita1024 c1a2bf5f07 Merge branch 'eclipse_unique_includes' into 'master'
eclipse: remove repeated entries in include paths for C/C++

See merge request ita1024/waf!2330
2021-09-04 20:37:35 +00:00
Federico Pellegrin 557139ecda eclipse: remove repeated entries in include paths for C/C++
Make sure just unique include paths (both system and local) are
added to prevent overcrowding with useless redundant include paths
that grow up a lot the generated XML file and make the usage of
the GUI messy.
The filter was already there for Java/Python.
2021-09-03 10:18:24 +02:00
ita1024 62918799db Merge branch 'eclipse_scanner_config' into 'master'
eclipse: add generation of editor language settings

See merge request ita1024/waf!2329
2021-08-31 22:42:53 +00:00
Federico Pellegrin 161be6e647 eclipse: add generation of editor language settings
Add automatic generation of editor language settings for C and C++,
so the automatic code correction uses the correct compiler and
compiler flags, including for example the correct C/C++ standard
so construct from such standards are correctly managed by the IDE.
Correct compiler and flags are automatically generated using the
build environment data gathered during configure phase.
The playground example has been modified to contain some code that
is standard specific to demonstrate the new feature when run under
Eclipse.
2021-08-31 10:40:10 +02:00
ita1024 abc4c27fcd Merge branch 'master' into 'master'
Make clang_compilation_database compatible with variants

See merge request ita1024/waf!2328
2021-07-15 17:07:33 +00:00
Federico Giovanardi 23df45272c Make clang_compilation_database compatible with variants
In the current implementation if a project is using
build variants it's not possible to use the clang_compilation_database
plugin because it strips the variant information from the build object.
2021-07-15 10:57:23 +02:00
ita1024 3536dfecf8 Merge branch 'color-gcc-fix-2' into 'master'
color_gcc: Check that cmd has elements in it before processing it.

See merge request ita1024/waf!2327
2021-06-22 18:25:37 +00:00
Erik Parker e65bd769f3 color_gcc: Check that cmd has elements in it before processing it. 2021-06-21 13:48:05 -05:00
Thomas Nagy f44e4592a7 Process dependency Nodes in bld(rule=..., deps=[..]) 2021-06-16 22:12:57 +02:00
Thomas Nagy c5bcd7e9b9 Improve error messages from scanner errors #2356 2021-06-12 08:12:33 +02:00
Thomas Nagy 05ebc97be6 Handle deprecated Thread.setDaemon in Python 3.10 2021-05-13 17:10:55 +02:00
Thomas Nagy df4d81e4c2 Disable OpenIndiana from the pipelines 2021-05-05 00:26:31 +02:00
Thomas Nagy b1098d40a7 On windows, try $INCLUDEPY/../libs to detect the Python library path 2021-04-30 18:38:01 +02:00
ita1024 7f1fdd36d5 Merge branch 'swig_module_name_cr' into 'master'
swig: skip CR (\r) if present in module name

Closes #2350

See merge request ita1024/waf!2324
2021-04-29 06:19:08 +00:00
Federico Pellegrin 47778d9c8f swig: skip CR (\r) if present in module name
Handles presence of \r in module name (ie. DOS mode swig .i files)
Should fix #2350
2021-04-29 04:33:07 +02:00
Michael Vincent b3663173b5 gccdeps: Refactor cache lock
Rework how gccdeps' cached_nodes lock is used so acquiring the lock is
only necessary on a cache miss. Also use a "with" context manager to
simplify management of the lock lifecycle.

Ported from 8b5a2a2086
2021-04-22 12:53:59 +02:00
Michael Vincent c52efadbe6 gccdeps: Move scan() method
Move the scan() method down in the file to match msvcdeps' method
ordering. This makes it easier to compare gccdeps.py and msvcdeps.py
to keep them in sync.
2021-04-22 12:50:22 +02:00
Michael Vincent 412b5c3e49 gccdeps: Rename some variables
Rename some local variables to clarify their purpose and to align with
msvcdeps.py.
2021-04-22 12:49:17 +02:00
Michael Vincent 0bc85fb681 msvcdeps: Align with gccdeps
Just a few small changes to make msvcdeps.py align with gccdeps.py
better.
2021-04-22 12:48:25 +02:00
Michael Vincent 99820803b9 msvcdeps: Remove unused variable 2021-04-22 12:42:21 +02:00
Thomas Nagy c082c5c668 Let msvcsdeps process relative paths and in a deterministic manner 2021-04-22 02:19:25 +02:00
ita1024 71ada95e04 Merge branch 'msvcdeps-perf' into 'master'
msvcdeps: Faster case correction

See merge request ita1024/waf!2323
2021-04-22 00:14:59 +00:00
Michael Vincent 2d14817f1f msvcdeps: Faster case correction
Visual Studio returns paths to dependencies with incorrect case.
ant_glob() is very slow for this use case (40~50% impact to overall
build time). This patch uses os.listdir() to find the correct case
of each path component.
2021-04-20 13:38:46 -05:00
ita1024 80ffb62e4d Merge branch 'a1batross-master-patch-10902' into 'master'
c_config: add RISC-V generic detection

See merge request ita1024/waf!2322
2021-04-15 15:29:05 +00:00
Alibek Omarov 64dff6f4fe c_config: add RISC-V generic detection 2021-04-15 12:37:06 +00:00
ita1024 36376fbaca Merge branch 'winres-update' into 'master'
winres: Pass include paths by environment variable

See merge request ita1024/waf!2320
2021-04-05 20:01:38 +00:00