/[escript]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 2130 by jfenwick, Thu Dec 4 05:56:45 2008 UTC revision 2156 by gross, Mon Dec 15 05:09:02 2008 UTC
# Line 179  if env["CC"] == "icc": Line 179  if env["CC"] == "icc":
179    sysheaderopt      = ""    sysheaderopt      = ""
180  elif env["CC"] == "gcc":  elif env["CC"] == "gcc":
181    # GNU C on any system    # GNU C on any system
182    cc_flags      = "-pedantic -Wall -fPIC -ansi -ffast-math -Wno-unknown-pragmas -DBLOCKTIMER  -Wno-sign-compare -Wno-system-headers -Wno-long-long"    cc_flags      = "-pedantic -Wall -fPIC -ansi -ffast-math -Wno-unknown-pragmas -DBLOCKTIMER  -Wno-sign-compare -Wno-system-headers -Wno-long-long -Wno-strict-aliasing"
183    #The strict aliasing error occurs for some versions of boost
184  #the long long warning occurs on the Mac  #the long long warning occurs on the Mac
185    cc_optim      = "-O3"    cc_optim      = "-O3"
186    cc_debug      = "-g -O0 -DDOASSERT -DDOPROF -DBOUNDS_CHECK"    cc_debug      = "-g -O0 -DDOASSERT -DDOPROF -DBOUNDS_CHECK"
# Line 464  if env['useumfpack']: Line 465  if env['useumfpack']:
465    
466  if env['useumfpack'] and not conf.CheckCHeader('umfpack.h'): env['useumfpack'] = 0  if env['useumfpack'] and not conf.CheckCHeader('umfpack.h'): env['useumfpack'] = 0
467  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
468  if env['useumfpack'] and not conf.CheckFunc('daxpy'): env['useumfpack'] = 0 # this does not work on shake73?  # if env['useumfpack'] and not conf.CheckFunc('daxpy'): env['useumfpack'] = 0 # this does not work on shake73?
469    
470  # Add UMFPACK to environment env if it was found  # Add UMFPACK to environment env if it was found
471  if env['useumfpack']:  if env['useumfpack']:

Legend:
Removed from v.2130  
changed lines
  Added in v.2156

  ViewVC Help
Powered by ViewVC 1.1.26