/[escript]/branches/diaplayground/ripley/src/SConscript
ViewVC logotype

Diff of /branches/diaplayground/ripley/src/SConscript

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

revision 5064 by caltinay, Thu May 15 01:49:48 2014 UTC revision 5065 by caltinay, Fri Jun 20 05:49:52 2014 UTC
# Line 39  sources = """ Line 39  sources = """
39      Rectangle.cpp      Rectangle.cpp
40      RipleyDomain.cpp      RipleyDomain.cpp
41      RipleyException.cpp      RipleyException.cpp
     RipleySystemMatrix.cpp  
42      WaveAssembler2D.cpp      WaveAssembler2D.cpp
43      WaveAssembler3D.cpp      WaveAssembler3D.cpp
44  """.split()  """.split()
# Line 68  if local_env['silo']: Line 67  if local_env['silo']:
67      local_env.Append(CPPDEFINES = ['USE_SILO'])      local_env.Append(CPPDEFINES = ['USE_SILO'])
68      local_env.AppendUnique(LIBS = env['silo_libs'])      local_env.AppendUnique(LIBS = env['silo_libs'])
69    
70    if local_env['cuda']:
71        sources.append('RipleySystemMatrix.cu')
72        local_env.Append(CCFLAGS = ['-Wno-error', '-w'])
73        local_env.Append(CPPDEFINES = ['USE_CUDA'])
74        local_env.Append(LIBS = ['cudart'])
75    else:
76        sources.append('RipleySystemMatrix.cpp')
77    
78  if IS_WINDOWS:  if IS_WINDOWS:
79      local_env.Append(CPPDEFINES = ['RIPLEY_EXPORTS'])      local_env.Append(CPPDEFINES = ['RIPLEY_EXPORTS'])
80    

Legend:
Removed from v.5064  
changed lines
  Added in v.5065

  ViewVC Help
Powered by ViewVC 1.1.26