15 |
EnsureSConsVersion(0,96,91) |
EnsureSConsVersion(0,96,91) |
16 |
EnsurePythonVersion(2,3) |
EnsurePythonVersion(2,3) |
17 |
|
|
18 |
|
# import tools: |
19 |
|
import glob |
20 |
import sys, os |
import sys, os |
21 |
# Add our extensions |
# Add our extensions |
22 |
if sys.path.count('scons')==0: sys.path.append('scons') |
if sys.path.count('scons')==0: sys.path.append('scons') |
45 |
('incinstall', 'where the esys headers will be installed', Dir('#.').abspath+'/include'), |
('incinstall', 'where the esys headers will be installed', Dir('#.').abspath+'/include'), |
46 |
('libinstall', 'where the esys libraries will be installed', Dir('#.').abspath+'/lib'), |
('libinstall', 'where the esys libraries will be installed', Dir('#.').abspath+'/lib'), |
47 |
('pyinstall', 'where the esys python modules will be installed', Dir('#.').abspath), |
('pyinstall', 'where the esys python modules will be installed', Dir('#.').abspath), |
48 |
|
('src_zipfile', 'the source zip file will be installed.', Dir('#.').abspath+"/release/escript_src.zip"), |
49 |
|
('test_zipfile', 'the test zip file will be installed.', Dir('#.').abspath+"/release/escript_tests.zip"), |
50 |
|
('src_tarfile', 'the source tar file will be installed.', Dir('#.').abspath+"/release/escript_src.tar.gz"), |
51 |
|
('test_tarfile', 'the test tar file will be installed.', Dir('#.').abspath+"/release/escript_tests.tar.gz"), |
52 |
|
('examples_tarfile', 'the examples tar file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.tar.gz"), |
53 |
|
('examples_zipfile', 'the examples zip file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.zip"), |
54 |
|
('guide_pdf', 'name of the user guide in pdf format', Dir('#.').abspath+"/release/doc/user/guide.pdf"), |
55 |
|
('api_epydoc', 'name of the epydoc api docs directory',Dir('#.').abspath+"/release/doc/epydoc"), |
56 |
|
('guide_html', 'name of the directory for user guide in html format', Dir('#.').abspath+"/release/doc/user/html"), |
57 |
# Compilation options |
# Compilation options |
58 |
BoolOption('dodebug', 'Do you want a debug build?', 'yes'), |
BoolOption('dodebug', 'Do you want a debug build?', 'no'), |
59 |
('options_file', "Optional file containing preferred options. Ignored if it doesn't exist (default: scons/hostname_options.py)", options_file), |
('options_file', "Optional file containing preferred options. Ignored if it doesn't exist (default: scons/hostname_options.py)", options_file), |
60 |
('cc_defines','C/C++ defines to use', None), |
('cc_defines','C/C++ defines to use', None), |
61 |
('cc_flags','C compiler flags to use (Release build)', None), |
('cc_flags','C compiler flags to use (Release build)', '-O3 -std=c99 -ffast-math -fpic -Wno-unknown-pragmas'), |
62 |
('cc_flags_debug', 'C compiler flags to use (Debug build)', None), |
('cc_flags_debug', 'C compiler flags to use (Debug build)', '-g -O0 -ffast-math -std=c99 -fpic -Wno-unknown-pragmas'), |
63 |
('cxx_flags', 'C++ compiler flags to use (Release build)', None), |
('cxx_flags', 'C++ compiler flags to use (Release build)', '--no-warn -ansi'), |
64 |
('cxx_flags_debug', 'C++ compiler flags to use (Debug build)', None), |
('cxx_flags_debug', 'C++ compiler flags to use (Debug build)', '--no-warn -ansi -DDOASSERT -DDOPROF'), |
65 |
|
('cc_flags_MPI','C compiler flags to use (Release MPI build)', '-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -fno-alias -c99 -w1 -fpic -wd161'), |
66 |
|
('cc_flags_debug_MPI', 'C compiler flags to use (Debug MPI build)', '-g -O0 -c99 -w1 -fpic -wd161'), |
67 |
|
('cxx_flags_MPI', 'C++ compiler flags to use (Release MPI build)', '-ansi -wd1563 -wd161'), |
68 |
|
('cxx_flags_debug_MPI', 'C++ compiler flags to use (Debug MPI build)', '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161'), |
69 |
('ar_flags', 'Static library archiver flags to use', None), |
('ar_flags', 'Static library archiver flags to use', None), |
70 |
('sys_libs', 'System libraries to link with', None), |
('sys_libs', 'System libraries to link with', None), |
71 |
|
('tar_flags','flags for zip files','-c -z'), |
72 |
# MKL |
# MKL |
73 |
PathOption('mkl_path', 'Path to MKL includes', None), |
PathOption('mkl_path', 'Path to MKL includes', None), |
74 |
PathOption('mkl_lib_path', 'Path to MKL libs', None), |
PathOption('mkl_lib_path', 'Path to MKL libs', None), |
77 |
PathOption('scsl_path', 'Path to SCSL includes', None), |
PathOption('scsl_path', 'Path to SCSL includes', None), |
78 |
PathOption('scsl_lib_path', 'Path to SCSL libs', None), |
PathOption('scsl_lib_path', 'Path to SCSL libs', None), |
79 |
('scsl_libs', 'SCSL libraries to link with', None), |
('scsl_libs', 'SCSL libraries to link with', None), |
80 |
|
('scsl_libs_MPI', 'SCSL libraries to link with for MPI build', None), |
81 |
# UMFPACK |
# UMFPACK |
82 |
PathOption('umf_path', 'Path to UMF includes', None), |
PathOption('umf_path', 'Path to UMF includes', None), |
83 |
PathOption('umf_lib_path', 'Path to UMF libs', None), |
PathOption('umf_lib_path', 'Path to UMF libs', None), |
84 |
('umf_libs', 'UMF libraries to link with', None), |
('umf_libs', 'UMF libraries to link with', None), |
85 |
# Python |
# Python |
86 |
PathOption('python_path', 'Path to Python includes', '/usr/include'), |
# locations of include files for python |
87 |
|
PathOption('python_path', 'Path to Python includes', '/usr/include/python%s.%s'%(sys.version_info[0],sys.version_info[1])), |
88 |
PathOption('python_lib_path', 'Path to Python libs', '/usr/lib'), |
PathOption('python_lib_path', 'Path to Python libs', '/usr/lib'), |
89 |
('python_lib', 'Python libraries to link with', ['python2.3',]), |
('python_lib', 'Python libraries to link with', ["python%s.%s"%(sys.version_info[0],sys.version_info[1]),]), |
90 |
# Boost |
# Boost |
91 |
PathOption('boost_path', 'Path to Boost includes', '/usr/include'), |
PathOption('boost_path', 'Path to Boost includes', '/usr/include'), |
92 |
PathOption('boost_lib_path', 'Path to Boost libs', '/usr/lib'), |
PathOption('boost_lib_path', 'Path to Boost libs', '/usr/lib'), |
93 |
('boost_lib', 'Boost libraries to link with', ['boost_python',]), |
('boost_lib', 'Boost libraries to link with', ['boost_python',]), |
|
# CppUnit |
|
|
PathOption('cppunit_path', 'Path to CppUnit includes', Dir('#.').abspath+'/tools/CppUnitTest/inc'), |
|
|
PathOption('cppunit_lib_path', 'Path to CppUnit libs', Dir('#.').abspath+'/lib'), |
|
|
('cppunit_lib', 'CppUnit libraries to link with', ['CppUnitTest',]), |
|
94 |
# Doc building |
# Doc building |
95 |
PathOption('doxygen_path', 'Path to Doxygen executable', None), |
# PathOption('doxygen_path', 'Path to Doxygen executable', None), |
96 |
PathOption('epydoc_path', 'Path to Epydoc executable', None), |
# PathOption('epydoc_path', 'Path to Epydoc executable', None), |
|
PathOption('epydoc_pythonpath', 'Path to Epydoc python files', None), |
|
97 |
# PAPI |
# PAPI |
98 |
PathOption('papi_path', 'Path to PAPI includes', None), |
PathOption('papi_path', 'Path to PAPI includes', None), |
99 |
PathOption('papi_lib_path', 'Path to PAPI libs', None), |
PathOption('papi_lib_path', 'Path to PAPI libs', None), |
100 |
('papi_libs', 'PAPI libraries to link with', None), |
('papi_libs', 'PAPI libraries to link with', None), |
101 |
|
# MPI |
102 |
|
BoolOption('useMPI', 'Compile parallel version using MPI', 'no'), |
103 |
) |
) |
104 |
|
|
105 |
# Initialise Scons Build Environment |
# Initialise Scons Build Environment |
126 |
# FIXME: Perhaps a modification to intelc.py will allow better support for ia64 on altix |
# FIXME: Perhaps a modification to intelc.py will allow better support for ia64 on altix |
127 |
|
|
128 |
if os.name != "nt" and os.uname()[4]=='ia64': |
if os.name != "nt" and os.uname()[4]=='ia64': |
129 |
env = Environment(ENV = {'PATH':path, 'LD_LIBRARY_PATH':ld_library_path, 'PYTHONPATH':python_path}, tools = ['default', 'intelc'], options = opts) |
env = Environment(ENV = {'PATH':path}, tools = ['default', 'intelc'], options = opts) |
130 |
|
env['ENV']['PATH'] = path |
131 |
|
env['ENV']['LD_LIBRARY_PATH'] = ld_library_path |
132 |
|
env['ENV']['PYTHONPATH'] = python_path |
133 |
if env['CXX'] == 'icpc': |
if env['CXX'] == 'icpc': |
134 |
env['LINK'] = env['CXX'] # version >=9 of intel c++ compiler requires use of icpc to link in C++ runtimes (icc does not). FIXME: this behaviour could be directly incorporated into scons intelc.py |
env['LINK'] = env['CXX'] # version >=9 of intel c++ compiler requires use of icpc to link in C++ runtimes (icc does not). FIXME: this behaviour could be directly incorporated into scons intelc.py |
135 |
elif os.name == "nt": |
elif os.name == "nt": |
136 |
# FIXME: Need to implement equivalent of ld library path for windoze |
env = Environment(tools = ['default', 'intelc'], options = opts) |
137 |
env = Environment(ENV = {'PYTHONPATH':python_path}, tools = ['default', 'intelc'], options = opts) |
env['ENV']['PYTHONPATH'] = python_path |
138 |
else: |
else: |
139 |
env = Environment(ENV = {'PATH':path, 'LD_LIBRARY_PATH':ld_library_path, 'PYTHONPATH':python_path}, tools = ['default'], options = opts) |
env = Environment(tools = ['default'], options = opts) |
140 |
|
env['ENV']['PATH'] = path |
141 |
|
env['ENV']['LD_LIBRARY_PATH'] = ld_library_path |
142 |
|
env['ENV']['PYTHONPATH'] = python_path |
143 |
|
|
144 |
# Setup help for options |
# Setup help for options |
145 |
Help(opts.GenerateHelpText(env)) |
Help(opts.GenerateHelpText(env)) |
167 |
libinstall = env['libinstall'] |
libinstall = env['libinstall'] |
168 |
env.Append(LIBPATH = [libinstall,]) |
env.Append(LIBPATH = [libinstall,]) |
169 |
env.PrependENVPath('LD_LIBRARY_PATH', libinstall) |
env.PrependENVPath('LD_LIBRARY_PATH', libinstall) |
170 |
|
if env['PLATFORM'] == "win32": |
171 |
|
env.PrependENVPath('PATH', libinstall) |
172 |
|
env.PrependENVPath('PATH', env['boost_lib_path']) |
173 |
except KeyError: |
except KeyError: |
174 |
libinstall = None |
libinstall = None |
175 |
try: |
try: |
182 |
except KeyError: |
except KeyError: |
183 |
dodebug = None |
dodebug = None |
184 |
try: |
try: |
185 |
|
useMPI = env['useMPI'] |
186 |
|
except KeyError: |
187 |
|
useMPI = None |
188 |
|
try: |
189 |
cc_defines = env['cc_defines'] |
cc_defines = env['cc_defines'] |
190 |
env.Append(CPPDEFINES = [cc_defines,]) |
env.Append(CPPDEFINES = cc_defines) |
191 |
except KeyError: |
except KeyError: |
192 |
pass |
pass |
193 |
if dodebug: |
if dodebug: |
194 |
try: |
if useMPI: |
195 |
|
try: |
196 |
|
flags = env['cc_flags_debug_MPI'] |
197 |
|
env.Append(CCFLAGS = flags) |
198 |
|
except KeyError: |
199 |
|
pass |
200 |
|
else: |
201 |
|
try: |
202 |
flags = env['cc_flags_debug'] |
flags = env['cc_flags_debug'] |
203 |
env.Append(CCFLAGS = flags) |
env.Append(CCFLAGS = flags) |
204 |
except KeyError: |
except KeyError: |
205 |
pass |
pass |
206 |
else: |
else: |
207 |
|
if useMPI: |
208 |
try: |
try: |
209 |
flags = env['cc_flags'] |
flags = env['cc_flags_MPI'] |
210 |
env.Append(CCFLAGS = flags) |
env.Append(CCFLAGS = flags) |
211 |
except KeyError: |
except KeyError: |
212 |
pass |
pass |
213 |
|
else: |
|
if dodebug: |
|
214 |
try: |
try: |
215 |
flags = env['cxx_flags_debug'] |
flags = env['cc_flags'] |
216 |
env.Append(CXXFLAGS = flags) |
env.Append(CCFLAGS = flags) |
217 |
except KeyError: |
except KeyError: |
218 |
pass |
pass |
219 |
|
if dodebug: |
220 |
|
if useMPI: |
221 |
|
try: |
222 |
|
flags = env['cxx_flags_debug_MPI'] |
223 |
|
env.Append(CXXFLAGS = flags) |
224 |
|
except KeyError: |
225 |
|
pass |
226 |
|
else: |
227 |
|
try: |
228 |
|
flags = env['cxx_flags_debug'] |
229 |
|
env.Append(CXXFLAGS = flags) |
230 |
|
except KeyError: |
231 |
|
pass |
232 |
else: |
else: |
233 |
try: |
if useMPI: |
234 |
flags = env['cxx_flags'] |
try: |
235 |
env.Append(CXXFLAGS = flags) |
flags = env['cxx_flags_MPI'] |
236 |
except KeyError: |
env.Append(CXXFLAGS = flags) |
237 |
pass |
except KeyError: |
238 |
|
pass |
239 |
|
else: |
240 |
|
try: |
241 |
|
flags = env['cxx_flags'] |
242 |
|
env.Append(CXXFLAGS = flags) |
243 |
|
except KeyError: |
244 |
|
pass |
245 |
try: |
try: |
246 |
flags = env['ar_flags'] |
flags = env['ar_flags'] |
247 |
env.Append(ARFLAGS = flags) |
env.Append(ARFLAGS = flags) |
253 |
sys_libs = '' |
sys_libs = '' |
254 |
|
|
255 |
try: |
try: |
256 |
|
tar_flags = env['tar_flags'] |
257 |
|
env.Replace(TARFLAGS = tar_flags) |
258 |
|
except KeyError: |
259 |
|
pass |
260 |
|
|
261 |
|
try: |
262 |
includes = env['mkl_path'] |
includes = env['mkl_path'] |
263 |
env.Append(CPPPATH = [includes,]) |
env.Append(CPPPATH = [includes,]) |
264 |
except KeyError: |
except KeyError: |
265 |
pass |
pass |
266 |
|
|
267 |
try: |
try: |
268 |
lib_path = env['mkl_lib_path'] |
lib_path = env['mkl_lib_path'] |
269 |
env.Append(LIBPATH = [lib_path,]) |
env.Append(LIBPATH = [lib_path,]) |
270 |
except KeyError: |
except KeyError: |
271 |
pass |
pass |
272 |
|
|
273 |
try: |
try: |
274 |
mkl_libs = env['mkl_libs'] |
mkl_libs = env['mkl_libs'] |
275 |
except KeyError: |
except KeyError: |
284 |
env.Append(LIBPATH = [lib_path,]) |
env.Append(LIBPATH = [lib_path,]) |
285 |
except KeyError: |
except KeyError: |
286 |
pass |
pass |
287 |
try: |
if useMPI: |
288 |
scsl_libs = env['scsl_libs'] |
try: |
289 |
except KeyError: |
scsl_libs = env['scsl_libs_MPI'] |
290 |
scsl_libs = '' |
except KeyError: |
291 |
|
scsl_libs = '' |
292 |
|
else: |
293 |
|
try: |
294 |
|
scsl_libs = env['scsl_libs'] |
295 |
|
except KeyError: |
296 |
|
scsl_libs = '' |
297 |
try: |
try: |
298 |
includes = env['umf_path'] |
includes = env['umf_path'] |
299 |
env.Append(CPPPATH = [includes,]) |
env.Append(CPPPATH = [includes,]) |
323 |
except KeyError: |
except KeyError: |
324 |
boost_lib = None |
boost_lib = None |
325 |
try: |
try: |
|
includes = env['cppunit_path'] |
|
|
env.Append(CPPPATH = [includes,]) |
|
|
except KeyError: |
|
|
pass |
|
|
try: |
|
|
lib_path = env['cppunit_lib_path'] |
|
|
env.Append(LIBPATH = [lib_path,]) |
|
|
except KeyError: |
|
|
pass |
|
|
try: |
|
|
cppunit_lib = env['cppunit_lib'] |
|
|
except KeyError: |
|
|
boost_lib = None |
|
|
try: |
|
326 |
includes = env['python_path'] |
includes = env['python_path'] |
327 |
env.Append(CPPPATH = [includes,]) |
env.Append(CPPPATH = [includes,]) |
328 |
except KeyError: |
except KeyError: |
345 |
except KeyError: |
except KeyError: |
346 |
epydoc_path = None |
epydoc_path = None |
347 |
try: |
try: |
|
epydoc_pythonpath = env['epydoc_pythonpath'] |
|
|
except KeyError: |
|
|
epydoc_pythonpath = None |
|
|
try: |
|
348 |
includes = env['papi_path'] |
includes = env['papi_path'] |
349 |
env.Append(CPPPATH = [includes,]) |
env.Append(CPPPATH = [includes,]) |
350 |
except KeyError: |
except KeyError: |
359 |
except KeyError: |
except KeyError: |
360 |
papi_libs = None |
papi_libs = None |
361 |
|
|
362 |
# Targets |
|
363 |
|
try: |
364 |
|
src_zipfile = env.File(env['src_zipfile']) |
365 |
|
except KeyError: |
366 |
|
src_zipfile = None |
367 |
|
try: |
368 |
|
test_zipfile = env.File(env['test_zipfile']) |
369 |
|
except KeyError: |
370 |
|
test_zipfile = None |
371 |
|
try: |
372 |
|
examples_zipfile = env.File(env['examples_zipfile']) |
373 |
|
except KeyError: |
374 |
|
examples_zipfile = None |
375 |
|
|
376 |
|
try: |
377 |
|
src_tarfile = env.File(env['src_tarfile']) |
378 |
|
except KeyError: |
379 |
|
src_tarfile = None |
380 |
|
try: |
381 |
|
test_tarfile = env.File(env['test_tarfile']) |
382 |
|
except KeyError: |
383 |
|
test_tarfile = None |
384 |
|
try: |
385 |
|
examples_tarfile = env.File(env['examples_tarfile']) |
386 |
|
except KeyError: |
387 |
|
examples_tarfile = None |
388 |
|
|
389 |
|
try: |
390 |
|
guide_pdf = env.File(env['guide_pdf']) |
391 |
|
except KeyError: |
392 |
|
guide_pdf = None |
393 |
|
|
394 |
|
try: |
395 |
|
guide_html_index = env.File('index.htm',env['guide_html']) |
396 |
|
except KeyError: |
397 |
|
guide_html_index = None |
398 |
|
|
399 |
|
try: |
400 |
|
api_epydoc = env.Dir(env['api_epydoc']) |
401 |
|
except KeyError: |
402 |
|
api_epydoc = None |
403 |
|
|
404 |
|
# Zipgets |
405 |
|
|
406 |
env.Default(libinstall) |
env.Default(libinstall) |
407 |
env.Default(incinstall) |
env.Default(incinstall) |
408 |
env.Default(pyinstall) |
env.Default(pyinstall) |
409 |
env.Alias('build_tests') |
env.Alias('release_src',[ src_zipfile, src_tarfile ]) |
410 |
env.Alias('run_tests') |
env.Alias('release_tests',[ test_zipfile, test_tarfile]) |
411 |
env.Alias('py_tests') |
env.Alias('release_examples',[ examples_zipfile, examples_tarfile]) |
412 |
env.Alias('all_tests', ['run_tests', 'py_tests']) |
env.Alias('api_epydoc',api_epydoc) |
413 |
|
env.Alias('docs',[ 'release_examples', guide_pdf, guide_html_index, api_epydoc]) |
414 |
|
env.Alias('release', ['release_src', 'release_tests', 'docs']) |
415 |
|
env.Alias('build_tests') # target to build all C++ tests |
416 |
|
env.Alias('build_py_tests') # target to build all python tests |
417 |
|
env.Alias('build_all_tests', [ 'build_tests', 'build_py_tests' ] ) # target to build all python tests |
418 |
|
env.Alias('run_tests', 'build_tests') # target to run all C++ test |
419 |
|
env.Alias('py_tests', 'build_py_tests') # taget to run all released python tests |
420 |
|
env.Alias('all_tests', ['run_tests', 'py_tests']) # target to run all C++ and released python tests |
421 |
|
|
422 |
# Python install - esys __init__.py |
# Python install - esys __init__.py |
423 |
# This is just an empty file but stills need to be touched so add a special target and Command. Note you can't use the scons Touch() function as it will not |
init_target = env.Command(pyinstall+'/__init__.py', None, Touch('$TARGET')) |
424 |
# create the file if it doesn't exist |
env.Alias(init_target) |
|
env.Command('esys/__init__.py', None, 'touch $TARGET') |
|
425 |
|
|
426 |
# Allow sconscripts to see the env |
# Allow sconscripts to see the env |
427 |
Export(["env", "incinstall", "libinstall", "pyinstall", "dodebug", "mkl_libs", "scsl_libs", "umf_libs", |
Export(["env", "incinstall", "libinstall", "pyinstall", "dodebug", "mkl_libs", "scsl_libs", "umf_libs", |
428 |
"boost_lib", "python_lib", "doxygen_path", "epydoc_path", "epydoc_pythonpath", "papi_libs", "cppunit_lib", "sys_libs" ]) |
"boost_lib", "python_lib", "doxygen_path", "epydoc_path", "papi_libs", |
429 |
|
"sys_libs", "test_zipfile", "src_zipfile", "test_tarfile", "src_tarfile", "examples_tarfile", "examples_zipfile", |
430 |
|
"guide_pdf", "guide_html_index", "api_epydoc", "useMPI"]) |
431 |
|
|
432 |
# End initialisation section |
# End initialisation section |
433 |
# Begin configuration section |
# Begin configuration section |
434 |
|
# adds this file and the scons option directore to the source tar |
435 |
|
release_srcfiles=[env.File('SConstruct'),]+[ env.File(x) for x in glob.glob('scons/*.py') ] |
436 |
|
release_testfiles=[env.File('README_TESTS'),] |
437 |
|
env.Zip(src_zipfile, release_srcfiles) |
438 |
|
env.Zip(test_zipfile, release_testfiles) |
439 |
|
env.Tar(src_tarfile, release_srcfiles) |
440 |
|
env.Tar(test_tarfile, release_testfiles) |
441 |
|
|
442 |
# Insert new components to be build here |
# Insert new components to be build here |
443 |
# FIXME: might be nice to replace this verbosity with a list of targets and some |
# FIXME: might be nice to replace this verbosity with a list of targets and some |
444 |
# FIXME: nifty python to create the lengthy but very similar env.Sconscript lines |
# FIXME: nifty python to create the lengthy but very similar env.Sconscript lines |
451 |
env.SConscript(dirs = ['esysUtils/src'], build_dir='build/$PLATFORM/esysUtils', duplicate=0) |
env.SConscript(dirs = ['esysUtils/src'], build_dir='build/$PLATFORM/esysUtils', duplicate=0) |
452 |
env.SConscript(dirs = ['finley/src'], build_dir='build/$PLATFORM/finley', duplicate=0) |
env.SConscript(dirs = ['finley/src'], build_dir='build/$PLATFORM/finley', duplicate=0) |
453 |
env.SConscript(dirs = ['modellib/py_src'], build_dir='build/$PLATFORM/modellib', duplicate=0) |
env.SConscript(dirs = ['modellib/py_src'], build_dir='build/$PLATFORM/modellib', duplicate=0) |
454 |
|
env.SConscript(dirs = ['doc'], build_dir='build/$PLATFORM/doc', duplicate=0) |
455 |
|
# env.SConscript(dirs = ['pyvisi/py_src'], build_dir='build/$PLATFORM/pyvisi', duplicate=0) |
456 |
|
|
457 |
# FIXME:need to be incorporated into build system |
# added by Ben Cumming |
458 |
# FIXME: 'pyvisi/SConstruct'] |
env.SConscript(dirs = ['pythonMPI/src'], build_dir='build/$PLATFORM/pythonMPI', duplicate=0) |
459 |
# FIXME: 'doc/SConstruct'] |
#env.SConscript(dirs = ['../test'], build_dir='../test/build', duplicate=0) |
|
# FIXME: 'doc/SConstruct'] |
|