diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-10-08 09:38:12 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-10-08 09:38:12 +0000 |
commit | 416f306f8add72dbf1ea6052f7c0ca51b226321a (patch) | |
tree | 86cdf19e660a5bdb633f5a05177b26d85e53dd80 | |
parent | 45e92465815e16d02a611005b61abc6a65f6b91c (diff) | |
download | numpy-416f306f8add72dbf1ea6052f7c0ca51b226321a.tar.gz |
numpy.distutils: fixed bug.
-rw-r--r-- | numpy/distutils/fcompiler/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/distutils/fcompiler/__init__.py b/numpy/distutils/fcompiler/__init__.py index 9dc8114a4..2bff842ae 100644 --- a/numpy/distutils/fcompiler/__init__.py +++ b/numpy/distutils/fcompiler/__init__.py @@ -605,9 +605,12 @@ def _find_existing_fcompiler(compilers, osname=None, platform=None, requiref90=N v = None new_compiler = c.suggested_f90_compiler if new_compiler: + log.warn('Trying %r compiler as suggested by %r compiler for f90 support.' % (compiler, new_compiler)) c = new_fcompiler(plat=platform, compiler=new_compiler) c.customize() v = c.get_version() + if v is not None: + compiler = new_compiler if requiref90 and c.compiler_f90 is None: raise ValueError,'%s does not support compiling f90 codes, skipping.' \ % (c.__class__.__name__) |