2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-17 07:27:30 +01:00
Commit Graph

151 Commits

Author SHA1 Message Date
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