Update LAPACK to 3.9.0

This commit is contained in:
Martin Kroeker 2019-12-29 18:37:49 +01:00 committed by GitHub
parent 6d9ff11919
commit e6ab4b0cab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 7 deletions

View File

@ -1,17 +1,21 @@
include ../../make.inc TOPSRCDIR = ../..
include $(TOPSRCDIR)/make.inc
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -I../include -c -o $@ $<
.PHONY: all
all: cblas_ex1 cblas_ex2 all: cblas_ex1 cblas_ex2
cblas_ex1: cblas_example1.o $(CBLASLIB) $(BLASLIB) cblas_ex1: cblas_example1.o $(CBLASLIB) $(BLASLIB)
$(LOADER) $(LOADOPTS) -o $@ $^ $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
cblas_ex2: cblas_example2.o $(CBLASLIB) $(BLASLIB) cblas_ex2: cblas_example2.o $(CBLASLIB) $(BLASLIB)
$(LOADER) $(LOADOPTS) -o $@ $^ $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
.PHONY: clean cleanobj cleanexe
clean: cleanobj cleanexe clean: cleanobj cleanexe
cleanobj: cleanobj:
rm -f *.o rm -f *.o
cleanexe: cleanexe:
rm -f cblas_ex1 cblas_ex2 rm -f cblas_ex1 cblas_ex2
.c.o:
$(CC) $(CFLAGS) -I../include -c -o $@ $<

View File

@ -47,7 +47,7 @@ int main ( )
a[m*3+1] = 6; a[m*3+1] = 6;
a[m*3+2] = 7; a[m*3+2] = 7;
a[m*3+3] = 8; a[m*3+3] = 8;
/* The elemetns of x and y */ /* The elements of x and y */
x[0] = 1; x[0] = 1;
x[1] = 2; x[1] = 2;
x[2] = 1; x[2] = 1;