/[escript]/branches/mvexpr/SConstruct
ViewVC logotype

Diff of /branches/mvexpr/SConstruct

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

revision 2060 by jfenwick, Tue Nov 18 00:18:08 2008 UTC revision 2101 by gross, Wed Nov 26 08:29:08 2008 UTC
# Line 176  if env["CC"] == "icc": Line 176  if env["CC"] == "icc":
176    fatalwarning      = ""        # Switch to turn warnings into errors    fatalwarning      = ""        # Switch to turn warnings into errors
177  elif env["CC"] == "gcc":  elif env["CC"] == "gcc":
178    # GNU C on any system    # GNU C on any system
179    cc_flags      = "-pedantic -Wall -fPIC -ansi -ffast-math -Wno-unknown-pragmas -DBLOCKTIMER -isystem " + env['boost_path'] + "/boost -isystem " + env['python_path'] + " -Wno-sign-compare -Wno-system-headers -Wno-strict-aliasing"    cc_flags      = "-pedantic -Wall -fPIC -ansi -ffast-math -Wno-unknown-pragmas -DBLOCKTIMER -isystem " + env['boost_path'] + "/boost -isystem " + env['python_path'] + " -Wno-sign-compare -Wno-system-headers -Wno-strict-aliasing -Wno-long-long"
180  #the strict aliasing warning is triggered by some type punning in the boost headers for version 1.34  #the strict aliasing warning is triggered by some type punning in the boost headers for version 1.34
181  #isystem does not seem to prevent this  #isystem does not seem to prevent this
182    #the long long warning occurs on the Mac
183    cc_optim      = "-O3"    cc_optim      = "-O3"
184    cc_debug      = "-g -O0 -DDOASSERT -DDOPROF -DBOUNDS_CHECK"    cc_debug      = "-g -O0 -DDOASSERT -DDOPROF -DBOUNDS_CHECK"
185    omp_optim     = ""    omp_optim     = ""
# Line 449  if env['useumfpack']: Line 450  if env['useumfpack']:
450    
451  if env['useumfpack'] and not conf.CheckCHeader('umfpack.h'): env['useumfpack'] = 0  if env['useumfpack'] and not conf.CheckCHeader('umfpack.h'): env['useumfpack'] = 0
452  if env['useumfpack'] and not conf.CheckFunc('umfpack_di_symbolic'): env['useumfpack'] = 0  if env['useumfpack'] and not conf.CheckFunc('umfpack_di_symbolic'): env['useumfpack'] = 0
453    if env['useumfpack'] and not conf.CheckFunc('daxpy'): env['useumfpack'] = 0 # this does not work on shake73?
454    
455  # Add UMFPACK to environment env if it was found  # Add UMFPACK to environment env if it was found
456  if env['useumfpack']:  if env['useumfpack']:

Legend:
Removed from v.2060  
changed lines
  Added in v.2101

  ViewVC Help
Powered by ViewVC 1.1.26