Commit Graph

461 Commits

Author SHA1 Message Date
Thomas Nagy 0856e2492b Issue 1207 2012-10-05 00:06:24 +02:00
Thomas Nagy d3210ea74b configuration fix for kde4 2012-09-27 19:48:30 +02:00
Thomas Nagy ab385ea63c #1202 2012-09-23 19:49:17 +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 ecfd580227 Issue 1194 2012-09-13 06:07:26 +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 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 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 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 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 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
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 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 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
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
alexrp 0ce8e8b5ca Clarify error message (ldc is not a dmd2 replacement, ldc2 is). 2012-06-06 23:17:24 +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
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
Thomas Nagy 10d3ecdc34 add the missing finally block to open() 2012-05-19 10:27:47 +02:00
Thomas Nagy 5ec0cbed4c self.env->env when looking for defines in parse_flags 2012-05-17 11:16:16 +02:00
Thomas Nagy 66172d53d3 Issue 1165 2012-05-16 08:29:13 +02:00
Jerome Carretero 91802ba41f Allow cross-compiling of qt4 applications (plz2review)
I'm cross-compiling the qt4 demo with::

   export QT4_ROOT=/path/to/win32/qt4
   QT4_INCLUDES=$QT4_ROOT/include QT4_XCOMPILE=1 QT4_BIN="$PWD" QT4_LIBDIR=$QT4_ROOT/lib \
    CXX=i686-pc-mingw32-g++ CC=i686-pc-mingw32-gcc CFLAGS=-g CXXFLAGS=-g waf configure

I made a simple wrapper for the qt tools::

   lrwxrwxrwx 1 cJ cJ     7 May 12 14:08 moc -> wrapper*
   lrwxrwxrwx 1 cJ cJ     7 May 12 14:02 qmake -> wrapper*
   lrwxrwxrwx 1 cJ cJ     7 May 12 14:09 rcc -> wrapper*
   lrwxrwxrwx 1 cJ cJ     7 May 12 14:04 uic -> wrapper*
   -rwxrwxr-x 1 cJ cJ   318 May 12 14:04 wrapper*

Wrapper contents::

   #!/usr/bin/env python
   # Calls win32 Qt tools via wine (too lazy to install the same version)

   import sys, os, subprocess

   QT4_ROOT = os.environ["QT4_ROOT"]
   tool = os.path.basename(sys.argv[0])
   args = sys.argv[1:]
   cmd = [
    "wine",
    "%s/bin/%s" % (QT4_ROOT, tool),
   ] + args

   sys.exit(subprocess.call(cmd))

Note: disabled localization in qt4 demo wscript as I don't need it.
2012-05-12 14:56:09 -04:00
Thomas Nagy 556eabd0af new include guard for write_config_header 2012-05-11 07:26:50 +02:00
Thomas Nagy 49ce7a489e add the FCFLAGS from the os environ 2012-05-09 00:35:24 +02:00
Thomas Nagy bb25f417f8 simplification 2012-05-08 18:31:20 +02:00
Thomas Nagy 0d97220bd4 force gcc for gcc+asm support 2012-05-05 17:06:34 +02:00
ita b6455df988 use the unbuffered output for latex commands 2012-05-04 10:05:10 +02:00
ita ea12601932 Make sure g95.py gfortran.py and ifort.py can be used in a standalone manner 2012-04-30 11:07:08 +02:00
ita 12b66365d3 Issue 1159 2012-04-30 10:29:31 +02:00
Thomas Nagy 707fa06763 Issue 1154 2012-04-23 23:59:53 +02:00
Thomas Nagy af2c42f9b8 Issue 1153, fix the C# stuff 2012-04-23 19:16:56 +02:00
Thomas Nagy 692ab67591 typo 2012-04-21 10:22:22 +02:00
Thomas Nagy af2d8053cc Issue 1150, Apple broke java 2012-04-21 00:22:44 +02:00
andreww 7515dab30e Add 'platform' argument for C# tasks.
Set the 'platform' argument on C# a task generator to select the
'/platform' option to pass to the compiler. Defaults to 'anycpu'.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-04-17 20:43:25 +02:00
Thomas Nagy d5c9b8f258 Issue 1117 2012-04-16 19:54:19 +02:00
Thomas Nagy 3e0c65e4af feature 'subst' supports before/after, disable the warning 2012-04-08 20:20:10 +02:00
Thomas Nagy bafd9c4417 refactor the vapi_dirs flags processing 2012-04-07 14:48:45 +02:00
Thomas Nagy 1e083206af extract another method from the vala processing 2012-04-07 14:42:47 +02:00
Thomas Nagy e7306c166f cleanup 2012-04-07 13:50:26 +02:00
Thomas Nagy 237de1d4e3 refactoring vala.py 2012-04-07 13:40:34 +02:00
Thomas Nagy 898872699d removed the macro DLL_EXPORT for gcc/g++ on windows and cleaned up a few TODO entries 2012-04-07 10:54:40 +02:00
Thomas Nagy 49f773b43c this might solve Issue 1132 2012-04-03 23:40:50 +02:00
Thomas Nagy 03905f8402 cosmetic change 2012-04-01 11:30:23 +02:00
Thomas Nagy c86de0c041 Issue 1131 2012-03-23 03:50:15 +01:00
Thomas Nagy 59f4ceb51e Issue 1131 2012-03-23 03:42:05 +01:00
Thomas Nagy ce05a01705 Issue 1131 2012-03-23 03:31:56 +01:00
Thomas Nagy 154bc0145e Issue 1130 2012-03-18 19:05:54 +01:00
Thomas Nagy 9c823649ab Issue 1122 2012-03-11 13:14:28 +01:00
Thomas Nagy 8bfddb955e Issue 1125 2012-03-10 19:22:40 +01:00
Thomas Nagy 5aee9e74a8 Issue 1123 2012-03-09 20:16:56 +01:00
Thomas Nagy 533029892f Issue 1122 2012-03-08 21:35:36 +01:00
Thomas Nagy 85f7426d31 Issue 722 2012-03-04 15:33:48 +01:00
Thomas Nagy 284c3a0810 Install all libraries with +x 2012-03-03 15:54:17 +01:00
Thomas Nagy 8ca6bc9504 Issue 1111 2012-02-26 14:32:30 +01:00
Thomas Nagy 5beb2c4d55 Issue 1117 2012-02-26 13:25:21 +01:00
Thomas Nagy 1134de1bb5 Issue 1120 2012-02-25 16:47:30 +01:00
Thomas Nagy 25783e94d9 extract the system paths to a constant 2012-02-25 14:17:12 +01:00
Thomas Nagy 74beae4113 Issue 1117 2012-02-22 20:41:09 +01:00
Thomas Nagy 976d2e95a0 make the 'execute' parameter optional when checking for the d libraries 2012-02-22 19:24:06 +01:00
Thomas Nagy 3938a4ae70 for consistency x.search() -> x.search_node() 2012-02-19 10:15:31 +01:00
Harald Klimach 818e057de5 Addressing issue #1116 2012-02-18 15:33:56 +01:00
Thomas Nagy b5ea8d79f2 remove the go stuff, it will be rewritten 2012-02-18 01:42:44 +01:00
Thomas Nagy 35e7a05ffa Issue 1115 2012-02-18 00:53:18 +01:00
Thomas Nagy 652d42f0ff Issue 1114 2012-02-18 00:27:05 +01:00
Thomas Nagy 8f4f2583f0 propagate the env defined in self.env.env instead of re-creating one from scratch 2012-02-17 20:18:02 +01:00
Thomas Nagy b5bb54ede7 remove more except: lines 2012-02-11 14:49:27 +01:00
Thomas Nagy 63d3442ad2 remove more except: lines 2012-02-11 14:43:07 +01:00
Thomas Nagy 28dc361072 filtered_object -> accept_node_to_link (still bloatware but better name) 2012-02-08 21:40:01 +01:00
Jerome Carretero 1553cb2dd6 ccroot: implement bld.read_object("pouet.o") and aux. feature
I could use this !
2012-02-07 23:48:15 -05:00
Jerome Carretero 5c3f6c680b ccroot: alter add_objects_from_tgen which was too restrictive
The code was talking about filtering out .pdb but it was filtering out anything
that is not in .{o,obj}, preventing from injecting weird objects in the link task.
2012-02-07 22:48:23 -05:00
Thomas Nagy bbacc90ced cleanup 2012-02-06 02:17:24 +01:00
Thomas Nagy 4404d9062c cleanup 2012-02-06 02:13:25 +01:00
Thomas Nagy 959e450043 cleanup for waf 1.7 2012-02-06 01:45:44 +01:00
Thomas Nagy 634a9ed606 clean up for waf 1.7 2012-02-04 19:41:51 +01:00
Thomas Nagy bfca082c42 Cleanup for waf 1.7 2012-02-04 19:39:45 +01:00
Thomas Nagy 1d8f14da94 Issue 1103 2012-01-14 16:35:33 +01:00
Thomas Nagy 09940abecf Issue 1104 2012-01-14 13:45:49 +01:00
Thomas Nagy dd14b122b8 problem fixed? Issue 1104 2012-01-14 13:32:35 +01:00
Thomas Nagy 738d7ac931 Issue 1104 2012-01-14 10:59:49 +01:00
Thomas Nagy c12030c1f8 Issue 1104 2012-01-14 05:09:54 +01:00
Thomas Nagy 8683e29136 dmd wants .obj files on windows? 2012-01-07 15:23:40 +01:00
Thomas Nagy cdb339213b Issue 1098 2012-01-05 21:01:11 +01:00
Thomas Nagy 00fda9dc84 Issue 1097 2012-01-04 20:37:53 +01:00
Thomas Nagy dd4984aab0 #1095 2011-12-31 14:32:38 +01:00
Thomas Nagy 7252308f7d #1094 again 2011-12-31 13:49:34 +01:00
Thomas Nagy 5d31ae480a give conf.env.env to Popen in missing places 2011-12-25 11:11:44 +01:00
Thomas Nagy 9c49c5ab00 Issue 1083 2011-12-17 23:07:25 +01:00
Thomas Nagy 4bc064a119 enable the qt4 tool to run even if xml support is missing 2011-12-17 15:45:42 +01:00
Johan Boule 952d7ab1e9 changed TODO about darwin to a simple note. 2011-12-03 22:00:16 +01:00
Johan Boule e071749244 - added note about spurious darwin detection
- added google nacl
2011-12-03 20:56:58 +01:00
Thomas Nagy 19adba7841 added a warning for ant_glob on the build directory 2011-12-02 19:13:30 +01:00
Thomas Nagy 4c9eceb088 Issue 1074 2011-11-25 22:19:16 +01:00
Thomas Nagy 56ac2bf5e8 fix for python 2.4 2011-11-20 15:27:11 +01:00
yngwe 2c59015b99 PowerPC does not necessarily mean MacOS; darwin GCC should now be detected better 2011-11-20 14:24:01 +01:00
Thomas Nagy 6eb83abd1c fix for python 3 2011-11-19 21:31:25 +01:00
Thomas Nagy a2c4801476 check for endianness 2011-11-19 21:25:58 +01:00
Thomas Nagy bfbbaa2081 add a parameter test_exec to 'check_library' 2011-11-19 18:49:07 +01:00
Thomas Nagy 407a78e209 another fix for powerpc, it looks like i am the first to be looking into it 2011-11-19 14:24:17 +01:00
Thomas Nagy 68a5675914 more powerpc fixes 2011-11-19 13:35:21 +01:00
Thomas Nagy e6f8d1e9ee evil osx stuff 2011-11-19 13:21:02 +01:00
Thomas Nagy 0dda692b6f more osx stuff 2011-11-12 21:47:02 +01:00
Thomas Nagy 8e0552b5cf another attempt for osx 2011-11-12 21:38:21 +01:00
Thomas Nagy f8f5af618f experimental osx stuff 2011-11-12 21:30:48 +01:00
Thomas Nagy 6f5aceb005 experimental osx stuff 2011-11-12 21:08:54 +01:00
Thomas Nagy 4e22c25c5b the variable standard_includes became unused for some reason 2011-11-09 20:21:11 +01:00
yngwe 21035f9cca WinCE support (by Matt); issue 1065 2011-11-07 20:02:39 +01:00
Thomas Nagy 612cb9b8b3 #1061 2011-11-06 14:34:10 +01:00
Thomas Nagy 5419ad2230 cleanup 2011-11-06 13:10:06 +01:00
Thomas Nagy 8587f69be3 #1040 2011-11-06 13:06:54 +01:00
Thomas Nagy c0f1df3905 uncontroversial changes of #1040 2011-11-06 12:58:26 +01:00
Thomas Nagy 7bb92d55ae using -verbose to track which .class were created was a good idea, but it does not work in practice 2011-10-30 20:40:57 +01:00
Thomas Nagy d3d4e2626c #1063 2011-10-27 01:02:58 +02:00
Thomas Nagy 3f0b96ee7a #1063 2011-10-26 22:09:30 +02:00
Thomas Nagy 9fbfadd6d8 #1063 2011-10-26 22:04:34 +02:00
Thomas Nagy c6f6bb29b1 disable the binding installation #1060 2011-10-22 18:13:49 +02:00
Thomas Nagy e473f2a62e cleanup 2011-10-19 04:14:04 +02:00
Thomas Nagy c8448e9c30 dmd on windows will not be supported 2011-10-19 04:11:25 +02:00
Thomas Nagy a65b19cb36 #1052 2011-10-19 04:02:03 +02:00
Thomas Nagy 98be37f206 dmd2 is a totally different thing 2011-10-19 03:34:59 +02:00
Thomas Nagy 57627dc5e9 #1055, add more asm variables 2011-10-16 18:19:31 +02:00
Thomas Nagy fc962542f8 #1052 2011-10-09 22:20:54 +02:00
Thomas Nagy d755722218 #1049 2011-10-04 22:00:15 +02:00
Thomas Nagy 1bf049e4fc Check for erroneous "rule" attributes on task classes 2011-10-04 19:45:30 +02:00
Thomas Nagy f9a598cb29 cosmetic changes 2011-10-01 08:24:36 +02:00
Thomas Nagy 41d7ab3aa6 #1045, disable the .py file installation when setting install_path=None 2011-09-26 02:37:05 +02:00
Thomas Nagy bde0ca40d1 issue #1041 2011-09-16 00:30:25 +02:00
Harald Klimach d939b02498 Ups, missed the cxx LINKFLAGS, when moving them for all compilers. 2011-09-12 10:01:35 +02:00
Harald Klimach 1f8c9269d1 Move LINKFLAGS further to the front, similar to
the CFLAGS.
2011-09-11 12:02:48 +02:00
Thomas Nagy 2efa1ed844 Remove the remaining references to svn. 2011-09-10 21:25:03 +02:00
Thomas Nagy 44a967e326 Initial commit 2011-09-10 11:13:51 +02:00