2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-18 16:09:32 +01:00
Commit Graph

535 Commits

Author SHA1 Message Date
Thomas Nagy
083b6e138e Issue 1234 2012-12-15 00:32:20 +01:00
Thomas Nagy
fc9d6f4200 Issue 1222 2012-12-14 23:43:28 +01:00
Matt Hoosier
9b443a4e88 Make msvc.py behave itself when other toolchains are loaded
Chain down to the pre-existing Task.exec_command() implementation
if task.env.CC_NAME indicates that the current taskgen isn't building
using Microsoft tools.

Issue 1237.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-14 22:20:22 +01:00
Thomas Nagy
4b4aaf7dc5 Issue 1236 2012-12-12 20:09:40 +01:00
Thomas Nagy
2da7b2f549 missing r for strings containing \ 2012-12-10 19:32:25 +01:00
Matt Clarkson
c7529b3a09 Added a warning message about the intel compilervars_arch.bat file because it only searches for \IDE\VSWinExpress.exe to determine if VS Express is installed. However, Microsoft have changed up VS2012 with differnt SKUs that install with different executable names. I have filed this on the Intel forums at http://software.intel.com/en-us/forums/topic/328487 and hoping for a fix in 2013.03 C++ composer. In the meantime it checks the compilervars_arch.bat to see if the VS2012 express SKU it is searching for is not installed and prints a warning, only once, about patching the batch script. Without the patch the intel compiler cannot be found for command line processing with any Visual Studio Express SKU other than the one for Windows 8
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-10 19:29:02 +01:00
Matt Clarkson
3723b8bdbe Added a new function gather_intel_composer_versions and fixed up get_msvc_version so that it correctly strips the output of intel batch files. Also added new supported compilers too the comments at the top of the file as I have tested the configure and it finds VS2012, Intel 13 and WSDK 7.1 compilers
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-10 19:27:39 +01:00
Thomas Nagy
597e4a4f4c import libraries should go to LIBDIR along with the 2012-12-10 19:23:34 +01:00
Thomas Nagy
a71ca54558 Issue 1232 2012-12-09 05:29:59 +01:00
Thomas Nagy
072edeb396 possible fix for python 3 IO issues on windows 2012-12-05 01:23:52 +01:00
Thomas Nagy
e9d5d29ce1 missing change 2012-12-05 00:40:50 +01:00
Thomas Nagy
f824ab8481 Issue 1230 2012-12-05 00:38:58 +01:00
Thomas Nagy
79e2901e4e typo in the API documentation 2012-12-01 17:36:53 +01:00
Thomas Nagy
df67c02a0e simple tool for unity builds 2012-11-30 21:21:22 +01:00
Thomas Nagy
e21ec6a3fe Merge branch 'master' of https://code.google.com/p/waf 2012-11-28 01:02:20 +01:00
Thomas Nagy
07c5337f8b possible osx fixes 2012-11-28 01:02:07 +01:00
Harald Klimach
04eb20b1e1 Fixed fc_xlf to import Errors 2012-11-12 17:36:32 +01:00
Thomas Nagy
e0820153c8 Make demos/subst work in Python 3.2 2012-11-11 22:58:50 +01:00
Thomas Nagy
704f85f131 New release 1.7.6 2012-11-11 22:44:11 +01:00
Thomas Nagy
82b49862e2 Issue 1220 2012-11-04 10:29:36 +01:00
Thomas Nagy
5eed580a0c Merge branch 'master' of https://code.google.com/p/waf 2012-11-04 10:28:44 +01:00
Thomas Nagy
6635a9788b Issue 1220 2012-11-04 10:28:34 +01:00
immerrr
54464995c6 Avoid possible "unused parameter" warnings in check_c/check_cc boilerplates
When CFLAGS/CXXFLAGS contains '-Wextra -Werror', such warnings are reported
and become errors, which causes respective checks to fail.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-11-04 10:24:34 +01:00
alexrp
ba6718fb05 Add more stuff to the macro-to-DEST_CPU list. 2012-11-01 14:14:08 +01:00
Thomas Nagy
b022f8a314 no more file() in python 3.3 2012-10-31 02:00:01 +01:00
Thomas Nagy
5ce68b696a Issue 1218 2012-10-26 22:54:53 +02:00
Thomas Nagy
27aeab577c Issue 1218 2012-10-25 21:36:41 +02:00
Thomas Nagy
689fe3c0b9 Merge branch 'master' of https://code.google.com/p/waf 2012-10-21 11:29:49 +02:00
Thomas Nagy
85698bdb53 support for python modules in fortran -_- 2012-10-21 11:29:40 +02:00
alexrp
b3b0383840 Add output file patterns for D tasks on Darwin. 2012-10-21 02:13:33 +02:00
Thomas Nagy
1350ebc7a5 Issue 1212 2012-10-20 23:45:16 +02:00
Thomas Nagy
a1d0f9c13e force a stable name in bld(rule=...) 2012-10-17 18:50:20 +02:00
Thomas Nagy
c85678dc4a hash subst_fun 2012-10-10 22:52:30 +02:00
Anthony Baire
57b555b5fe allow using the flex shipped with MSYS
(it expects path separated by / instead of \)

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-10-10 18:39:51 +02:00
Thomas Nagy
6499810aec Issue 1209 2012-10-09 22:35:58 +02:00
Thomas Nagy
43277c8e77 provide bld(features='subst', subst_fun= fun(task, text)) for convenience 2012-10-08 18:30:47 +02:00
Thomas Nagy
294050ff41 Potential fix for #1204 2012-10-05 00:21:27 +02:00
Anthony Baire
2c22ec2a59 fixed waf clean to preserve config files from all environments
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-10-05 00:07:59 +02:00
Thomas Nagy
0856e2492b Issue 1207 2012-10-05 00:06:24 +02:00
Thomas Nagy
85d863bd52 Issue 1205 2012-10-02 03:43:58 +02:00
Thomas Nagy
0d6cd93f95 empty --prefix 2012-09-29 17:32:46 +02:00
Thomas Nagy
9c7c864fcc Merge branch 'master' of https://code.google.com/p/waf 2012-09-27 21:08:37 +02:00
Thomas Nagy
b52d97adff Issue 1184 2012-09-27 21:08:26 +02:00
Thomas Nagy
d3210ea74b configuration fix for kde4 2012-09-27 19:48:30 +02:00
alexrp
c62073538b The fsc tool should set FS_NAME, not CS_NAME. 2012-09-27 14:47:41 +02:00
Thomas Nagy
4c23f80a7c waf-1.7.4 2012-09-26 18:43:10 +02:00
Thomas Nagy
c14f00f4c1 Code mistakenly removed from the core classes 2012-09-26 18:41:58 +02:00
Thomas Nagy
ab385ea63c #1202 2012-09-23 19:49:17 +02:00
Thomas Nagy
665aff8a57 cabal script by Anton Feldmann 2012-09-23 10:19:44 +02:00
Thomas Nagy
57afd10abc stupid race condition, issue #1200 2012-09-19 08:11:42 +02:00
alexrp
cc048dc574 Fill out DEST_CPU for MSVC. 2012-09-18 23:57:17 +02:00
alexrp
cf4a6abbd2 Use ASMPATH_ST for for assembler includes. 2012-09-18 23:54:02 +02:00
Thomas Nagy
56636cf5ff Removed a function too early - this is what happens when no example is present 2012-09-17 23:30:22 +02:00
Thomas Nagy
41c52e3f4e return the task generator instance (much more intuitive) 2012-09-15 21:27:50 +02:00
Thomas Nagy
54e3a901dd docs 2012-09-15 12:53:47 +02:00
Thomas Nagy
69edfa1675 bld.func -> bld.rule() 2012-09-15 12:16:53 +02:00
Anthony Baire
c5bc3197f0 added Build.func to allow creating task generator using the decorator notation
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-09-15 12:14:25 +02:00
Thomas Nagy
7895f84852 Issue 1199 2012-09-15 08:30:51 +02:00
Thomas Nagy
8cd692474d update to waf 1.7.3 2012-09-13 06:10:28 +02:00
Thomas Nagy
ecfd580227 Issue 1194 2012-09-13 06:07:26 +02:00
Thomas Nagy
5bc516a08d Dead code: __hash__ does return the id of the current object by default 2012-09-11 00:03:54 +02:00
Thomas Nagy
b5c043ef49 optimization 2012-09-02 19:55:54 +02:00
Thomas Nagy
220c438320 Issue 1193 2012-08-29 18:23:29 +02:00
Thomas Nagy
0f6ee2a0cf Issue 1192 2012-08-24 22:53:07 +02:00
Thomas Nagy
e67b593eee Issue 1191 2012-08-23 17:33:36 +02:00
Thomas Nagy
fcfeaed70c let the feature 'includes' propagate INCLUDES and FRAMEWORKPATH variables 2012-08-19 11:50:11 +02:00
Thomas Nagy
25a076d254 prevent accidental race conditions with conf.env / msvc 2012-08-09 19:05:05 +02:00
Thomas Nagy
72f6bce85c New release 1.7.2 2012-08-05 17:42:47 +02:00
Thomas Nagy
da45e165fb missing install_path processing on bld.subst targets 2012-08-05 17:35:17 +02:00
Thomas Nagy
8096ba1be2 Issue 1186, run midl tasks before winrc ones 2012-08-05 01:36:12 +02:00
Thomas Nagy
fb0f6ed5ea Issue 1186 2012-08-05 01:33:11 +02:00
Jerome Carretero
2072e65e6f qt4: use os.environ, not conf.environ 2012-08-04 16:33:47 -04:00
Thomas Nagy
2d6fed4101 Issue 1188 2012-08-04 02:26:08 +02:00
Thomas Nagy
f79e057f5d Prevent typos on bld.subst(iscopy/is_copy) 2012-08-03 19:38:50 +02:00
Thomas Nagy
b45a4f1db4 Issue 1187 2012-08-02 19:58:39 +02:00
Thomas Nagy
72248961c8 Issue 1178 2012-08-02 01:04:58 +02:00
Thomas Nagy
a93a2c552f Issue 1185 2012-08-01 01:14:43 +02:00
Thomas Nagy
a3a8eea2cb Optimization 2012-07-31 09:49:20 +02:00
Thomas Nagy
3ee50382fb use the compact pickle files (faster) 2012-07-30 18:35:17 +02:00
Thomas Nagy
a0592ed9b1 Updated the ChangeLog file and the version to 1.7.1 2012-07-29 18:07:31 +02:00
Thomas Nagy
5b542ef5e5 update the exclusion regexps for waf 1.7 folders 2012-07-29 17:58:38 +02:00
Thomas Nagy
33dfd7d03d uselib vars for asm 2012-07-28 10:52:00 +02:00
Thomas Nagy
1946acc1d8 response files for c#, Issue 1182 2012-07-26 07:05:46 +02:00
Thomas Nagy
8c0126d6a1 resx tool for compiling .net resource files from Issue 1183 2012-07-25 19:02:34 +02:00
Thomas Nagy
6ab04926e6 get rid of the -framework flags during the compilation (bad request from someone...) 2012-07-24 19:40:29 +02:00
Thomas Nagy
c5d0daf11f add frameworks during the compilation 2012-07-24 19:35:03 +02:00
Thomas Nagy
a9dbb17502 --help 2012-07-24 07:06:24 +02:00
Thomas Nagy
b6771c2055 better error message 2012-07-20 20:16:25 +02:00
Thomas Nagy
070669067a https://github.com/nenolod/pkgconf/issues/24 pkgconf is not totally compatible with pkg-config 2012-07-20 18:22:37 +02:00
Thomas Nagy
2d05d44f16 Cleanup for Issue 1179 2012-07-13 19:56:38 +02:00
Matt Hoosier
c92db8a77e Allow gccdeps to work with other compilers too (Issue 1179)
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-07-13 19:52:16 +02:00
Harald Klimach
74f3bbd8a6 Synchronize the xlf version detection to the xlc one. 2012-07-13 01:03:03 +02:00
Thomas Nagy
e2b65f029d Another fix for the AIX compiler detection 2012-07-09 18:39:34 +02:00
Thomas Nagy
b05ab4d00d Better detection of the XLC compilers 2012-07-09 18:11:48 +02:00
Johan Boule
6c74f1051b It was meant to be a try-finally block, to ensure file is closed. 2012-07-09 03:39:59 +02:00
Harald Klimach
149c122db3 Missing line ending "):" in for loop. 2012-07-08 22:53:57 +02:00
Harald Klimach
312229d7bd Made the XLF version parsing consistent with the XLC one. 2012-07-08 22:49:30 +02:00
Thomas Nagy
8d1ff034df test the compilation of a pyembed program, not a pyembed shlib 2012-07-05 16:10:10 +02:00
Thomas Nagy
e8675232fd AIX compiler detection improvements 2012-07-05 11:24:46 +02:00
Thomas Nagy
1ca31f8ddf Re-enabled sequential builds for the build farm 2012-07-05 10:37:29 +02:00
Thomas Nagy
31da29c1b1 potential hpux fixes 2012-07-05 09:57:52 +02:00
Thomas Nagy
f9f31d77c2 Fixed the apidocs of parse_flags 2012-07-05 09:57:34 +02:00
Thomas Nagy
c2aef04b0e Fixed the configuration tests for Issue 915 2012-07-04 19:11:09 +02:00
Thomas Nagy
62613ddefc Issue 915 2012-07-03 15:42:17 +02:00
Thomas Nagy
f13f90768b Issue 1177 2012-07-01 10:28:15 +02:00
Thomas Nagy
ec3295c1a4 let conf.define() cast bool and None values to int 2012-06-30 18:15:56 +02:00
alexrp
d2d31c69a0 Extend the dmd tool to handle dmd2. 2012-06-21 18:31:52 +02:00
Thomas Nagy
2367a224c1 TypeError->AttributeError on Issue 1174 2012-06-20 19:12:38 +02:00
Thomas Nagy
62862a143d Issue 1174 2012-06-20 19:10:34 +02:00
Thomas Nagy
183388abce python detection fix for hp-ux (build farm) 2012-06-19 18:02:04 +02:00
Thomas Nagy
bf2b2fa982 add the -framework flags for the compilation too 2012-06-16 21:36:07 +02:00
Thomas Nagy
4f6b76ff9e log more outputs 2012-06-16 02:43:02 +02:00
Thomas Nagy
95b33a342f Win32 fixes for Python 2.5 and 3.2 2012-06-15 19:02:32 +02:00
Jerome Carretero
28b5d25a55 readf_win32: fix small typo 2012-06-14 22:51:54 -04:00
Thomas Nagy
1ae1fef31e Provide a way to bypass the default class registration in all Task subclasses 2012-06-14 00:43:10 +02:00
Thomas Nagy
efad53b370 docs 2012-06-12 19:24:53 +02:00
Thomas Nagy
943d9c5b83 refactoring gone bad 2012-06-10 17:51:55 +02:00
Thomas Nagy
5de226d7ac docs and cosmetic changes 2012-06-09 09:42:11 +02:00
alexrp
fb815d0c8a Copy/pasta is evil and I should feel bad. 2012-06-09 09:20:22 +02:00
alexrp
2318c294dd And another! 2012-06-08 23:01:54 +02:00
alexrp
fdf234c2a6 Fix silly syntax error. 2012-06-08 22:58:38 +02:00
alexrp
78aa2f3e92 Some changes to the D support:
* Added ldc2 as a separate tool. It can be detected/used with --check-d-compiler in the compiler_d tool now.
* Added code to make sure that the compilers we find actually are the right ones (heuristics).
* Correct some old comments.
2012-06-08 21:38:40 +02:00
Thomas Nagy
a78a146365 Merge branch 'master' of https://code.google.com/p/waf 2012-06-07 17:35:26 +02:00
Thomas Nagy
f19e7cb3c8 typo 2012-06-07 17:32:01 +02:00
alexrp
0ce8e8b5ca Clarify error message (ldc is not a dmd2 replacement, ldc2 is). 2012-06-06 23:17:24 +02:00
Thomas Nagy
1d0f1c9b21 Python 3 makes the 'encoding' parameter mandatory on all I/O operations 2012-06-05 04:31:31 +02:00
Thomas Nagy
4d56d7039f enable static and shared libraries with the same extension (use -v to catch the mistakes) 2012-06-04 19:55:37 +02:00
Thomas Nagy
5915ae6d59 cosmetic changes 2012-06-02 09:29:30 +02:00
Thomas Nagy
214c28da7b Merge remote-tracking branch 'remotes/origin/zougloub-fixes' 2012-06-02 08:34:05 +02:00
Jerome Carretero
c67653fff3 go: whitespace/tab sanitation 2012-06-01 22:29:31 -04:00
Jerome Carretero
879181f361 cs: indentation fix 2012-06-01 22:17:12 -04:00
Jerome Carretero
719dc32539 javaw: indentation fix 2012-06-01 22:04:59 -04:00
Thomas Nagy
a5c4b29ec4 Do not prevent Logs.error/warn/debug from getting replaced 2012-06-01 04:26:44 +02:00
Thomas Nagy
71c10abe7f removed an unused variable (cosmetic change) 2012-05-29 22:47:33 +02:00
Thomas Nagy
4f20b48c14 this may work for visual studio 2011 2012-05-29 22:44:00 +02:00
Jerome Carretero
d00883c172 scripting: print successful completion of a task even with a progress bar, and with a better grammar 2012-05-29 09:10:00 -04:00
Thomas Nagy
34bb10d935 use colors only if stdout and stderr are both ttys 2012-05-27 23:43:43 +02:00
Thomas Nagy
3557c4caf3 docs 2012-05-27 23:42:38 +02:00
Thomas Nagy
87255223ad cleanup 2012-05-22 18:43:28 +02:00
Thomas Nagy
fb1addeaf2 cleanup 2012-05-21 20:23:43 +02:00
Thomas Nagy
2e19a6bb28 Issue 1166 2012-05-19 16:32:37 +02:00
Thomas Nagy
7f77cab6bf Issue 1044 2012-05-19 11:24:42 +02:00
Thomas Nagy
0927ddde28 Provide safer readf/writef/h_file functions on win32 2012-05-19 10:29:44 +02:00
Thomas Nagy
10d3ecdc34 add the missing finally block to open() 2012-05-19 10:27:47 +02:00
Thomas Nagy
3ff3c02092 reuse Utils.h_file in waflib/extras/md5_tstamp.py 2012-05-19 10:26:34 +02:00
Thomas Nagy
ed56a01764 cleanup 2012-05-19 09:45:57 +02:00
Thomas Nagy
df865701e2 Remove some redundant code from Node.py 2012-05-17 19:54:36 +02:00
Thomas Nagy
cf773b89de return the value of opt.add_option() 2012-05-17 14:57:58 +02:00
Thomas Nagy
5d6c12be1f cleanup on the write functions 2012-05-17 13:49:09 +02:00
Thomas Nagy
5ec0cbed4c self.env->env when looking for defines in parse_flags 2012-05-17 11:16:16 +02:00