diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-05 12:02:04 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-05 12:02:04 +0000 |
commit | 6425c5985e656d022d8d43684b737e93aab4f57d (patch) | |
tree | d21af47eafd0b0d00e75ada99e0b053823ff0a0d /scipy_distutils/fcompiler.py | |
parent | aa6fd3365a968a4c322dff8850466aabb96a1c53 (diff) | |
download | numpy-6425c5985e656d022d8d43684b737e93aab4f57d.tar.gz |
Scipy builds under cygwin with build_src branch.
Diffstat (limited to 'scipy_distutils/fcompiler.py')
-rw-r--r-- | scipy_distutils/fcompiler.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/scipy_distutils/fcompiler.py b/scipy_distutils/fcompiler.py index 7ad9ab298..eaf1aee13 100644 --- a/scipy_distutils/fcompiler.py +++ b/scipy_distutils/fcompiler.py @@ -13,7 +13,7 @@ from types import StringType, NoneType, ListType, TupleType from glob import glob from distutils.version import StrictVersion -from distutils.ccompiler import CCompiler, gen_lib_options +from scipy_distutils.ccompiler import CCompiler, gen_lib_options # distutils.ccompiler provides the following functions: # gen_preprocess_options(macros, include_dirs) # gen_lib_options(compiler, library_dirs, runtime_library_dirs, libraries) @@ -460,6 +460,11 @@ class FCompiler(CCompiler): log.info('*****status:%s\n*****output:\n%s\n*****' % (status,output)) return status, output + def spawn(self, cmd): + s,o = self.exec_command(cmd) + assert not s,`s` + + ################### def _get_cc_args(self, pp_opts, debug, before): @@ -735,7 +740,9 @@ def new_fcompiler(plat=None, raise DistutilsModuleError, \ ("can't compile Fortran code: unable to find class '%s' " + "in module '%s'") % (class_name, module_name) - + print '*'*80 + print klass + print '*'*80 return klass(None, dry_run, force) |