/[escript]/branches/scons-dev/pythonMPI/src/SConscript
ViewVC logotype

Diff of /branches/scons-dev/pythonMPI/src/SConscript

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

revision 1654 by ksteube, Wed Jul 16 00:31:11 2008 UTC revision 1655 by ksteube, Wed Jul 16 05:10:10 2008 UTC
# Line 23  except AttributeError: Line 23  except AttributeError:
23    local_env = env_mpi.Copy()    # scons-96.92    local_env = env_mpi.Copy()    # scons-96.92
24    
25  sources = ["ScriptMPI.cpp"]  sources = ["ScriptMPI.cpp"]
 headers = []  
26    
27  if local_env['usempi']:  local_env.Append(LIBS = ["paso"] + sys_libs)
     local_env.Append(LIBS = local_env['mpi_libs'])  
28    
29  local_env.Append(LIBS = ["paso"] + [local_env['python_lib']] + sys_libs)  include_path = Dir('pythonMPI', incinstall)
 lib_name = 'pythonMPI'  
 lib = local_env.Program(lib_name, sources)  
 include_path = Dir(lib_name, incinstall)  
30    
31  local_env.Install(include_path, headers )  prog = local_env.Program('pythonMPI', sources)
32  local_env.Install(libinstall, lib)  env.Alias('target_pythonMPI_exe', prog)
33    
34    tmp1 = local_env.Install(libinstall, prog)
35    env.Alias('target_install_pythonMPI_exe', tmp1)
36    

Legend:
Removed from v.1654  
changed lines
  Added in v.1655

  ViewVC Help
Powered by ViewVC 1.1.26