/[escript]/branches/scons-dev/SConstruct
ViewVC logotype

Diff of /branches/scons-dev/SConstruct

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

revision 1675 by ksteube, Fri Jul 25 05:48:29 2008 UTC revision 1676 by ksteube, Sun Jul 27 09:30:26 2008 UTC
# Line 518  env.SConscript(dirs = ['pythonMPI/src'], Line 518  env.SConscript(dirs = ['pythonMPI/src'],
518  ############ Remember what optimizations we used ###############  ############ Remember what optimizations we used ###############
519    
520  remember_list = []  remember_list = []
521    
522  if env['usedebug']:  if env['usedebug']:
523    remember_list += env.Command(env['libinstall'] + "/Compiled.with.debug", None, Touch('$TARGET'))    remember_list += env.Command(env['libinstall'] + "/Compiled.with.debug", None, Touch('$TARGET'))
524    else:
525      remember_list += env.Command(env['libinstall'] + "/Compiled.with.debug", None, Delete('$TARGET'))
526    
527  if env['usempi']:  if env['usempi']:
528    remember_list += env.Command(env['libinstall'] + "/Compiled.with.mpi", None, Touch('$TARGET'))    remember_list += env.Command(env['libinstall'] + "/Compiled.with.mpi", None, Touch('$TARGET'))
529    else:
530      remember_list += env.Command(env['libinstall'] + "/Compiled.with.mpi", None, Delete('$TARGET'))
531    
532  if env['omp_optim'] != '':  if env['omp_optim'] != '':
533    remember_list += env.Command(env['libinstall'] + "/Compiled.with.OpenMP", None, Touch('$TARGET'))    remember_list += env.Command(env['libinstall'] + "/Compiled.with.openmp", None, Touch('$TARGET'))
534    else:
535      remember_list += env.Command(env['libinstall'] + "/Compiled.with.openmp", None, Delete('$TARGET'))
536    
537  env.Alias('remember_options', remember_list)  env.Alias('remember_options', remember_list)
538    

Legend:
Removed from v.1675  
changed lines
  Added in v.1676

  ViewVC Help
Powered by ViewVC 1.1.26