Changeset 3117


Ignore:
Timestamp:
Oct 3, 2017 12:42:41 PM (4 years ago)
Author:
vondreele
Message:

replace SConstruct with working old one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fsource/SConstruct

    r3106 r3117  
    125125The following options override defaults set in the scons script:
    126126
    127 FCompiler=<name>  -- define the name of the fortran compiler, typically gnu
    128    or gfortran; default is to use gnu on Windows and gfortran elsewhere. If
     127FCompiler=<name>  -- define the name of the fortran compiler, typically g77
     128   or gfortran; default is to use g77 on Windows and gfortran elsewhere. If
    129129   you use something other than these, you must also specify F2PYflags.
    130130
    131131FORTpath=<path>    -- define a path to the fortran program; default is to use
    132    first gfortran (gnu for Windows) found in path
     132   first gfortran (g77 for Windows) found in path
    133133
    134134FORTflags='string' -- string of options to be used for Fortran
     
    224224        if F2PYflags == "": F2PYflags = '--fcompiler=gnu95 --f77exec=gfortran --f77flags="-fno-range-check -m32"'
    225225    elif sys.platform == "win32":
    226          if F2PYflags == "": F2PYflags = '--compiler=mingw32 --fcompiler=gnu95 --f77flags="-fno-range-check"'
     226         if F2PYflags == "": F2PYflags = '--compiler=mingw32 --fcompiler=gfortran --f77flags="-fno-range-check -m64"'
    227227elif FCompiler == 'g77':
    228228    if FORTpath == "": FORTpath = G77path
    229229    if sys.platform == "win32":
    230         if F2PYflags == "": F2PYflags = '--compiler=mingw32 --fcompiler=gnu'
    231         if FORTflags == "": FORTflags = ' -w -O2 -fno-automatic -finit-local-zero -malign-double'
     230        if F2PYflags == "": F2PYflags = '--compiler=mingw32 --fcompiler=g77'
     231        if FORTflags == "": FORTflags = ' -w -O2 -fno-automatic -finit-local-zero -malign-double -mwindows'
    232232    else:
    233233        if F2PYflags == "": F2PYflags = '--fcompiler=gnu --f77exec=g77 --f77flags="-fno-range-check"'
Note: See TracChangeset for help on using the changeset viewer.