Commit Graph

854 Commits

Author SHA1 Message Date
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
Alibek Omarov 49c5b387f1 c_config: add MCST Elbrus detection 2020-07-12 14:33:33 +00:00
Federico Pellegrin b202ab275e qt5: improve documentation on library detection and options 2020-04-30 07:59:03 +02:00
Federico Pellegrin e3227a61e9 c_config: -flto and -fno-lto need to be passed also when linking 2020-03-19 09:01:34 +01:00
swaldhoer 6182a905ea Add support for clang++ on cygwin 2020-03-01 13:32:53 +01:00
swaldhoer bcf03c04c0 add support for clang on cygwin 2020-02-29 11:00:12 +01:00
Federico Pellegrin e32a6d4103 javaw: fix buglet overwrites working variable while adding dependencies
variable x is used in the outer loop and gets corrupted by inner enumeration in case of non-jar dependency

to reproduce: use the demos/java and run waf build twice: the first time will work (since no class files around)
while the second will not since will by bad luck pick a class file in the inner loop
2020-01-04 09:35:07 +01:00
Thomas Nagy f5a398452e
Make multicheck collisions less likely 2019-12-14 23:49:49 +01:00
Thomas Nagy 702870e98c
Remove conf.find_cpp from irix compiler detection 2019-11-29 23:07:26 +01:00
Thomas Nagy d000220c26
Update irixcc 2019-11-29 22:58:50 +01:00
Severin Strobl 63935db906 Support versioned shared libraries.
Shared libraries often use a suffix encoding their version which should
be handled when parsing linker flags.
2019-11-19 10:32:09 +01:00
Thomas Nagy fb499f29da
Improve the Qt5 fPIC/fPIE detection 2019-11-16 18:46:57 +01:00
Thomas Nagy eaa1e372af
Remove the dependency on Qt5Gui in the Qt5 detection 2019-11-10 10:36:30 +01:00
Federico Pellegrin 217b3fcaa6 Tools/c_config.py: update to documentation 2019-11-05 14:01:51 +01:00
Thomas Nagy 2c90724ca0
Propagate ldflags to fortran tasks #2262 2019-10-19 00:11:11 +02:00
Thomas Nagy 6539bd1ad3
Improve error messages in c_aliases 2019-10-08 20:04:00 +02:00
Thomas Nagy 68bf3867df
Unbreak the endianness test with msvc 2019-09-08 22:51:09 +02:00
Thomas Nagy d2060dfd8a Conceal imp warnings in Python3 2019-08-14 22:05:45 +02:00
Thomas Nagy 2793fb7dbb
Improve endianness detection 2019-07-31 21:04:53 +02:00
Thomas Nagy 4a79f95aa4
Disable lto for the endianness configuration test #2250 2019-07-30 18:45:07 +02:00
Thomas Nagy bbaa976ae0
Add executable arguments for configuration tests / execute=True
conf.check(..., execute=True, test_args=['--abc=def'])
2019-07-11 07:55:38 +02:00
Thomas Nagy 2e9954e087 Add a dependency scanner for gas/yasm and nasm (incomplete) 2019-06-26 15:00:03 +02:00
Thomas Nagy 770910fcda Detect of assembly features in bld.program()/bld.shlib() 2019-06-26 12:03:29 +02:00
Thomas Nagy 173f410e3f Improve the configuration cache accuracy 2019-06-25 11:51:44 +02:00
Thomas Nagy 497b875a89 Add -fno-strict-aliasing flags only if missing
https://gitlab.com/ita1024/waf/merge_requests/2248/diffs
2019-06-20 23:14:51 +02:00
Eric Müller e319a9c2c9 Allow for flat install of python files via `py` feature 2019-06-19 22:33:36 +02:00
fedepell 31c51501d7 javaw: bugfix outdir is always a node (since converted in apply_javac) 2019-06-06 15:06:41 +02:00
Thomas Nagy fa6496dbc4
Use a constant instead of a hard-coded number (Qt5) 2019-06-02 09:23:57 +02:00
Thomas Nagy 6bc6cb599c
Refactor javaw.py 066a051181 2019-06-02 08:50:06 +02:00
Thomas Nagy 66fafd876a
Improve Qt5 processing 1de43d82c0 2019-06-02 08:43:19 +02:00
ita1024 387f01750c Merge branch 'javac_dep_robust' into 'master'
javaw: make dependencies code introduced in !2232 more robust

See merge request ita1024/waf!2239
2019-06-02 06:39:50 +00:00
fedepell a2589b9ed4 qt5: ignore moc generation on uninstall target 2019-06-02 00:57:33 +02:00
fedepell 066a051181 javaw: make dependencies code introduced in !2232 more robust 2019-05-28 11:40:43 +02:00
Miro Hrončok 38d1cbeba4 Python 3.8 has different flags for pyembed, needs --embed
As recommended in the docs, to support both 3.8 and
previous versions, we try to use python3-config --embed and
fallback to the previous behavior.

Fixes https://gitlab.com/ita1024/waf/issues/2239

See https://docs.python.org/dev/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
2019-05-24 11:49:58 +02:00
Federico Pellegrin b45634d380 javaw: add node dependencies for non-jar tasks to all generated class files 2019-05-08 05:18:31 +02:00
Federico Pellegrin b22b5636e9 javaw: also when using non-jar CLASSPATH has to be populated to use-d tasks. In this case we point to the directory instead of the JAR file 2019-05-08 05:06:29 +02:00
fedepell d9babce4ce javaw: set dependency between javac task and use-d generated jars nodes 2019-05-07 14:42:39 +02:00
Thomas Nagy 85c499b1cc
Describe how to load md5_tstamp - Issue 2231 2019-04-19 18:47:02 +02:00
ita1024 61c9415b30 Merge branch 'javadoc-optional' into 'master'
javaw: make javadoc optional

See merge request ita1024/waf!2225
2019-04-18 06:12:08 +00:00
Robert Herbst fc7648b386 javaw: make javadoc optional
Make javadoc optional to support builds on platforms that don't include
javadoc in their Java distribution.
2019-04-16 19:09:43 -05:00
James Harris c083461978 msvc: add pdb_install_task with /DEBUG:* flags
Currently PDBs are only installed if the /DEBUG flag appears in the
current toolchain's LINKFLAGS attribute. This patch expands support
so that /DEBUG:FULL and /DEBUG:FASTLINK also cause PDBs to be
installed.
2019-04-15 17:52:03 -05:00
fedepell f903ad5f90 waf_unit_test: prevent error when dumping run to script and environment contains UTF-8 chars 2019-03-12 15:46:46 +01:00
Matt Selsky d8f7fe165f Typos 2019-03-07 22:13:40 -05:00
Thomas Nagy b72fabf8e5
Do not expose Task.allow_argsfile and remove allow_argsfile from non-Task class #2216
The class waflib.Tools.winres.rc_parser is not a subclass of waflib.Task.Task:
rc_parser -> c_preproc.c_parser -> object
2019-03-03 17:04:53 +01:00