Support fortran compiler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
New
|
Undecided
|
Unassigned |
Bug Description
Tried to build extension module which is fortran code, fails. I tried a few variations on the compiler name.
[extension=
sources = libforbdf.f95
[global]
compilers = gfortran
Traceback:
ERROR:root:Error parsing
Traceback (most recent call last):
File "/home/
attrs = util.cfg_
File "/home/
register_
File "/home/
compiler = resolve_
File "/home/
ret = getattr(ret, part)
UnboundLocalError: local variable 'ret' referenced before assignment
[global] .fcompiler. gnu.Gnu95FCompi ler
compilers = numpy.distutils
This fails at build stage:
...
error: unknown file type '.f95' (from 'libforbdf.f95')
...