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
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
Erik Parker
ec3ce5c30d
winres: Pass include paths by environment variable
2021-04-05 20:01:38 +00:00
ita1024
b8bcf0dbb6
Merge branch 'vs-soln-gen' into 'master'
...
msvs: Update project sorting in visual studio solution file
See merge request ita1024/waf!2319
2021-03-13 06:10:54 +00:00
Erik Parker
8fecd438f3
msvs: Update project sorting in visual studio solution file
...
In order to correctly set a default project in visual studio any folders
must be listed at the top of the solution file. This change ensures that
any folders included in generated solutions sort to the top of the .sln
file. The default project, if one exists, will be located after the
folders. Note that it should also be correct to place the default
at the top of the file, followed by any folders.
2021-03-12 13:00:38 -06:00
Thomas Nagy
3f8bb16329
waf-2.0.22
2021-01-30 17:27:48 +01:00
Thomas Nagy
816d5bc48b
Work around faulty vcvarsall.bat scripts #2315
2021-01-29 23:46:05 +01:00
ita1024
9ace152810
Merge branch 'windows-unit-test-fix' into 'master'
...
waf_unit_test: Fix command handling under windows
See merge request ita1024/waf!2314
2021-01-21 17:50:35 +00:00
Bootsma, James
c747a09a7d
waf_unit_test: Fix command handling under windows
...
The unit test tool moved from a simple split to using shlex.split for
handling the unit test command. This results in the path separators on
windows being treated as escapes.
To handle this the unit test exec command is properly escaped before
joining so that the subsequent split restores the original arguments.
The quote function is also exposed in the Utilities module so that
wscripts making use of the unit test tool can properly quote their
contributions to the command as well.
2021-01-20 16:22:59 -07:00
Thomas Nagy
954adf62e7
Allow mixing Unix paths with destdir on non-Unix platforms
2021-01-19 20:44:13 +01:00
Thomas Nagy
5e96d35cda
Fix Build.py indentation
2021-01-19 17:50:25 +01:00
Thomas Nagy
f95264563e
Add more docs to clang_compilation_database
2021-01-19 17:49:54 +01:00
Thomas Nagy
99a041cb36
Increase clang_compilation_database and swig compatibility
2021-01-13 17:39:52 +01:00
Thomas Nagy
0c31d99614
Suppress cache trimming operation errors
2021-01-12 18:16:57 +01:00
ita1024
57bdad7822
Merge branch 'wafcache_error_parclean' into 'master'
...
wafcache: fix reporting of concurrent trim error
See merge request ita1024/waf!2312
2021-01-11 22:38:13 +00:00
Federico Pellegrin
1619c2f0fa
wafcache: fix reporting of concurrent trim error
...
As this is run in the non-waf process we don't have Logs, so we
write to stderr instead or we will get a NameError name 'Logs' is
not defined.
2021-01-11 11:18:48 +01:00
ita1024
da22d7253c
Merge branch 'cuda_compiler_options' into 'master'
...
Minor cuda playground improvements
See merge request ita1024/waf!2311
2021-01-09 00:27:55 +00:00
Federico Pellegrin
70e7209f32
cuda: pass correctly compiler options from nvcc to the underlying compiler with --compiler-options
2021-01-07 09:48:05 +01:00
Federico Pellegrin
e3f8191097
cuda: solve warnings due to testapp being created by two tg
2021-01-07 09:45:01 +01:00
ita1024
3b46768d3b
Merge branch 'wafcache_log_typo' into 'master'
...
wafcache: fix small typo on stats log message
See merge request ita1024/waf!2310
2021-01-07 07:18:59 +00:00
Federico Pellegrin
5dbae3b012
wafcache: fix small typo on stats log message
2021-01-07 04:09:11 +01:00
Thomas Nagy
cf8468a7c3
Do not detect Qt6 when detecting Qt5
2020-12-27 15:33:31 +01:00
ita1024
3e92585541
Merge branch 'wafcache_stats' into 'master'
...
wafcache: add simple cache statistics collection, configurable via env
See merge request ita1024/waf!2309
2020-12-26 19:24:33 +00:00
Federico Pellegrin
08c2ca49e0
wafcache: add simple cache statistics collection, configurable via env
2020-12-24 04:20:38 +01:00
Andrew Brodko
329cd106bc
Haxe support
2020-12-23 21:40:34 +01:00
Thomas Nagy
60e3f5f488
Work around distutils MACOSX_DEPLOYMENT_TARGET regression #2330
2020-12-17 14:17:35 +01:00
Thomas Nagy
307202417c
Improve clang_compilation_database interaction with wafcache
2020-12-16 11:08:11 +01:00
Thomas Nagy
abfd2f6c76
Reduce wafcache verbosity on cleanup operations
2020-12-16 11:08:03 +01:00
Thomas Nagy
5cddf4b06c
Conceal wafcache decoding errors in Python3
2020-12-16 11:07:55 +01:00
Thomas Nagy
7b25a04c97
Exclude wafcache symlink handling
...
- Exclude classes having folder or symlinks
- Exclude well-known Task classes from wafcache processing
- Remove stale 'waflib.Task.Task.chmod' processing
2020-12-09 08:24:03 +01:00
Thomas Nagy
267a61e6f0
Fix the file_to_object example
2020-11-19 07:40:47 +01:00
Thomas Nagy
86eea788e3
waf-2.0.21
2020-11-08 20:53:48 +01:00