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

Diff of /branches/diaplayground/SConstruct

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

revision 2308 by gross, Mon Mar 16 01:20:56 2009 UTC revision 2324 by jfenwick, Thu Mar 19 04:35:30 2009 UTC
# Line 653  print "" Line 653  print ""
653    
654  ############ Delete option-dependent files #####################  ############ Delete option-dependent files #####################
655    
656  Execute(Delete(env['libinstall'] + "/Compiled.with.debug"))  Execute(Delete(os.path.join(env['libinstall'],"Compiled.with.debug")))
657  Execute(Delete(env['libinstall'] + "/Compiled.with.mpi"))  Execute(Delete(os.path.join(env['libinstall'],"Compiled.with.mpi")))
658  Execute(Delete(env['libinstall'] + "/Compiled.with.openmp"))  Execute(Delete(os.path.join(env['libinstall'],"Compiled.with.openmp")))
659  Execute(Delete(env['libinstall'] + "pyversion"))  Execute(Delete(os.path.join(env['libinstall'],"pyversion")))
660  if not env['usempi']: Execute(Delete(env['libinstall'] + "/pythonMPI"))  Execute(Delete(os.path.join(env['libinstall'],"buildvars")))
661    if not env['usempi']: Execute(Delete(os.path.join(env['libinstall'],"pythonMPI")))
662    
663    
664  ############ Build the subdirectories ##########################  ############ Build the subdirectories ##########################
# Line 695  env.SConscript(dirs = ['paso/profiling'] Line 696  env.SConscript(dirs = ['paso/profiling']
696  remember_list = []  remember_list = []
697    
698  if env['usedebug']:  if env['usedebug']:
699    remember_list += env.Command(env['libinstall'] + "/Compiled.with.debug", None, Touch('$TARGET'))    remember_list += env.Command(os.path.join(env['libinstall'],"Compiled.with.debug"), None, Touch('$TARGET'))
700    
701  if env['usempi']:  if env['usempi']:
702    remember_list += env.Command(env['libinstall'] + "/Compiled.with.mpi", None, Touch('$TARGET'))    remember_list += env.Command(os.path.join(env['libinstall'],"Compiled.with.mpi"), None, Touch('$TARGET'))
703    
704  if env['useopenmp']:  if env['useopenmp']:
705    remember_list += env.Command(env['libinstall'] + "/Compiled.with.openmp", None, Touch('$TARGET'))    remember_list += env.Command(os.path.join(env['libinstall'],"Compiled.with.openmp"), None, Touch('$TARGET'))
706    
707  env.Alias('remember_options', remember_list)  env.Alias('remember_options', remember_list)
708    

Legend:
Removed from v.2308  
changed lines
  Added in v.2324

  ViewVC Help
Powered by ViewVC 1.1.26