Use f2c translations of LAPACK when no Fortran compiler is available (#3539)
* Add C equivalents of the Fortran routines from Reference-LAPACK as fallbacks, and C_LAPACK variable to trigger their use
This commit is contained in:
@@ -33,6 +33,13 @@
|
||||
TOPSRCDIR = ../..
|
||||
include $(TOPSRCDIR)/make.inc
|
||||
|
||||
ifneq ($(C_LAPACK), 1)
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .f .o
|
||||
.f.o:
|
||||
$(FC) $(FFLAGS) -c -o $@ $<
|
||||
endif
|
||||
|
||||
ifneq "$(or $(BUILD_SINGLE),$(BUILD_COMPLEX))" ""
|
||||
SCATGEN = slatm1.o slatm7.o slaran.o slarnd.o
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user