Commit Graph

2264 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
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
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
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 86eea788e3
waf-2.0.21 2020-11-08 20:53:48 +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
Federico Pellegrin 1322f448a6 wafcache: make the extra more configurable for cloud providers usage 2020-11-03 20:55:47 +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
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
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 7348371f84 Fail Qt5 detection immediately when the c++ compiler is missing 2020-09-19 08:47:57 +02:00
Thomas Nagy b05dcce007 Simplify the determination of --msvc_version's default value 2020-08-19 23:50:29 +02:00
Anthony DuPont b3d1a0c2d4 default to version of visual studio from command prompt if it exists 2020-08-19 17:23:38 -04:00
Thomas Nagy 0eb79f2514 Force an asm-specific defines flag 2020-08-15 12:17:34 +02:00
Thomas Nagy 8722191e44 Fix playground/pch's second example 2020-08-10 21:16:06 +02:00
Thomas Nagy 49a9845639 Port file_to_obj to Python3 2020-08-03 23:31:18 +02:00
Thomas Nagy 1c1204a739 Improve wafcache process pre-allocation 2020-08-03 23:21:36 +02:00
Alibek Omarov 49c5b387f1 c_config: add MCST Elbrus detection 2020-07-12 14:33:33 +00:00
Matt Selsky a67a1bfc6e Typo 2020-06-30 23:39:13 -04:00
Thomas Nagy a01652d3c2 Conceal gccdeps/msvcdeps errors on inaccessible/unreadable files 2020-06-25 00:55:46 +02:00
Thomas Nagy 8b6786623d gccdeps/msvcdeps: renaming a header must rebuild silently #2293 2020-06-20 00:45:10 +02:00
Thomas Nagy 8537c0de4a Update c_dumbpreproc (broken) 2020-06-18 21:15:46 +02:00
Andreu Montiel 1e1818c06b Allow parameter "always" in doxygen tool (waflib/extra/doxygen.py) 2020-06-13 16:45:18 +02:00
Johan Pauwels 058552063c Escape quoted strings in Xcode project 2020-05-18 13:15:11 +01:00
Johan Pauwels 0d5f11ca29 Export preprocessor macros in Xcode project 2020-05-18 13:13:51 +01:00
Johan Pauwels 44cd7ff57d Fix configuration of linker flags in Xcode file 2020-05-18 13:12:48 +01:00
Johan Pauwels bb86b2c15b Fix alignment in generated Xcode file 2020-05-18 13:09:40 +01:00
ita1024 3ce7da0976 Merge branch 'sphynx_install' into 'master'
sphinx: fix installation phase (as generated files are unknown until build)

See merge request ita1024/waf!2289
2020-05-15 15:31:27 +00:00
Johan Pauwels aafc0364fc Xcode6 py3 fix.
The return type of .keys() in Python 3 is no longer a list, but a 
'dict_keys', which does not support the '+' operator.
2020-05-14 20:26:43 +00:00
Federico Pellegrin def556acd6 sphinx: fix installation phase (as generated files are unknown until build) 2020-05-06 13:50:26 +02:00
Federico Pellegrin b202ab275e qt5: improve documentation on library detection and options 2020-04-30 07:59:03 +02:00
Michael Vincent f414602722 msvcdeps: Tweak debug output
Print out which source file waf is gathering dependencies for and leave
the leading spaces in the dependency debug output because it can be
helpful to see the dependency hierarchy.
2020-04-22 19:12:13 -05:00