libv8 3.3.10.2 → 3.3.10.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +35 -7
- data/Rakefile +61 -20
- data/ext/libv8/extconf.rb +15 -0
- data/lib/libv8/scons/CHANGES.txt +231 -24
- data/lib/libv8/scons/LICENSE.txt +1 -1
- data/lib/libv8/scons/MANIFEST +1 -0
- data/lib/libv8/scons/PKG-INFO +1 -1
- data/lib/libv8/scons/README.txt +9 -9
- data/lib/libv8/scons/RELEASE.txt +77 -75
- data/lib/libv8/scons/engine/SCons/Action.py +22 -6
- data/lib/libv8/scons/engine/SCons/Builder.py +2 -2
- data/lib/libv8/scons/engine/SCons/CacheDir.py +2 -2
- data/lib/libv8/scons/engine/SCons/Debug.py +2 -2
- data/lib/libv8/scons/engine/SCons/Defaults.py +24 -10
- data/lib/libv8/scons/engine/SCons/Environment.py +118 -19
- data/lib/libv8/scons/engine/SCons/Errors.py +2 -2
- data/lib/libv8/scons/engine/SCons/Executor.py +2 -2
- data/lib/libv8/scons/engine/SCons/Job.py +2 -2
- data/lib/libv8/scons/engine/SCons/Memoize.py +2 -2
- data/lib/libv8/scons/engine/SCons/Node/Alias.py +2 -2
- data/lib/libv8/scons/engine/SCons/Node/FS.py +281 -121
- data/lib/libv8/scons/engine/SCons/Node/Python.py +2 -2
- data/lib/libv8/scons/engine/SCons/Node/__init__.py +6 -5
- data/lib/libv8/scons/engine/SCons/Options/BoolOption.py +2 -2
- data/lib/libv8/scons/engine/SCons/Options/EnumOption.py +2 -2
- data/lib/libv8/scons/engine/SCons/Options/ListOption.py +2 -2
- data/lib/libv8/scons/engine/SCons/Options/PackageOption.py +2 -2
- data/lib/libv8/scons/engine/SCons/Options/PathOption.py +2 -2
- data/lib/libv8/scons/engine/SCons/Options/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/PathList.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/aix.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/cygwin.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/darwin.py +27 -3
- data/lib/libv8/scons/engine/SCons/Platform/hpux.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/irix.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/os2.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/posix.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/sunos.py +2 -2
- data/lib/libv8/scons/engine/SCons/Platform/win32.py +2 -2
- data/lib/libv8/scons/engine/SCons/SConf.py +2 -2
- data/lib/libv8/scons/engine/SCons/SConsign.py +9 -3
- data/lib/libv8/scons/engine/SCons/Scanner/C.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/D.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/Dir.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/Fortran.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/IDL.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/LaTeX.py +5 -2
- data/lib/libv8/scons/engine/SCons/Scanner/Prog.py +2 -2
- data/lib/libv8/scons/engine/SCons/Scanner/RC.py +3 -3
- data/lib/libv8/scons/engine/SCons/Scanner/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Script/Interactive.py +2 -2
- data/lib/libv8/scons/engine/SCons/Script/Main.py +82 -11
- data/lib/libv8/scons/engine/SCons/Script/SConsOptions.py +5 -5
- data/lib/libv8/scons/engine/SCons/Script/SConscript.py +2 -2
- data/lib/libv8/scons/engine/SCons/Script/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Sig.py +2 -2
- data/lib/libv8/scons/engine/SCons/Subst.py +2 -2
- data/lib/libv8/scons/engine/SCons/Taskmaster.py +10 -2
- data/lib/libv8/scons/engine/SCons/Tool/386asm.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/BitKeeper.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/CVS.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/FortranCommon.py +19 -2
- data/lib/libv8/scons/engine/SCons/Tool/JavaCommon.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/arch.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/common.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/netframework.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/sdk.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/vc.py +9 -6
- data/lib/libv8/scons/engine/SCons/Tool/MSCommon/vs.py +29 -2
- data/lib/libv8/scons/engine/SCons/Tool/Perforce.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/PharLapCommon.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/RCS.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/SCCS.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/Subversion.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/__init__.py +3 -3
- data/lib/libv8/scons/engine/SCons/Tool/aixc++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/aixcc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/aixf77.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/aixlink.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/applelink.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/ar.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/as.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/bcc32.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/c++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/cc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/cvf.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/default.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/dmd.py +24 -7
- data/lib/libv8/scons/engine/SCons/Tool/dvi.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/dvipdf.py +3 -2
- data/lib/libv8/scons/engine/SCons/Tool/dvips.py +3 -2
- data/lib/libv8/scons/engine/SCons/Tool/f03.py +63 -0
- data/lib/libv8/scons/engine/SCons/Tool/f77.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/f90.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/f95.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/filesystem.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/fortran.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/g++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/g77.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/gas.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/gcc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/gfortran.py +3 -3
- data/lib/libv8/scons/engine/SCons/Tool/gnulink.py +2 -3
- data/lib/libv8/scons/engine/SCons/Tool/gs.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/hpc++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/hpcc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/hplink.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/icc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/icl.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/ifl.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/ifort.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/ilink.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/ilink32.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/install.py +57 -3
- data/lib/libv8/scons/engine/SCons/Tool/intelc.py +65 -25
- data/lib/libv8/scons/engine/SCons/Tool/ipkg.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/jar.py +9 -3
- data/lib/libv8/scons/engine/SCons/Tool/javac.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/javah.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/latex.py +3 -2
- data/lib/libv8/scons/engine/SCons/Tool/lex.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/link.py +6 -5
- data/lib/libv8/scons/engine/SCons/Tool/linkloc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/m4.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/masm.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/midl.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/mingw.py +31 -10
- data/lib/libv8/scons/engine/SCons/Tool/mslib.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/mslink.py +61 -9
- data/lib/libv8/scons/engine/SCons/Tool/mssdk.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/msvc.py +21 -11
- data/lib/libv8/scons/engine/SCons/Tool/msvs.py +477 -59
- data/lib/libv8/scons/engine/SCons/Tool/mwcc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/mwld.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/nasm.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/ipk.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/msi.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/rpm.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/src_tarbz2.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/src_targz.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/src_zip.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/tarbz2.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/targz.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/packaging/zip.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/pdf.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/pdflatex.py +3 -2
- data/lib/libv8/scons/engine/SCons/Tool/pdftex.py +3 -2
- data/lib/libv8/scons/engine/SCons/Tool/qt.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/rmic.py +9 -3
- data/lib/libv8/scons/engine/SCons/Tool/rpcgen.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/rpm.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sgiar.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sgic++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sgicc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sgilink.py +2 -3
- data/lib/libv8/scons/engine/SCons/Tool/sunar.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sunc++.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/suncc.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sunf77.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sunf90.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sunf95.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/sunlink.py +2 -3
- data/lib/libv8/scons/engine/SCons/Tool/swig.py +6 -5
- data/lib/libv8/scons/engine/SCons/Tool/tar.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/tex.py +96 -43
- data/lib/libv8/scons/engine/SCons/Tool/textfile.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/tlib.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/wix.py +2 -2
- data/lib/libv8/scons/engine/SCons/Tool/yacc.py +12 -2
- data/lib/libv8/scons/engine/SCons/Tool/zip.py +2 -2
- data/lib/libv8/scons/engine/SCons/Util.py +3 -3
- data/lib/libv8/scons/engine/SCons/Variables/BoolVariable.py +2 -2
- data/lib/libv8/scons/engine/SCons/Variables/EnumVariable.py +3 -3
- data/lib/libv8/scons/engine/SCons/Variables/ListVariable.py +2 -2
- data/lib/libv8/scons/engine/SCons/Variables/PackageVariable.py +2 -2
- data/lib/libv8/scons/engine/SCons/Variables/PathVariable.py +2 -2
- data/lib/libv8/scons/engine/SCons/Variables/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/Warnings.py +2 -2
- data/lib/libv8/scons/engine/SCons/__init__.py +6 -6
- data/lib/libv8/scons/engine/SCons/compat/__init__.py +2 -2
- data/lib/libv8/scons/engine/SCons/compat/_scons_builtins.py +2 -2
- data/lib/libv8/scons/engine/SCons/compat/_scons_collections.py +2 -2
- data/lib/libv8/scons/engine/SCons/compat/_scons_dbm.py +2 -2
- data/lib/libv8/scons/engine/SCons/compat/_scons_hashlib.py +2 -2
- data/lib/libv8/scons/engine/SCons/compat/_scons_io.py +2 -2
- data/lib/libv8/scons/engine/SCons/cpp.py +2 -2
- data/lib/libv8/scons/engine/SCons/dblite.py +4 -1
- data/lib/libv8/scons/engine/SCons/exitfuncs.py +2 -2
- data/lib/libv8/scons/scons-time.1 +3 -3
- data/lib/libv8/scons/scons.1 +1209 -1203
- data/lib/libv8/scons/sconsign.1 +3 -3
- data/lib/libv8/scons/script/scons +22 -22
- data/lib/libv8/scons/script/scons-time +2 -2
- data/lib/libv8/scons/script/scons.bat +7 -4
- data/lib/libv8/scons/script/sconsign +21 -20
- data/lib/libv8/scons/setup.cfg +0 -1
- data/lib/libv8/scons/setup.py +38 -40
- data/lib/libv8/version.rb +4 -2
- data/libv8.gemspec +7 -2
- metadata +46 -67
@@ -5,7 +5,7 @@ SCons string substitution.
|
|
5
5
|
"""
|
6
6
|
|
7
7
|
#
|
8
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
8
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
9
9
|
#
|
10
10
|
# Permission is hereby granted, free of charge, to any person obtaining
|
11
11
|
# a copy of this software and associated documentation files (the
|
@@ -26,7 +26,7 @@ SCons string substitution.
|
|
26
26
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
27
27
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
28
28
|
|
29
|
-
__revision__ = "src/engine/SCons/Subst.py
|
29
|
+
__revision__ = "src/engine/SCons/Subst.py 5357 2011/09/09 21:31:03 bdeegan"
|
30
30
|
|
31
31
|
import collections
|
32
32
|
import re
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -47,7 +47,7 @@ interface and the SCons build engine. There are two key classes here:
|
|
47
47
|
target(s) that it decides need to be evaluated and/or built.
|
48
48
|
"""
|
49
49
|
|
50
|
-
__revision__ = "src/engine/SCons/Taskmaster.py
|
50
|
+
__revision__ = "src/engine/SCons/Taskmaster.py 5357 2011/09/09 21:31:03 bdeegan"
|
51
51
|
|
52
52
|
from itertools import chain
|
53
53
|
import operator
|
@@ -66,6 +66,7 @@ NODE_UP_TO_DATE = SCons.Node.up_to_date
|
|
66
66
|
NODE_EXECUTED = SCons.Node.executed
|
67
67
|
NODE_FAILED = SCons.Node.failed
|
68
68
|
|
69
|
+
print_prepare = 0 # set by option --debug=prepare
|
69
70
|
|
70
71
|
# A subsystem for recording stats about how different Nodes are handled by
|
71
72
|
# the main Taskmaster loop. There's no external control here (no need for
|
@@ -161,6 +162,7 @@ class Task(object):
|
|
161
162
|
unlink underlying files and make all necessary directories before
|
162
163
|
the Action is actually called to build the targets.
|
163
164
|
"""
|
165
|
+
global print_prepare
|
164
166
|
T = self.tm.trace
|
165
167
|
if T: T.write(self.trace_message(u'Task.prepare()', self.node))
|
166
168
|
|
@@ -186,8 +188,14 @@ class Task(object):
|
|
186
188
|
executor = self.targets[0].get_executor()
|
187
189
|
executor.prepare()
|
188
190
|
for t in executor.get_action_targets():
|
191
|
+
if print_prepare:
|
192
|
+
print "Preparing target %s..."%t
|
193
|
+
for s in t.side_effects:
|
194
|
+
print "...with side-effect %s..."%s
|
189
195
|
t.prepare()
|
190
196
|
for s in t.side_effects:
|
197
|
+
if print_prepare:
|
198
|
+
print "...Preparing side-effect %s..."%s
|
191
199
|
s.prepare()
|
192
200
|
|
193
201
|
def get_target(self):
|
@@ -10,7 +10,7 @@ selection method.
|
|
10
10
|
"""
|
11
11
|
|
12
12
|
#
|
13
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
13
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
14
14
|
#
|
15
15
|
# Permission is hereby granted, free of charge, to any person obtaining
|
16
16
|
# a copy of this software and associated documentation files (the
|
@@ -32,7 +32,7 @@ selection method.
|
|
32
32
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
33
33
|
#
|
34
34
|
|
35
|
-
__revision__ = "src/engine/SCons/Tool/386asm.py
|
35
|
+
__revision__ = "src/engine/SCons/Tool/386asm.py 5357 2011/09/09 21:31:03 bdeegan"
|
36
36
|
|
37
37
|
from SCons.Tool.PharLapCommon import addPharLapPaths
|
38
38
|
import SCons.Util
|
@@ -10,7 +10,7 @@ selection method.
|
|
10
10
|
"""
|
11
11
|
|
12
12
|
#
|
13
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
13
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
14
14
|
#
|
15
15
|
# Permission is hereby granted, free of charge, to any person obtaining
|
16
16
|
# a copy of this software and associated documentation files (the
|
@@ -32,7 +32,7 @@ selection method.
|
|
32
32
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
33
33
|
#
|
34
34
|
|
35
|
-
__revision__ = "src/engine/SCons/Tool/BitKeeper.py
|
35
|
+
__revision__ = "src/engine/SCons/Tool/BitKeeper.py 5357 2011/09/09 21:31:03 bdeegan"
|
36
36
|
|
37
37
|
import SCons.Action
|
38
38
|
import SCons.Builder
|
@@ -8,7 +8,7 @@ selection method.
|
|
8
8
|
|
9
9
|
"""
|
10
10
|
|
11
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
12
12
|
#
|
13
13
|
# Permission is hereby granted, free of charge, to any person obtaining
|
14
14
|
# a copy of this software and associated documentation files (the
|
@@ -29,7 +29,7 @@ selection method.
|
|
29
29
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
30
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
31
|
|
32
|
-
__revision__ = "src/engine/SCons/Tool/CVS.py
|
32
|
+
__revision__ = "src/engine/SCons/Tool/CVS.py 5357 2011/09/09 21:31:03 bdeegan"
|
33
33
|
|
34
34
|
import SCons.Action
|
35
35
|
import SCons.Builder
|
@@ -5,7 +5,7 @@ Stuff for processing Fortran, common to all fortran dialects.
|
|
5
5
|
"""
|
6
6
|
|
7
7
|
#
|
8
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
8
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
9
9
|
#
|
10
10
|
# Permission is hereby granted, free of charge, to any person obtaining
|
11
11
|
# a copy of this software and associated documentation files (the
|
@@ -27,7 +27,7 @@ Stuff for processing Fortran, common to all fortran dialects.
|
|
27
27
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
28
28
|
#
|
29
29
|
|
30
|
-
__revision__ = "src/engine/SCons/Tool/FortranCommon.py
|
30
|
+
__revision__ = "src/engine/SCons/Tool/FortranCommon.py 5357 2011/09/09 21:31:03 bdeegan"
|
31
31
|
|
32
32
|
import re
|
33
33
|
import os.path
|
@@ -231,6 +231,22 @@ def add_f95_to_env(env):
|
|
231
231
|
DialectAddToEnv(env, "F95", F95Suffixes, F95PPSuffixes,
|
232
232
|
support_module = 1)
|
233
233
|
|
234
|
+
def add_f03_to_env(env):
|
235
|
+
"""Add Builders and construction variables for f03 to an Environment."""
|
236
|
+
try:
|
237
|
+
F03Suffixes = env['F03FILESUFFIXES']
|
238
|
+
except KeyError:
|
239
|
+
F03Suffixes = ['.f03']
|
240
|
+
|
241
|
+
#print "Adding %s to f95 suffixes" % F95Suffixes
|
242
|
+
try:
|
243
|
+
F03PPSuffixes = env['F03PPFILESUFFIXES']
|
244
|
+
except KeyError:
|
245
|
+
F03PPSuffixes = []
|
246
|
+
|
247
|
+
DialectAddToEnv(env, "F03", F03Suffixes, F03PPSuffixes,
|
248
|
+
support_module = 1)
|
249
|
+
|
234
250
|
def add_all_to_env(env):
|
235
251
|
"""Add builders and construction variables for all supported fortran
|
236
252
|
dialects."""
|
@@ -238,6 +254,7 @@ def add_all_to_env(env):
|
|
238
254
|
add_f77_to_env(env)
|
239
255
|
add_f90_to_env(env)
|
240
256
|
add_f95_to_env(env)
|
257
|
+
add_f03_to_env(env)
|
241
258
|
|
242
259
|
# Local Variables:
|
243
260
|
# tab-width:4
|
@@ -5,7 +5,7 @@ Stuff for processing Java.
|
|
5
5
|
"""
|
6
6
|
|
7
7
|
#
|
8
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
8
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
9
9
|
#
|
10
10
|
# Permission is hereby granted, free of charge, to any person obtaining
|
11
11
|
# a copy of this software and associated documentation files (the
|
@@ -27,7 +27,7 @@ Stuff for processing Java.
|
|
27
27
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
28
28
|
#
|
29
29
|
|
30
|
-
__revision__ = "src/engine/SCons/Tool/JavaCommon.py
|
30
|
+
__revision__ = "src/engine/SCons/Tool/JavaCommon.py 5357 2011/09/09 21:31:03 bdeegan"
|
31
31
|
|
32
32
|
import os
|
33
33
|
import os.path
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -21,7 +21,7 @@
|
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
22
|
#
|
23
23
|
|
24
|
-
__revision__ = "src/engine/SCons/Tool/MSCommon/__init__.py
|
24
|
+
__revision__ = "src/engine/SCons/Tool/MSCommon/__init__.py 5357 2011/09/09 21:31:03 bdeegan"
|
25
25
|
|
26
26
|
__doc__ = """
|
27
27
|
Common functions for Microsoft Visual Studio and Visual C/C++.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -21,7 +21,7 @@
|
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
22
|
#
|
23
23
|
|
24
|
-
__revision__ = "src/engine/SCons/Tool/MSCommon/arch.py
|
24
|
+
__revision__ = "src/engine/SCons/Tool/MSCommon/arch.py 5357 2011/09/09 21:31:03 bdeegan"
|
25
25
|
|
26
26
|
__doc__ = """Module to define supported Windows chip architectures.
|
27
27
|
"""
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -21,7 +21,7 @@
|
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
22
|
#
|
23
23
|
|
24
|
-
__revision__ = "src/engine/SCons/Tool/MSCommon/common.py
|
24
|
+
__revision__ = "src/engine/SCons/Tool/MSCommon/common.py 5357 2011/09/09 21:31:03 bdeegan"
|
25
25
|
|
26
26
|
__doc__ = """
|
27
27
|
Common helper functions for working with the Microsoft tool chain.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
22
|
|
23
|
-
__revision__ = "src/engine/SCons/Tool/MSCommon/netframework.py
|
23
|
+
__revision__ = "src/engine/SCons/Tool/MSCommon/netframework.py 5357 2011/09/09 21:31:03 bdeegan"
|
24
24
|
|
25
25
|
__doc__ = """
|
26
26
|
"""
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -21,7 +21,7 @@
|
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
22
|
#
|
23
23
|
|
24
|
-
__revision__ = "src/engine/SCons/Tool/MSCommon/sdk.py
|
24
|
+
__revision__ = "src/engine/SCons/Tool/MSCommon/sdk.py 5357 2011/09/09 21:31:03 bdeegan"
|
25
25
|
|
26
26
|
__doc__ = """Module to detect the Platform/Windows SDK
|
27
27
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -30,7 +30,7 @@
|
|
30
30
|
# * test on 64 bits XP + VS 2005 (and VS 6 if possible)
|
31
31
|
# * SDK
|
32
32
|
# * Assembly
|
33
|
-
__revision__ = "src/engine/SCons/Tool/MSCommon/vc.py
|
33
|
+
__revision__ = "src/engine/SCons/Tool/MSCommon/vc.py 5357 2011/09/09 21:31:03 bdeegan"
|
34
34
|
|
35
35
|
__doc__ = """Module for Visual C/C++ detection and configuration.
|
36
36
|
"""
|
@@ -128,9 +128,11 @@ def get_host_target(env):
|
|
128
128
|
|
129
129
|
return (host, target,req_target_platform)
|
130
130
|
|
131
|
-
_VCVER = ["10.0", "9.0", "9.0Exp","8.0", "8.0Exp","7.1", "7.0", "6.0"]
|
131
|
+
_VCVER = ["10.0Exp","10.0", "9.0", "9.0Exp","8.0", "8.0Exp","7.1", "7.0", "6.0"]
|
132
132
|
|
133
133
|
_VCVER_TO_PRODUCT_DIR = {
|
134
|
+
'10.0Exp' : [
|
135
|
+
r'Microsoft\VCExpress\10.0\Setup\VC\ProductDir'],
|
134
136
|
'10.0': [
|
135
137
|
r'Microsoft\VisualStudio\10.0\Setup\VC\ProductDir'],
|
136
138
|
'9.0': [
|
@@ -324,9 +326,10 @@ def get_default_version(env):
|
|
324
326
|
installed_vcs = cached_get_installed_vcs()
|
325
327
|
debug('installed_vcs:%s' % installed_vcs)
|
326
328
|
if not installed_vcs:
|
327
|
-
msg = 'No installed VCs'
|
328
|
-
debug('msv %s\n' % repr(msg))
|
329
|
-
SCons.Warnings.warn(SCons.Warnings.VisualCMissingWarning, msg)
|
329
|
+
#msg = 'No installed VCs'
|
330
|
+
#debug('msv %s\n' % repr(msg))
|
331
|
+
#SCons.Warnings.warn(SCons.Warnings.VisualCMissingWarning, msg)
|
332
|
+
debug('msvc_setup_env: No installed VCs')
|
330
333
|
return None
|
331
334
|
msvc_version = installed_vcs[0]
|
332
335
|
debug('msvc_setup_env: using default installed MSVC version %s\n' % repr(msvc_version))
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
2
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -21,7 +21,7 @@
|
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
22
|
#
|
23
23
|
|
24
|
-
__revision__ = "src/engine/SCons/Tool/MSCommon/vs.py
|
24
|
+
__revision__ = "src/engine/SCons/Tool/MSCommon/vs.py 5357 2011/09/09 21:31:03 bdeegan"
|
25
25
|
|
26
26
|
__doc__ = """Module to detect Visual Studio and/or Visual C/C++
|
27
27
|
"""
|
@@ -211,6 +211,33 @@ SupportedVSList = [
|
|
211
211
|
# default_dirname='TBD',
|
212
212
|
#),
|
213
213
|
|
214
|
+
# Visual Studio 2010
|
215
|
+
# The batch file we look for is in the VC directory,
|
216
|
+
# so the devenv.com executable is up in ..\..\Common7\IDE.
|
217
|
+
VisualStudio('10.0',
|
218
|
+
sdk_version='6.1',
|
219
|
+
hkeys=[r'Microsoft\VisualStudio\10.0\Setup\VS\ProductDir'],
|
220
|
+
common_tools_var='VS100COMNTOOLS',
|
221
|
+
executable_path=r'Common7\IDE\devenv.com',
|
222
|
+
batch_file_path=r'Common7\Tools\vsvars32.bat',
|
223
|
+
default_dirname='Microsoft Visual Studio 10',
|
224
|
+
supported_arch=['x86', 'amd64'],
|
225
|
+
),
|
226
|
+
|
227
|
+
# Visual C++ 2010 Express Edition
|
228
|
+
# The batch file we look for is in the VC directory,
|
229
|
+
# so the VCExpress.exe executable is up in ..\..\Common7\IDE.
|
230
|
+
VisualStudio('10.0Exp',
|
231
|
+
vc_version='10.0',
|
232
|
+
sdk_version='6.1',
|
233
|
+
hkeys=[r'Microsoft\VCExpress\10.0\Setup\VS\ProductDir'],
|
234
|
+
common_tools_var='VS100COMNTOOLS',
|
235
|
+
executable_path=r'Common7\IDE\VCExpress.exe',
|
236
|
+
batch_file_path=r'Common7\Tools\vsvars32.bat',
|
237
|
+
default_dirname='Microsoft Visual Studio 10',
|
238
|
+
supported_arch=['x86'],
|
239
|
+
),
|
240
|
+
|
214
241
|
# Visual Studio 2008
|
215
242
|
# The batch file we look for is in the VC directory,
|
216
243
|
# so the devenv.com executable is up in ..\..\Common7\IDE.
|
@@ -8,7 +8,7 @@ selection method.
|
|
8
8
|
|
9
9
|
"""
|
10
10
|
|
11
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
12
12
|
#
|
13
13
|
# Permission is hereby granted, free of charge, to any person obtaining
|
14
14
|
# a copy of this software and associated documentation files (the
|
@@ -29,7 +29,7 @@ selection method.
|
|
29
29
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
30
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
31
|
|
32
|
-
__revision__ = "src/engine/SCons/Tool/Perforce.py
|
32
|
+
__revision__ = "src/engine/SCons/Tool/Perforce.py 5357 2011/09/09 21:31:03 bdeegan"
|
33
33
|
|
34
34
|
import os
|
35
35
|
|
@@ -7,7 +7,7 @@ Phar Lap ETS tool chain. Right now, this is linkloc and
|
|
7
7
|
"""
|
8
8
|
|
9
9
|
#
|
10
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
10
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
11
11
|
#
|
12
12
|
# Permission is hereby granted, free of charge, to any person obtaining
|
13
13
|
# a copy of this software and associated documentation files (the
|
@@ -29,7 +29,7 @@ Phar Lap ETS tool chain. Right now, this is linkloc and
|
|
29
29
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
30
30
|
#
|
31
31
|
|
32
|
-
__revision__ = "src/engine/SCons/Tool/PharLapCommon.py
|
32
|
+
__revision__ = "src/engine/SCons/Tool/PharLapCommon.py 5357 2011/09/09 21:31:03 bdeegan"
|
33
33
|
|
34
34
|
import os
|
35
35
|
import os.path
|
@@ -8,7 +8,7 @@ selection method.
|
|
8
8
|
|
9
9
|
"""
|
10
10
|
|
11
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
12
12
|
#
|
13
13
|
# Permission is hereby granted, free of charge, to any person obtaining
|
14
14
|
# a copy of this software and associated documentation files (the
|
@@ -29,7 +29,7 @@ selection method.
|
|
29
29
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
30
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
31
|
|
32
|
-
__revision__ = "src/engine/SCons/Tool/RCS.py
|
32
|
+
__revision__ = "src/engine/SCons/Tool/RCS.py 5357 2011/09/09 21:31:03 bdeegan"
|
33
33
|
|
34
34
|
import SCons.Action
|
35
35
|
import SCons.Builder
|
@@ -8,7 +8,7 @@ selection method.
|
|
8
8
|
|
9
9
|
"""
|
10
10
|
|
11
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
12
12
|
#
|
13
13
|
# Permission is hereby granted, free of charge, to any person obtaining
|
14
14
|
# a copy of this software and associated documentation files (the
|
@@ -29,7 +29,7 @@ selection method.
|
|
29
29
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
30
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
31
|
|
32
|
-
__revision__ = "src/engine/SCons/Tool/SCCS.py
|
32
|
+
__revision__ = "src/engine/SCons/Tool/SCCS.py 5357 2011/09/09 21:31:03 bdeegan"
|
33
33
|
|
34
34
|
import SCons.Action
|
35
35
|
import SCons.Builder
|
@@ -8,7 +8,7 @@ selection method.
|
|
8
8
|
|
9
9
|
"""
|
10
10
|
|
11
|
-
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
12
12
|
#
|
13
13
|
# Permission is hereby granted, free of charge, to any person obtaining
|
14
14
|
# a copy of this software and associated documentation files (the
|
@@ -29,7 +29,7 @@ selection method.
|
|
29
29
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
30
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
31
|
|
32
|
-
__revision__ = "src/engine/SCons/Tool/Subversion.py
|
32
|
+
__revision__ = "src/engine/SCons/Tool/Subversion.py 5357 2011/09/09 21:31:03 bdeegan"
|
33
33
|
|
34
34
|
import os.path
|
35
35
|
|