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
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
Thomas Nagy
edde20a642
Update the project's public key
2020-11-08 20:51:56 +01:00
Thomas Nagy
5c841caaa3
Update the ChangeLog file
2020-11-08 20:19:46 +01:00
Thomas Nagy
ce770a924a
Improve the WAFCACHE_CMD description
2020-11-08 20:04:27 +01:00
Thomas Nagy
dfb3f5be73
Reduce verbosity in out-of-tree builds
2020-11-08 14:48:21 +01:00
Thomas Nagy
3083f83eb5
Improve WAFCACHE_CMD parameter handling
2020-11-03 22:41:37 +01:00
ita1024
255a2db163
Merge branch 'wafcache_configure' into 'master'
...
wafcache: make the extra more configurable for cloud providers usage
See merge request ita1024/waf!2305
2020-11-03 20:55:47 +00:00
Federico Pellegrin
1322f448a6
wafcache: make the extra more configurable for cloud providers usage
2020-11-03 20:55:47 +00:00
ita1024
f5b3aa8796
Merge branch 'wafcache_minio' into 'master'
...
wafcache: add support for MinIO/mc cache
See merge request ita1024/waf!2304
2020-11-02 16:49:25 +00:00
Federico Pellegrin
db81b7d508
wafcache: add support for MinIO/mc cache
...
Add support for MinIO object storage (https://min.io/ ) using the
MinIO client (https://github.com/minio/mc ) to wafcache.
MinIO is an open-source, self-hostable, S3 compatible cache. The
MinIO client supports MinIO connections as well as normal S3/GCS
storages by configuring aliases beforehand.
Hint: some distributions have `mc` (the GNU Midnight Commander)
installed which is not the minio client, be aware of this (or your
build may get stuck with waf waiting for `mc` to never finish)
2020-11-02 07:14:50 +01:00
ita1024
b619648a8f
Merge branch 'ut_changedvars' into 'master'
...
waf_unit_test: extend !2302 with ut_cmd and ut_paths as well
See merge request ita1024/waf!2303
2020-10-16 15:19:57 +00:00