/[escript]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 3096 by caltinay, Thu Aug 19 01:40:52 2010 UTC revision 3162 by jfenwick, Tue Sep 7 05:29:32 2010 UTC
# Line 265  omp_libs = [] Line 265  omp_libs = []
265  if env["CC"] == "icc":  if env["CC"] == "icc":
266    # Intel compilers    # Intel compilers
267    cc_flags      = "-std=c99 -fPIC -wd161 -w1 -vec-report0 -DBLOCKTIMER -DCORE_ID1"    cc_flags      = "-std=c99 -fPIC -wd161 -w1 -vec-report0 -DBLOCKTIMER -DCORE_ID1"
268    cc_optim      = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias"    cc_optim      = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -ip"
269    cc_debug      = "-g -O0 -DDOASSERT -DDOPROF -DBOUNDS_CHECK"    cc_debug      = "-g -O0 -DDOASSERT -DDOPROF -DBOUNDS_CHECK"
270    omp_optim     = "-openmp -openmp_report0"    omp_optim     = "-openmp -openmp_report0"
271    omp_debug     = "-openmp -openmp_report0"    omp_debug     = "-openmp -openmp_report0"
# Line 275  if env["CC"] == "icc": Line 275  if env["CC"] == "icc":
275    sysheaderopt      = ""    sysheaderopt      = ""
276  elif env["CC"][:3] == "gcc":  elif env["CC"][:3] == "gcc":
277    # GNU C on any system    # GNU C on any system
278    cc_flags      = "-pedantic -Wall -fPIC -ffast-math -Wno-unknown-pragmas -DBLOCKTIMER  -Wno-sign-compare -Wno-system-headers -Wno-long-long -Wno-strict-aliasing"    cc_flags      = "-pedantic -Wall -fPIC -ffast-math -Wno-unknown-pragmas -DBLOCKTIMER  -Wno-sign-compare -Wno-system-headers -Wno-long-long -Wno-strict-aliasing -finline-functions"
279  #the long long warning occurs on the Mac  #the long long warning occurs on the Mac
280    cc_optim      = "-O3"    cc_optim      = "-O3"
281    cc_debug      = "-g -O0 -DDOASSERT -DDOPROF -DBOUNDS_CHECK"    cc_debug      = "-g -O0 -DDOASSERT -DDOPROF -DBOUNDS_CHECK"
# Line 887  env.Alias('remember_options', remember_l Line 887  env.Alias('remember_options', remember_l
887  if not IS_WINDOWS_PLATFORM:  if not IS_WINDOWS_PLATFORM:
888    
889    versionstring="Python "+str(sys.version_info[0])+"."+str(sys.version_info[1])+"."+str(sys.version_info[2])    versionstring="Python "+str(sys.version_info[0])+"."+str(sys.version_info[1])+"."+str(sys.version_info[2])
890    if sys.version_info[4] >0 : versionstring+="rc%s"%sys.version_info[4]  #  if sys.version_info[4] >0 : versionstring+="rc%s"%sys.version_info[4]
   os.system("echo "+versionstring+" > "+os.path.join(env['libinstall'],"pyversion"))  
891    
892  ############## Populate the buildvars file #####################  ############## Populate the buildvars file #####################
893    

Legend:
Removed from v.3096  
changed lines
  Added in v.3162

  ViewVC Help
Powered by ViewVC 1.1.26