Changeset 337
- Timestamp:
- Jul 9, 2011 10:45:30 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fsource/SConstruct
r324 r337 57 57 # help 58 58 if 'help' in COMMAND_LINE_TARGETS: 59 print """Building Fortran routines for use with GSAS-II 59 print """ 60 ---------------------------------------------- 61 Building Fortran routines for use with GSAS-II 60 62 ---------------------------------------------- 61 63 … … 80 82 The following options override defaults set in the scons script: 81 83 82 FCompiler=< path> -- define the name of the fortran compiler; default is to use83 g77 on Windows and gfortran elsewhere. If you use something other than g77 or84 gfortran, you must also specify F2PYflags84 FCompiler=<name> -- define the name of the fortran compiler, typically g77 85 or gfortran; default is to use g77 on Windows and gfortran elsewhere. If 86 you use something other than these, you must also specify F2PYflags. 85 87 86 88 FORTpath=<path> -- define a path to the fortran program; default is to use … … 112 114 (builds with a non-default [e.g. older] version of python) 113 115 """ 114 sys.exit()116 #sys.exit() 115 117 #========================================================================================== 116 118 # override from command-line options … … 241 243 print 80*'=' 242 244 for var in ['FCompiler','FORTpath','FORTflags','F2PYflags','F2PYpath','F2PYsuffix','LDFLAGS']: 243 print 'Variable ',var,'is',eval(var) 244 print 'Required fortran libraries:', 245 for lib in liblist: print " " + lib, 246 print "" 247 print 'f2py modules:', 248 for mod in modlist: print " " + mod, 249 print "" 245 print 'Variable',var,'is',eval(var) 250 246 print 'Using python at', pythonprogram 251 247 print 'Python/f2py version =',version,PlatformBits 252 248 print 'Install directory is',InstallLoc 249 print 'Will build object libraries:', 250 for lib in liblist: print " " + lib, 251 print "" 252 print 'f2py will build these modules:', 253 for mod in modlist: print " " + mod, 254 print "" 253 255 print 80*'=' 254 256 #print env.Dump() 257 if 'help' in COMMAND_LINE_TARGETS: sys.exit()
Note: See TracChangeset
for help on using the changeset viewer.