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:
Martin Kroeker
2022-04-09 22:38:58 +02:00
committed by GitHub
parent 2edcd9b9dc
commit b7873605d4
2130 changed files with 1872455 additions and 34 deletions
+7
View File
@@ -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