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

Diff of /branches/diaplayground/SConstruct

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

revision 2298 by jfenwick, Fri Mar 6 04:46:14 2009 UTC revision 2299 by jfenwick, Wed Mar 11 03:14:41 2009 UTC
# Line 15  Line 15 
15  EnsureSConsVersion(0,96,91)  EnsureSConsVersion(0,96,91)
16  EnsurePythonVersion(2,3)  EnsurePythonVersion(2,3)
17    
18  import sys, os, re, socket, platform  import sys, os, re, socket, platform, stat
19    
20  # Add our extensions  # Add our extensions
21  if os.path.isdir('scons'): sys.path.append('scons')  if os.path.isdir('scons'): sys.path.append('scons')
# Line 656  print "" Line 656  print ""
656  Execute(Delete(env['libinstall'] + "/Compiled.with.debug"))  Execute(Delete(env['libinstall'] + "/Compiled.with.debug"))
657  Execute(Delete(env['libinstall'] + "/Compiled.with.mpi"))  Execute(Delete(env['libinstall'] + "/Compiled.with.mpi"))
658  Execute(Delete(env['libinstall'] + "/Compiled.with.openmp"))  Execute(Delete(env['libinstall'] + "/Compiled.with.openmp"))
659    Execute(Delete(env['libinstall'] + "pyversion"))
660  if not env['usempi']: Execute(Delete(env['libinstall'] + "/pythonMPI"))  if not env['usempi']: Execute(Delete(env['libinstall'] + "/pythonMPI"))
661    
662    
# Line 780  if not IS_WINDOWS_PLATFORM: Line 781  if not IS_WINDOWS_PLATFORM:
781      for tests in TestGroups:      for tests in TestGroups:
782          utest.write(tests.makeString())          utest.write(tests.makeString())
783      utest.close()      utest.close()
784        os.chmod("utest.sh",stat.S_IRWXU|stat.S_IRGRP|stat.S_IXGRP|stat.S_IROTH|stat.S_IXOTH)
785      print "utest.sh written"      print "utest.sh written"
786     except IOError:     except IOError:
787      print "Error attempting to write unittests file."      print "Error attempting to write unittests file."

Legend:
Removed from v.2298  
changed lines
  Added in v.2299

  ViewVC Help
Powered by ViewVC 1.1.26