/[escript]/branches/dirac/SConstruct
ViewVC logotype

Diff of /branches/dirac/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 806 by gross, Thu Aug 10 11:58:52 2006 UTC revision 1021 by gross, Tue Mar 13 02:06:30 2007 UTC
# Line 1  Line 1 
1  #          Copyright 2006 by ACcESS MNRF                    #         Copyright 2006 by ACcESS MNRF
2  #                                                            #
3  #              http://www.access.edu.au                      #              http://www.access.edu.au
4  #       Primary Business: Queensland, Australia              #       Primary Business: Queensland, Australia
5  #  Licensed under the Open Software License version 3.0      #  Licensed under the Open Software License version 3.0
6  #     http://www.opensource.org/licenses/osl-3.0.php        #     http://www.opensource.org/licenses/osl-3.0.php
7  #                                                            #
8  #  #
9  #  #
10    
11  # top-level Scons configuration file for all esys13 modules  # top-level Scons configuration file for all esys13 modules
12  # Begin initialisation Section  # Begin initialisation Section
13  # all of this section just intialises default environments and helper  # all of this section just intialises default environments and helper
14  # scripts. You shouldn't need to modify this section.  # scripts. You shouldn't need to modify this section.
15  EnsureSConsVersion(0,96,91)  EnsureSConsVersion(0,96,91)
16  EnsurePythonVersion(2,3)  EnsurePythonVersion(2,3)
# Line 18  EnsurePythonVersion(2,3) Line 18  EnsurePythonVersion(2,3)
18  # import tools:  # import tools:
19  import glob  import glob
20  import sys, os  import sys, os
21    import socket
22  # Add our extensions  # Add our extensions
23  if sys.path.count('scons')==0: sys.path.append('scons')  if sys.path.count('scons')==0: sys.path.append('scons')
24  import scons_extensions  import scons_extensions
# Line 53  else: Line 54  else:
54  if ARGUMENTS.get('options_file',0):  if ARGUMENTS.get('options_file',0):
55     options_file = ARGUMENTS.get('options_file',0)     options_file = ARGUMENTS.get('options_file',0)
56  else:  else:
    import socket  
57     from string import ascii_letters,digits     from string import ascii_letters,digits
58     hostname=""     hostname=""
59     for s in socket.gethostname().split('.')[0]:     for s in socket.gethostname().split('.')[0]:
# Line 62  else: Line 62  else:
62        else:        else:
63           hostname+="_"           hostname+="_"
64     options_file = "scons/"+hostname+"_options.py"     options_file = "scons/"+hostname+"_options.py"
65       print options_file
66    
67  opts = Options(options_file, ARGUMENTS)  opts = Options(options_file, ARGUMENTS)
68  opts.AddOptions(  opts.AddOptions(
69  # Where to install esys stuff  # Where to install esys stuff
70    ('incinstall', 'where the esys headers will be installed', Dir('#.').abspath+'/include'),    ('incinstall', 'where the esys headers will be installed', Dir('#.').abspath+'/include'),
71    ('libinstall', 'where the esys libraries will be installed', Dir('#.').abspath+'/lib'),    ('libinstall', 'where the esys libraries will be installed', Dir('#.').abspath+'/lib'),
72    ('pyinstall', 'where the esys python modules will be installed', Dir('#.').abspath),    ('pyinstall', 'where the esys python modules will be installed', Dir('#.').abspath),
73    ('src_zipfile', 'the source zip file will be installed.', Dir('#.').abspath+"/release/escript_src.zip"),    ('src_zipfile', 'the source zip file will be installed.', Dir('#.').abspath+"/release/escript_src.zip"),
74    ('test_zipfile', 'the test zip file will be installed.', Dir('#.').abspath+"/release/escript_tests.zip"),    ('test_zipfile', 'the test zip file will be installed.', Dir('#.').abspath+"/release/escript_tests.zip"),
75    ('src_tarfile', 'the source tar file will be installed.', Dir('#.').abspath+"/release/escript_src.tar.gz"),    ('src_tarfile', 'the source tar file will be installed.', Dir('#.').abspath+"/release/escript_src.tar.gz"),
76    ('test_tarfile', 'the test tar file will be installed.', Dir('#.').abspath+"/release/escript_tests.tar.gz"),    ('test_tarfile', 'the test tar file will be installed.', Dir('#.').abspath+"/release/escript_tests.tar.gz"),
77    ('examples_tarfile', 'the examples tar file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.tar.gz"),    ('examples_tarfile', 'the examples tar file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.tar.gz"),
78    ('examples_zipfile', 'the examples zip file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.zip"),    ('examples_zipfile', 'the examples zip file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.zip"),
79    ('guide_pdf', 'name of the user guide in pdf format', Dir('#.').abspath+"/release/doc/user/guide.pdf"),    ('guide_pdf', 'name of the user guide in pdf format', Dir('#.').abspath+"/release/doc/user/guide.pdf"),
80    ('api_epydoc', 'name of the epydoc api docs directory',Dir('#.').abspath+"/release/doc/epydoc"),    ('api_epydoc', 'name of the epydoc api docs directory',Dir('#.').abspath+"/release/doc/epydoc"),
81    ('guide_html', 'name of the directory for user guide in html format', Dir('#.').abspath+"/release/doc/user/html"),    ('guide_html', 'name of the directory for user guide in html format', Dir('#.').abspath+"/release/doc/user/html"),
82  # Compilation options  # Compilation options
83    BoolOption('dodebug', 'Do you want a debug build?', 'no'),    BoolOption('dodebug', 'Do you want a debug build?', 'no'),
84    ('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),
# Line 94  opts.AddOptions( Line 95  opts.AddOptions(
95    ('sys_libs', 'System libraries to link with', None),    ('sys_libs', 'System libraries to link with', None),
96    ('tar_flags','flags for zip files','-c -z'),    ('tar_flags','flags for zip files','-c -z'),
97  # MKL  # MKL
98    PathOption('mkl_path', 'Path to MKL includes', None),    PathOption('mkl_path', 'Path to MKL includes', None),
99    PathOption('mkl_lib_path', 'Path to MKL libs', None),    PathOption('mkl_lib_path', 'Path to MKL libs', None),
100    ('mkl_libs', 'MKL libraries to link with', None),    ('mkl_libs', 'MKL libraries to link with', None),
101  # SCSL  # SCSL
102    PathOption('scsl_path', 'Path to SCSL includes', None),    PathOption('scsl_path', 'Path to SCSL includes', None),
103    PathOption('scsl_lib_path', 'Path to SCSL libs', None),    PathOption('scsl_lib_path', 'Path to SCSL libs', None),
104    ('scsl_libs', 'SCSL libraries to link with', None),    ('scsl_libs', 'SCSL libraries to link with', None),
105    ('scsl_libs_MPI', 'SCSL libraries to link with for MPI build', None),    ('scsl_libs_MPI', 'SCSL libraries to link with for MPI build', None),
106  # UMFPACK  # UMFPACK
107    PathOption('ufc_path', 'Path to UFconfig includes', ufc_path_default),    PathOption('ufc_path', 'Path to UFconfig includes', ufc_path_default),
108    PathOption('umf_path', 'Path to UMFPACK includes', umf_path_default),    PathOption('umf_path', 'Path to UMFPACK includes', umf_path_default),
109    PathOption('umf_lib_path', 'Path to UMFPACK libs', umf_lib_path_default),    PathOption('umf_lib_path', 'Path to UMFPACK libs', umf_lib_path_default),
110    ('umf_libs', 'UMFPACK libraries to link with', umf_libs_default),    ('umf_libs', 'UMFPACK libraries to link with', umf_libs_default),
111  # AMD (used by UMFPACK)  # AMD (used by UMFPACK)
112    PathOption('amd_path', 'Path to AMD includes', amd_path_default),    PathOption('amd_path', 'Path to AMD includes', amd_path_default),
113    PathOption('amd_lib_path', 'Path to AMD libs', amd_lib_path_default),    PathOption('amd_lib_path', 'Path to AMD libs', amd_lib_path_default),
114    ('amd_libs', 'AMD libraries to link with', amd_libs_default),    ('amd_libs', 'AMD libraries to link with', amd_libs_default),
115  # BLAS  # BLAS
116    PathOption('blas_path', 'Path to BLAS includes', None),    PathOption('blas_path', 'Path to BLAS includes', None),
117    PathOption('blas_lib_path', 'Path to BLAS libs', None),    PathOption('blas_lib_path', 'Path to BLAS libs', None),
118    ('blas_libs', 'BLAS libraries to link with', None),    ('blas_libs', 'BLAS libraries to link with', None),
119    # netCDF
120      PathOption('netCDF_path', 'Path to netCDF includes', '/usr/local/include'),
121      PathOption('netCDF_lib_path', 'Path to netCDF libs', '/usr/local/lib'),
122      ('netCDF_libs_cxx', 'netCDF C++ libraries to link with', [ 'netcdf_c++', 'netcdf'] ),
123  # Python  # Python
124  # locations of include files for python  # locations of include files for python
125    PathOption('python_path', 'Path to Python includes', '/usr/include/python%s.%s'%(sys.version_info[0],sys.version_info[1])),    PathOption('python_path', 'Path to Python includes', '/usr/include/python%s.%s'%(sys.version_info[0],sys.version_info[1])),
126    PathOption('python_lib_path', 'Path to Python libs', '/usr/lib'),    PathOption('python_lib_path', 'Path to Python libs', '/usr/lib'),
127    ('python_lib', 'Python libraries to link with', ["python%s.%s"%(sys.version_info[0],sys.version_info[1]),]),    ('python_lib', 'Python libraries to link with', ["python%s.%s"%(sys.version_info[0],sys.version_info[1]),]),
128  # Boost  # Boost
129    PathOption('boost_path', 'Path to Boost includes', '/usr/include'),    PathOption('boost_path', 'Path to Boost includes', '/usr/include'),
130    PathOption('boost_lib_path', 'Path to Boost libs', '/usr/lib'),    PathOption('boost_lib_path', 'Path to Boost libs', '/usr/lib'),
131    ('boost_lib', 'Boost libraries to link with', ['boost_python',]),    ('boost_lib', 'Boost libraries to link with', ['boost_python',]),
132  # Doc building  # Doc building
133  #  PathOption('doxygen_path', 'Path to Doxygen executable', None),  #  PathOption('doxygen_path', 'Path to Doxygen executable', None),
134  #  PathOption('epydoc_path', 'Path to Epydoc executable', None),  #  PathOption('epydoc_path', 'Path to Epydoc executable', None),
135  # PAPI  # PAPI
136    PathOption('papi_path', 'Path to PAPI includes', None),    PathOption('papi_path', 'Path to PAPI includes', None),
137    PathOption('papi_lib_path', 'Path to PAPI libs', None),    PathOption('papi_lib_path', 'Path to PAPI libs', None),
138    ('papi_libs', 'PAPI libraries to link with', None),    ('papi_libs', 'PAPI libraries to link with', None),
139  # MPI  # MPI
140    BoolOption('useMPI', 'Compile parallel version using MPI', 'no'),    BoolOption('useMPI', 'Compile parallel version using MPI', 'no'),
# Line 157  except KeyError: Line 162  except KeyError:
162  # environment which isn't the "scons way"  # environment which isn't the "scons way"
163  # This doesn't impact linux and windows which will use the default compiler (g++ or msvc, or the intel compiler if it is installed on both platforms)  # This doesn't impact linux and windows which will use the default compiler (g++ or msvc, or the intel compiler if it is installed on both platforms)
164  # 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
165    
166  if os.name != "nt" and os.uname()[4]=='ia64':  if os.name != "nt" and os.uname()[4]=='ia64':
167     env = Environment(ENV = {'PATH':path}, tools = ['default', 'intelc'], options = opts)     env = Environment(ENV = {'PATH':path}, tools = ['default', 'intelc'], options = opts)
168     env['ENV']['PATH'] = path     env['ENV']['PATH'] = path
# Line 195  try: Line 200  try:
200     incinstall = env['incinstall']     incinstall = env['incinstall']
201     env.Append(CPPPATH = [incinstall,])     env.Append(CPPPATH = [incinstall,])
202  except KeyError:  except KeyError:
203     incinstall = None       incinstall = None
204  try:  try:
205     libinstall = env['libinstall']     libinstall = env['libinstall']
206     env.Append(LIBPATH = [libinstall,])     env.Append(LIBPATH = [libinstall,])
# Line 204  try: Line 209  try:
209        env.PrependENVPath('PATH', libinstall)        env.PrependENVPath('PATH', libinstall)
210        env.PrependENVPath('PATH', env['boost_lib_path'])        env.PrependENVPath('PATH', env['boost_lib_path'])
211  except KeyError:  except KeyError:
212     libinstall = None       libinstall = None
213  try:  try:
214     pyinstall = env['pyinstall']+'/esys' # all targets will install into pyinstall/esys but PYTHONPATH points at straight pyinstall so you go import esys.escript etc     pyinstall = env['pyinstall']+'/esys' # all targets will install into pyinstall/esys but PYTHONPATH points at straight pyinstall so you go import esys.escript etc
215     env.PrependENVPath('PYTHONPATH', env['pyinstall'])     env.PrependENVPath('PYTHONPATH', env['pyinstall'])
216  except KeyError:  except KeyError:
217     pyinstall = None       pyinstall = None
218  try:  try:
219     dodebug = env['dodebug']     dodebug = env['dodebug']
220  except KeyError:  except KeyError:
221     dodebug = None       dodebug = None
222  try:  try:
223     useMPI = env['useMPI']     useMPI = env['useMPI']
224  except KeyError:  except KeyError:
225     useMPI = None       useMPI = None
226  try:  try:
227     cc_defines = env['cc_defines']     cc_defines = env['cc_defines']
228     env.Append(CPPDEFINES = cc_defines)     env.Append(CPPDEFINES = cc_defines)
229  except KeyError:  except KeyError:
230     pass     pass
231    
232    if 'shake71' == socket.gethostname().split('.')[0]:
233      if useMPI:
234        env['CC'] = 'mpicc'
235        env['CXX'] = 'mpiCC'
236    
237  if dodebug:  if dodebug:
238    if useMPI:    if useMPI:
239      try:      try:
# Line 230  if dodebug: Line 241  if dodebug:
241        env.Append(CCFLAGS = flags)        env.Append(CCFLAGS = flags)
242      except KeyError:      except KeyError:
243        pass        pass
244    else:                          else:
245      try:      try:
246        flags = env['cc_flags_debug']        flags = env['cc_flags_debug']
247        env.Append(CCFLAGS = flags)        env.Append(CCFLAGS = flags)
# Line 279  try: Line 290  try:
290     flags = env['ar_flags']     flags = env['ar_flags']
291     env.Append(ARFLAGS = flags)     env.Append(ARFLAGS = flags)
292  except KeyError:  except KeyError:
293     ar_flags = None       ar_flags = None
294  try:  try:
295     sys_libs = env['sys_libs']     sys_libs = env['sys_libs']
296  except KeyError:  except KeyError:
297     sys_libs = ''     sys_libs = ''
298    
299  try:  try:
300     tar_flags = env['tar_flags']     tar_flags = env['tar_flags']
# Line 323  try: Line 334  try:
334  except KeyError:  except KeyError:
335     pass     pass
336    
337  if useMPI:    if useMPI:
338    try:    try:
339      scsl_libs = env['scsl_libs_MPI']      scsl_libs = env['scsl_libs_MPI']
340    except KeyError:    except KeyError:
341      scsl_libs = ''      scsl_libs = ''
342  else:          else:
343    try:    try:
344      scsl_libs = env['scsl_libs']      scsl_libs = env['scsl_libs']
345    except KeyError:    except KeyError:
# Line 346  try: Line 357  try:
357  except KeyError:  except KeyError:
358     pass     pass
359    
360  if useMPI:    if useMPI:
361      umf_libs = ''      umf_libs = ''
362  else:  else:
363     try:     try:
# Line 372  try: Line 383  try:
383  except KeyError:  except KeyError:
384     pass     pass
385    
386  if useMPI:    if useMPI:
387      amd_libs = ''      amd_libs = ''
388  else:  else:
389     try:     try:
# Line 398  except KeyError: Line 409  except KeyError:
409     blas_libs = ''     blas_libs = ''
410    
411  try:  try:
412       includes = env['netCDF_path']
413       env.Append(CPPPATH = [includes,])
414    except KeyError:
415       pass
416    
417    try:
418       lib_path = env['netCDF_lib_path']
419       env.Append(LIBPATH = [lib_path,])
420    except KeyError:
421       pass
422    
423    try:
424       netCDF_libs_cxx = env['netCDF_libs_cxx']
425    except KeyError:
426       netCDF_lib_cxx = [ ]
427    
428    try:
429     includes = env['boost_path']     includes = env['boost_path']
430     env.Append(CPPPATH = [includes,])     env.Append(CPPPATH = [includes,])
431  except KeyError:  except KeyError:
# Line 410  except KeyError: Line 438  except KeyError:
438  try:  try:
439     boost_lib = env['boost_lib']     boost_lib = env['boost_lib']
440  except KeyError:  except KeyError:
441     boost_lib = None       boost_lib = None
442  try:  try:
443     includes = env['python_path']     includes = env['python_path']
444     env.Append(CPPPATH = [includes,])     env.Append(CPPPATH = [includes,])
# Line 424  except KeyError: Line 452  except KeyError:
452  try:  try:
453     python_lib = env['python_lib']     python_lib = env['python_lib']
454  except KeyError:  except KeyError:
455     python_lib = None       python_lib = None
456  try:  try:
457     doxygen_path = env['doxygen_path']     doxygen_path = env['doxygen_path']
458  except KeyError:  except KeyError:
459     doxygen_path = None       doxygen_path = None
460  try:  try:
461     epydoc_path = env['epydoc_path']     epydoc_path = env['epydoc_path']
462  except KeyError:  except KeyError:
463     epydoc_path = None       epydoc_path = None
464  try:  try:
465     includes = env['papi_path']     includes = env['papi_path']
466     env.Append(CPPPATH = [includes,])     env.Append(CPPPATH = [includes,])
# Line 446  except KeyError: Line 474  except KeyError:
474  try:  try:
475     papi_libs = env['papi_libs']     papi_libs = env['papi_libs']
476  except KeyError:  except KeyError:
477     papi_libs = None       papi_libs = None
478    
479    
480  try:  try:
481     src_zipfile = env.File(env['src_zipfile'])     src_zipfile = env.File(env['src_zipfile'])
482  except KeyError:  except KeyError:
483     src_zipfile = None       src_zipfile = None
484  try:  try:
485     test_zipfile = env.File(env['test_zipfile'])     test_zipfile = env.File(env['test_zipfile'])
486  except KeyError:  except KeyError:
487     test_zipfile = None       test_zipfile = None
488  try:  try:
489     examples_zipfile = env.File(env['examples_zipfile'])     examples_zipfile = env.File(env['examples_zipfile'])
490  except KeyError:  except KeyError:
491     examples_zipfile = None       examples_zipfile = None
492    
493  try:  try:
494     src_tarfile = env.File(env['src_tarfile'])     src_tarfile = env.File(env['src_tarfile'])
495  except KeyError:  except KeyError:
496     src_tarfile = None       src_tarfile = None
497  try:  try:
498     test_tarfile = env.File(env['test_tarfile'])     test_tarfile = env.File(env['test_tarfile'])
499  except KeyError:  except KeyError:
500     test_tarfile = None       test_tarfile = None
501  try:  try:
502     examples_tarfile = env.File(env['examples_tarfile'])     examples_tarfile = env.File(env['examples_tarfile'])
503  except KeyError:  except KeyError:
504     examples_tarfile = None       examples_tarfile = None
505    
506  try:  try:
507     guide_pdf = env.File(env['guide_pdf'])     guide_pdf = env.File(env['guide_pdf'])
508  except KeyError:  except KeyError:
509     guide_pdf = None       guide_pdf = None
510    
511  try:  try:
512     guide_html_index = env.File('index.htm',env['guide_html'])     guide_html_index = env.File('index.htm',env['guide_html'])
513  except KeyError:  except KeyError:
514     guide_html_index = None       guide_html_index = None
515    
516  try:  try:
517     api_epydoc = env.Dir(env['api_epydoc'])     api_epydoc = env.Dir(env['api_epydoc'])
518  except KeyError:  except KeyError:
519     api_epydoc = None       api_epydoc = None
520    
521  # Zipgets  # Zipgets
522      
523  env.Default(libinstall)  env.Default(libinstall)
524  env.Default(incinstall)  env.Default(incinstall)
525  env.Default(pyinstall)  env.Default(pyinstall)
526  env.Alias('release_src',[ src_zipfile, src_tarfile ])    env.Alias('release_src',[ src_zipfile, src_tarfile ])
527  env.Alias('release_tests',[ test_zipfile, test_tarfile])  env.Alias('release_tests',[ test_zipfile, test_tarfile])
528  env.Alias('release_examples',[ examples_zipfile, examples_tarfile])  env.Alias('release_examples',[ examples_zipfile, examples_tarfile])
529  env.Alias('api_epydoc',api_epydoc)  env.Alias('api_epydoc',api_epydoc)
530  env.Alias('docs',[ 'release_examples', guide_pdf, guide_html_index, api_epydoc])  env.Alias('guide_pdf', guide_pdf)
531    env.Alias('docs',[ 'release_examples', 'guide_pdf', guide_html_index, api_epydoc])
532  env.Alias('release', ['release_src', 'release_tests', 'docs'])  env.Alias('release', ['release_src', 'release_tests', 'docs'])
533  env.Alias('build_tests')    # target to build all C++ tests  env.Alias('build_tests')    # target to build all C++ tests
534  env.Alias('build_py_tests') # target to build all python tests  env.Alias('build_py_tests') # target to build all python tests
# Line 513  init_target = env.Command(pyinstall+'/__ Line 542  init_target = env.Command(pyinstall+'/__
542  env.Alias(init_target)  env.Alias(init_target)
543    
544  # Allow sconscripts to see the env  # Allow sconscripts to see the env
545  Export(["env", "incinstall", "libinstall", "pyinstall", "dodebug", "mkl_libs", "scsl_libs", "umf_libs", "amd_libs", "blas_libs",  Export(["env", "incinstall", "libinstall", "pyinstall", "dodebug", "mkl_libs", "scsl_libs", "umf_libs", "amd_libs", "blas_libs", "netCDF_libs_cxx",
546      "boost_lib", "python_lib", "doxygen_path", "epydoc_path", "papi_libs",      "boost_lib", "python_lib", "doxygen_path", "epydoc_path", "papi_libs",
547          "sys_libs", "test_zipfile", "src_zipfile", "test_tarfile", "src_tarfile", "examples_tarfile", "examples_zipfile",          "sys_libs", "test_zipfile", "src_zipfile", "test_tarfile", "src_tarfile", "examples_tarfile", "examples_zipfile",
548          "guide_pdf", "guide_html_index", "api_epydoc", "useMPI"])          "guide_pdf", "guide_html_index", "api_epydoc", "useMPI"])
549    
# Line 535  env.Tar(test_tarfile, release_testfiles) Line 564  env.Tar(test_tarfile, release_testfiles)
564  env.SConscript(dirs = ['tools/CppUnitTest/src'], build_dir='build/$PLATFORM/tools/CppUnitTest', duplicate=0)  env.SConscript(dirs = ['tools/CppUnitTest/src'], build_dir='build/$PLATFORM/tools/CppUnitTest', duplicate=0)
565  # C/C++ Libraries  # C/C++ Libraries
566  env.SConscript(dirs = ['paso/src'], build_dir='build/$PLATFORM/paso', duplicate=0)  env.SConscript(dirs = ['paso/src'], build_dir='build/$PLATFORM/paso', duplicate=0)
567  env.SConscript(dirs = ['bruce/src'], build_dir='build/$PLATFORM/bruce', duplicate=0)  # bruce is removed for now as it doesn't really do anything
568    # env.SConscript(dirs = ['bruce/src'], build_dir='build/$PLATFORM/bruce', duplicate=0)
569  env.SConscript(dirs = ['escript/src'], build_dir='build/$PLATFORM/escript', duplicate=0)  env.SConscript(dirs = ['escript/src'], build_dir='build/$PLATFORM/escript', duplicate=0)
570  env.SConscript(dirs = ['esysUtils/src'], build_dir='build/$PLATFORM/esysUtils', duplicate=0)  env.SConscript(dirs = ['esysUtils/src'], build_dir='build/$PLATFORM/esysUtils', duplicate=0)
571  env.SConscript(dirs = ['finley/src'], build_dir='build/$PLATFORM/finley', duplicate=0)  env.SConscript(dirs = ['finley/src'], build_dir='build/$PLATFORM/finley', duplicate=0)
572  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)
573  env.SConscript(dirs = ['doc'], build_dir='build/$PLATFORM/doc', duplicate=0)  env.SConscript(dirs = ['doc'], build_dir='build/$PLATFORM/doc', duplicate=0)
574  env.SConscript(dirs = ['pyvisi/py_src'], build_dir='build/$PLATFORM/pyvisi', duplicate=0)  env.SConscript(dirs = ['pyvisi/py_src'], build_dir='build/$PLATFORM/pyvisi', duplicate=0)
575    env.SConscript(dirs = ['pycad/py_src'], build_dir='build/$PLATFORM/pycad', duplicate=0)
576    
577  # added by Ben Cumming  # added by Ben Cumming
578  env.SConscript(dirs = ['pythonMPI/src'], build_dir='build/$PLATFORM/pythonMPI', duplicate=0)  env.SConscript(dirs = ['pythonMPI/src'], build_dir='build/$PLATFORM/pythonMPI', duplicate=0)
579  #env.SConscript(dirs = ['../test'], build_dir='../test/build', duplicate=0)  #env.SConscript(dirs = ['../test'], build_dir='../test/build', duplicate=0)

Legend:
Removed from v.806  
changed lines
  Added in v.1021

  ViewVC Help
Powered by ViewVC 1.1.26