/[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 495 by gross, Mon Feb 6 06:32:06 2006 UTC revision 584 by gross, Thu Mar 9 23:03:38 2006 UTC
# Line 7  import os Line 7  import os
7  import string  import string
8  paso_env = Environment(ENV = os.environ)  paso_env = Environment(ENV = os.environ)
9    
10  paso_path = str(esysroot) + '/paso/src'  paso_path = Dir(str(esysroot) + '/paso/src')
11  solvers_path = str(esysroot) + '/paso/src/Solvers'  solvers_path = Dir(str(esysroot) + '/paso/src/Solvers')
12  mmio_path = str(esysroot) + '/tools/mmio/inc'  mmio_path = Dir(str(esysroot) + '/tools/mmio/inc')
13    
14  cpp_path = [paso_path,  cpp_path = [paso_path,
15              solvers_path,              solvers_path,
# Line 20  cpp_path = [paso_path, Line 20  cpp_path = [paso_path,
20  paso_env.Replace(CC = cc)  paso_env.Replace(CC = cc)
21  paso_env.Replace(CCFLAGS = cc_flags)  paso_env.Replace(CCFLAGS = cc_flags)
22  if len(mkl_libs) >0: paso_env.Append(CCFLAGS=' -DMKL')  if len(mkl_libs) >0: paso_env.Append(CCFLAGS=' -DMKL')
 if len(mkl_path) >0: cpp_path.append(mkl_path)  
23  if len(scsl_libs)>0 : paso_env.Append(CCFLAGS=' -DSCSL')  if len(scsl_libs)>0 : paso_env.Append(CCFLAGS=' -DSCSL')
24    if len(mkl_path)>0: cpp_path.append(mkl_path)
25  if len(scsl_path)>0: cpp_path.append(scsl_path)  if len(scsl_path)>0: cpp_path.append(scsl_path)
 if len(umfpack_libs)>0 : paso_env.Append(CCFLAGS=' -DUMFPACK')  
26  if len(umfpack_path)>0: cpp_path.append(umfpack_path)  if len(umfpack_path)>0: cpp_path.append(umfpack_path)
27    if len(papi_path)>0: cpp_path.append(papi_path)
28    if len(umfpack_libs)>0 : paso_env.Append(CCFLAGS=' -DUMFPACK')
29    if len(papi_libs)>0 : paso_env.Append(CCFLAGS=' -DPAPI')
30    
31  paso_env.Replace(CPPPATH = cpp_path)  paso_env.Replace(CPPPATH = cpp_path)
32  paso_env.Replace(ARFLAGS = ar_flags)  paso_env.Replace(ARFLAGS = ar_flags)
33    

Legend:
Removed from v.495  
changed lines
  Added in v.584

  ViewVC Help
Powered by ViewVC 1.1.26