Files
OpenBLAS/lapack-netlib/INSTALL/Makefile
Martin Kroeker 375b1875c8 [WIP] Update LAPACK to 3.9.0 (#2353)
* Update make.inc entries for LAPACK 3.9.0

Reference-LAPACK PR 347 changed some variable names and relative paths

* Update LAPACK to 3.9.0

* Add new functions from LAPACK 3.9.0

* Add new functions from LAPACK 3.9.0

* Restore LOADER command 

as it makes it easier to specify pthread as needed

* Restore LOADER

* Restore EIG/LIN prefixes in cmdbase

* add binary path to lapack_testing.py call

* Restore OpenMP version check

* Restore OpenMP version check

* Restore fix for out-of-bounds array accesses

from #2096
2020-01-01 13:18:53 +01:00

51 lines
1.2 KiB
Makefile

TOPSRCDIR = ..
include $(TOPSRCDIR)/make.inc
.PHONY: all testlsame testslamch testdlamch testsecond testdsecnd testieee testversion
all: testlsame testslamch testdlamch testsecond testdsecnd testieee testversion
testlsame: lsame.o lsametst.o
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
testslamch: slamch.o lsame.o slamchtst.o
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
testdlamch: dlamch.o lsame.o dlamchtst.o
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
testsecond: second_$(TIMER).o secondtst.o
@echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)"
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
testdsecnd: dsecnd_$(TIMER).o dsecndtst.o
@echo "[INFO] : TIMER value: $(TIMER) (given by make.inc)"
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
testieee: tstiee.o
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
testversion: ilaver.o LAPACK_version.o
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
.PHONY: run
run: all
./testlsame
./testslamch
./testdlamch
./testsecond
./testdsecnd
./testieee
./testversion
.PHONY: clean cleanobj cleanexe cleantest
clean: cleanobj cleanexe cleantest
cleanobj:
rm -f *.o
cleanexe:
rm -f test*
cleantest:
rm -f core
slamch.o: slamch.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
dlamch.o: dlamch.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<