Commit Graph

3109 Commits

Author SHA1 Message Date
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
Federico Pellegrin 0a18f9b512 waf_unit_test: consider ut_cmd always for task signature 2020-10-16 04:37:44 +02:00
Thomas Nagy c30b928890 Force unit test re-runs on environment or command changes 2020-10-15 18:54:14 +02:00
ita1024 60405f7bc9 Merge branch 'waf_utstr_signature' into 'master'
waf_unit_test: make sure test is rerun if ut_str changes

See merge request ita1024/waf!2302
2020-10-14 23:56:35 +00:00
Federico Pellegrin cccb443376 waf_unit_test: make sure test is rerun if ut_str changes 2020-10-14 04:57:19 +02:00
Thomas Nagy b2c81f8561 The lrelease program is necessary, not lupdate 2020-09-19 10:09:18 +02:00
Thomas Nagy 7348371f84 Fail Qt5 detection immediately when the c++ compiler is missing 2020-09-19 08:47:57 +02:00
Thomas Nagy 7dd713f01f Make sure lupdate is explicitly required 2020-09-19 08:41:54 +02:00
ita1024 c8685cf3e2 Merge branch 'patch-3' into 'master'
Update tutorial.rst to clarify that the env attribute is shared between the...

See merge request ita1024/waf!2301
2020-09-06 17:58:49 +00:00
ita1024 aaf89c0645 Merge branch 'patch-1' into 'master'
Update tutorial.rst to use uniform parameter names in all places where the...

See merge request ita1024/waf!2300
2020-09-06 17:57:25 +00:00
Dotan Cohen 19540dc97d Update tutorial.rst to clarify that the env attribute is shared between the cnf and bld parameters to their respective methods. 2020-09-06 11:44:16 +00:00
Dotan Cohen 81dbcf32d2 Update tutorial.rst to use uniform parameter names in all places where the configure() method or its parameter is mentioned. 2020-09-06 11:31:31 +00:00
Thomas Nagy b05dcce007 Simplify the determination of --msvc_version's default value 2020-08-19 23:50:29 +02:00
ita1024 794e3672ed Merge branch 'add-msvc-default' into 'master'
default to version of visual studio from command prompt if it exists

See merge request ita1024/waf!2299
2020-08-19 21:39:07 +00:00