/[escript]/trunk/paso/src/SConscript
ViewVC logotype

Diff of /trunk/paso/src/SConscript

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

revision 190 by jgs, Mon Nov 21 03:27:42 2005 UTC revision 352 by jgs, Wed Dec 14 02:21:37 2005 UTC
# Line 1  Line 1 
1    libinstall = None
2    
3  Import('*')  Import('*')
4    
5  import os  import os
6  import string  import string
7    
 cc_flags = '-O0 -openmp -openmp_report0 -tpp2 -c99 -ansi_alias -no-gcc -c -fpic -w1'  
   
8  paso_path = str(esysroot) + '/paso/src'  paso_path = str(esysroot) + '/paso/src'
9  scsl_path = str(esysroot) + '/paso/src/SCSL'  scsl_path = str(esysroot) + '/paso/src/SCSL'
10  solvers_path = str(esysroot) + '/paso/src/Solvers'  solvers_path = str(esysroot) + '/paso/src/Solvers'
11  mmio_path = str(esysroot) + '/tools/mmio/inc'  mmio_path = str(esysroot) + '/tools/mmio/inc'
 python_path = '/raid2/tools/python-2.3.4/include/python2.3'  
 boost_path = '/raid2/tools/boost/include/boost-1_31'  
12    
13  cpp_path = [paso_path,  cpp_path = [paso_path,
14              scsl_path,              scsl_path,
# Line 56  sources = ['Options_getPackage.c', Line 54  sources = ['Options_getPackage.c',
54    
55  paso_env = Environment(ENV = os.environ)  paso_env = Environment(ENV = os.environ)
56    
57  paso_env.Replace(CC = 'icc')  paso_env.Replace(CC = cc)
58  paso_env.Replace(CCFLAGS = cc_flags)  paso_env.Replace(CCFLAGS = cc_flags)
59    paso_env.Replace(ARFLAGS = ar_flags)
60  paso_env.Replace(CPPPATH = cpp_path)  paso_env.Replace(CPPPATH = cpp_path)
61    
62  paso_lib = paso_env.StaticLibrary(lib, sources)  paso_lib = paso_env.StaticLibrary(lib, sources)
63  paso_env.Install(libdir, paso_lib)  
64    Default(paso_env.Install(libdir, paso_lib))
65    Default(paso_env.Install(libdir2, paso_lib))
66    if libinstall != None:
67      Default(paso_env.Install(libinstall, paso_lib))

Legend:
Removed from v.190  
changed lines
  Added in v.352

  ViewVC Help
Powered by ViewVC 1.1.26