/[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 483 by jgs, Thu Feb 2 02:10:15 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    
# Line 38  incs = ['Common.h', Line 41  incs = ['Common.h',
41          'SystemMatrix.h',          'SystemMatrix.h',
42          'SystemMatrixPattern.h',          'SystemMatrixPattern.h',
43          'PasoUtil.h',          'PasoUtil.h',
44            'performance.h',
45          'Solvers/Solver.h']          'Solvers/Solver.h']
46    
47  sources = ['Options_getPackage.c',  sources = ['Options_getPackage.c',
48             'Options_getSolver.c',             'Options_getSolver.c',
49             'Options_setDefaults.c',             'Options_setDefaults.c',
50               'performance.c',
51             'Paso.c',             'Paso.c',
52             'solve.c',             'solve.c',
53             'SystemMatrix_borrowNormalization.c',             'SystemMatrix_borrowNormalization.c',

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

  ViewVC Help
Powered by ViewVC 1.1.26