From 5267b3e16654ef326f525fdb9a1287a88396c616 Mon Sep 17 00:00:00 2001 From: cookedm Date: Fri, 25 May 2007 11:41:16 +0000 Subject: merge from distutils-revamp branch (step 2) - fcompiler changes. All flags, executables, etc., should be overridable by the user with config_fc (either command line or setup.cfg) or by environment variables --- numpy/distutils/fcompiler/lahey.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'numpy/distutils/fcompiler/lahey.py') diff --git a/numpy/distutils/fcompiler/lahey.py b/numpy/distutils/fcompiler/lahey.py index eaa577b62..2fef4a212 100644 --- a/numpy/distutils/fcompiler/lahey.py +++ b/numpy/distutils/fcompiler/lahey.py @@ -4,13 +4,16 @@ import sys from numpy.distutils.cpuinfo import cpu from numpy.distutils.fcompiler import FCompiler +compilers = ['LaheyFCompiler'] + class LaheyFCompiler(FCompiler): compiler_type = 'lahey' + description = 'Lahey/Fujitsu Fortran 95 Compiler' version_pattern = r'Lahey/Fujitsu Fortran 95 Compiler Release (?P[^\s*]*)' executables = { - 'version_cmd' : ["lf95", "--version"], + 'version_cmd' : ["", "--version"], 'compiler_f77' : ["lf95", "--fix"], 'compiler_fix' : ["lf95", "--fix"], 'compiler_f90' : ["lf95"], -- cgit v1.2.1