Commit Graph

3026 Commits

Author SHA1 Message Date
Federico Pellegrin f74beeff84 Merge branch 'cconfig-flagstolinker' into 'master'
c_config: -flto and -fno-lto need to be passed also when linking

See merge request ita1024/waf!2281
2020-03-19 08:05:23 +00: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
Thomas Nagy c98e8b9b3d
Improve custom option processing #2280 2020-03-04 23:14:40 +01:00
ita1024 9e82013f4d Merge branch 'add-clang++-support-to-cygwin' into 'master'
Add support for clang++ on cygwin

See merge request ita1024/waf!2280
2020-03-02 06:59:47 +00:00
swaldhoer 6182a905ea Add support for clang++ on cygwin 2020-03-01 13:32:53 +01:00
Thomas Nagy 64350343a2
Remove the accidental gccdeps requirement 2020-02-29 23:09:08 +01:00
ita1024 7cfdf4cc33 Merge branch 'add-clang-support-to-cygwin' into 'master'
Add support for clang on cygwin

See merge request ita1024/waf!2279
2020-02-29 22:07:09 +00:00
ita1024 9fd0366fe7 Merge branch 'gccdeps' into 'master'
gccdeps: Add support for gas

See merge request ita1024/waf!2278
2020-02-29 22:05:34 +00:00
swaldhoer bcf03c04c0 add support for clang on cygwin 2020-02-29 11:00:12 +01:00
Michael Vincent 44bb31da96 gccdeps: Add support for gas
Add support for generating and using gcc's native dependency files with
the GNU Assembler in addition to the existing C/C++ support.

When the gas and gccdeps tools are loaded, the configure step will test
whether gcc operating on an assembly file supports the -MMD argument.
If so, waf will pass the -MMD argument to .S files assembled with gcc
which will cause it to generate .d dependency files. Waf will then parse
those files for dependency information.

Note: This will only work for assembly files compiled through the gcc
frontend, not with GNU as directly. It also requires assembly files to
use the uppercase .S file extension.
2020-02-24 11:28:45 -06:00
ita1024 780a2abf0a Merge branch 'doxygen_ext_in' into 'master'
doxygen: add ext_int to force build ordering

See merge request ita1024/waf!2277
2020-02-23 12:25:30 +00:00
Federico Pellegrin 69e1290b40 doxygen: add ext_int to force build ordering 2020-02-17 11:44:14 +01:00
ita1024 5f7924d81d Merge branch 'javatest-deps2' into 'master'
javatest: add dependency management for jar/java taskgens

See merge request ita1024/waf!2276
2020-01-04 10:30:34 +00:00
ita1024 e17ac4d27d Merge branch 'javatest-deps' into 'master'
javaw: fix buglet overwrites working variable while adding dependencies

See merge request ita1024/waf!2275
2020-01-04 10:29:40 +00:00
Federico Pellegrin f7962c5edc javatest: add dependency management for jar/java taskgens 2020-01-04 10:17:40 +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
ita1024 29af444dd0 Merge branch 'fix-buildcontext-detection' into 'master'
Fix detection of build context when a custom context is used

See merge request ita1024/waf!2274
2020-01-02 18:57:35 +00:00
Morten V. Pedersen 6467070a1f Using suggested self.cmd.startswith approach 2020-01-02 14:47:39 +01:00
Thomas Nagy 62e2f7fd87 Exclude ConfigSet from altering ConfigurationContext.run_build caches #2273 2019-12-20 07:55:36 +01:00
Morten V. Pedersen 23c533566f Fix detection of build context when a custom context is used 2019-12-18 11:24:32 +01:00
Thomas Nagy f5a398452e
Make multicheck collisions less likely 2019-12-14 23:49:49 +01:00
ita1024 ccd6bc4ea4 Merge branch 'distclean_no_lock_env_vars' into 'master'
Make distclean target 'no_lock_in_top/run' modifiers compatible with env vars

See merge request ita1024/waf!2271
2019-12-05 19:39:12 +00:00
Adriano Scoditti 89175bf974 Make distclean target 'no_lock_in_top/run' modifiers compatible with env vars 2019-12-05 08:16:10 +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
Thomas Nagy 61ee22b598
waf-2.0.19 2019-11-24 11:17:38 +01:00
ita1024 e83405712e Merge branch 'versioned_so' into 'master'
Support versioned shared libraries

See merge request ita1024/waf!2270
2019-11-24 08:06:38 +00: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 ec79cdf125
Use task.get_cwd() in clang_compilation_database 2019-11-10 19:00:50 +01:00
Rafaël Kooi c0c4e29c9f Add back an accidentally deleted line clang_compilation_database.py 2019-11-10 15:50:30 +01:00
Thomas Nagy 3832f5c94b
Typo 2019-11-10 12:34:18 +01:00
Thomas Nagy 5b82ba4fa4
Fix relative path comparisons in clang_compilation_database 2019-11-10 12:32:51 +01:00
Thomas Nagy eaa1e372af
Remove the dependency on Qt5Gui in the Qt5 detection 2019-11-10 10:36:30 +01:00
Thomas Nagy b5173b099e
Fix one more issue in msvc_pdb.py 2019-11-09 00:55:18 +01:00
Thomas Nagy 8849fe04e7
Further simplifications 2019-11-09 00:22:31 +01:00
Thomas Nagy b0539ba41b
Simplify msvc_pdb.py 2019-11-09 00:16:15 +01:00
Thomas Nagy 0fca958657
Normalize the indentation according to the rest of the project 2019-11-08 20:43:45 +01:00
Thomas Nagy 3ac0ff4fd6
Ignore resource files 2019-11-08 20:39:47 +01:00
ita1024 3226ab28ff Merge branch 'chk_config_docs' into 'master'
Tools/c_config.py: update to documentation

See merge request ita1024/waf!2266
2019-11-07 06:07:16 +00:00
Federico Pellegrin 217b3fcaa6 Tools/c_config.py: update to documentation 2019-11-05 14:01:51 +01:00
ita1024 00501901eb Merge branch 'msvc_pdb_fix' into 'master'
msvc_pdb: check compiled_tasks existence, so it will not misleadingly throw a stacktrace if no sources was added

See merge request ita1024/waf!2265
2019-11-04 20:25:26 +00:00
ita1024 3a63ba9664 Merge branch 'swig_java_pg_example' into 'master'
playground/swig: clean up java swig example

See merge request ita1024/waf!2263
2019-11-04 20:23:28 +00:00
Alibek Omarov e53f071bbe msvc_pdb: check compiled_tasks existence, so it will not misleadingly throw a stacktrace if no sources was added 2019-11-04 16:31:58 +03:00
Thomas Nagy 2931163e56
Improve os.environ propagation #2264 2019-11-03 10:24:43 +01:00
Federico Pellegrin f13794134b playground/swig: clean up java swig example 2019-11-02 16:42:55 +01:00
Thomas Nagy 9da14a3356 Improve cache activity verbosity 2019-10-27 12:57:11 +01:00
Thomas Nagy bd5ae88e15
Push wafcache files synchronously for now 2019-10-23 19:52:26 +02:00
ita1024 2702017dd3 Merge branch 'MSVCFix' into 'master'
[MSVC/Fortran] Add /Fd flag when /Zi or /ZI flags are detected

Closes #1731

See merge request ita1024/waf!2262
2019-10-22 05:25:07 +00:00
Rafaël Kooi 05a9ba59c6 [MSVC/Fortran] Add /Fd flag when /Zi or /ZI flags are detected
Fixes #1731
2019-10-21 23:52:05 +02:00