blob: 1d7e82c34bf614a254decedeb40d589828111654 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
#
# Top Level Makefile for LAPACK
# Version 3.4.1
# April 2012
#
include make.inc
all: lapack_install lib blas_testing lapack_testing
lib: lapacklib tmglib
#lib: blaslib variants lapacklib tmglib
blaslib:
$(MAKE) -C BLAS
cblaslib:
$(MAKE) -C CBLAS
lapacklib:
$(MAKE) -C SRC
lapackelib:
$(MAKE) -C LAPACKE
tmglib:
$(MAKE) -C TESTING/MATGEN
variants:
$(MAKE) -C SRC/VARIANTS
lapack_install:
$(MAKE) -C INSTALL run
blas_testing: blaslib
$(MAKE) -C BLAS blas_testing
cblas_testing: cblaslib blaslib
$(MAKE) -C CBLAS cblas_testing
lapack_testing: tmglib lapacklib blaslib
$(MAKE) -C TESTING/LIN cleanexe
$(MAKE) -C TESTING
./lapack_testing.py
variants_testing: tmglib variants lapacklib blaslib
$(MAKE) -C TESTING/LIN cleanexe
$(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/cholrl.a'
$(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_cholrl.out
$(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_cholrl.out
$(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_cholrl.out
$(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_cholrl.out
$(MAKE) -C TESTING/LIN cleanexe
$(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/choltop.a'
$(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_choltop.out
$(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_choltop.out
$(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_choltop.out
$(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_choltop.out
$(MAKE) -C TESTING/LIN cleanexe
$(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/lucr.a'
$(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_lucr.out
$(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_lucr.out
$(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_lucr.out
$(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_lucr.out
$(MAKE) -C TESTING/LIN cleanexe
$(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/lull.a'
$(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_lull.out
$(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_lull.out
$(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_lull.out
$(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_lull.out
$(MAKE) -C TESTING/LIN cleanexe
$(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/lurec.a'
$(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_lurec.out
$(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_lurec.out
$(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_lurec.out
$(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_lurec.out
$(MAKE) -C TESTING/LIN cleanexe
$(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/qrll.a'
$(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_qrll.out
$(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_qrll.out
$(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_qrll.out
$(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_qrll.out
cblas_example: cblaslib blaslib
$(MAKE) -C CBLAS cblas_example
lapacke_example: lapackelib lapacklib blaslib
$(MAKE) -C LAPACKE lapacke_example
html:
@echo "LAPACK HTML PAGES GENERATION with Doxygen"
doxygen DOCS/Doxyfile
@echo "=================="
@echo "LAPACK HTML PAGES GENERATED in DOCS/explore-html"
@echo "Usage: open DOCS/explore-html/index.html"
@echo "Online version available at http://www.netlib.org/lapack/explore-html/"
@echo "=================="
man:
@echo "LAPACK MAN PAGES GENERATION with Doxygen"
doxygen DOCS/Doxyfile_man
@echo "=================="
@echo "LAPACK MAN PAGES GENERATED in DOCS/MAN"
@echo "Set your MANPATH env variable accordingly"
@echo "Usage: man dgetrf.f"
@echo "=================="
clean:
$(MAKE) -C INSTALL clean
$(MAKE) -C BLAS clean
$(MAKE) -C CBLAS clean
$(MAKE) -C SRC clean
$(MAKE) -C SRC/VARIANTS clean
$(MAKE) -C TESTING clean
$(MAKE) -C TESTING/MATGEN clean
$(MAKE) -C TESTING/LIN clean
$(MAKE) -C TESTING/EIG clean
$(MAKE) -C LAPACKE clean
rm -f *.a
cleanobj:
$(MAKE) -C INSTALL cleanobj
$(MAKE) -C BLAS cleanobj
$(MAKE) -C CBLAS cleanobj
$(MAKE) -C SRC cleanobj
$(MAKE) -C SRC/VARIANTS cleanobj
$(MAKE) -C TESTING/MATGEN cleanobj
$(MAKE) -C TESTING/LIN cleanobj
$(MAKE) -C TESTING/EIG cleanobj
$(MAKE) -C LAPACKE cleanobj
cleanlib:
$(MAKE) -C BLAS cleanlib
$(MAKE) -C CBLAS cleanlib
$(MAKE) -C SRC cleanlib
$(MAKE) -C SRC/VARIANTS cleanlib
$(MAKE) -C TESTING/MATGEN cleanlib
$(MAKE) -C LAPACKE cleanlib
rm -f *.a
cleanexe:
$(MAKE) -C INSTALL cleanexe
$(MAKE) -C BLAS cleanexe
$(MAKE) -C CBLAS cleanexe
$(MAKE) -C TESTING/LIN cleanexe
$(MAKE) -C TESTING/EIG cleanexe
$(MAKE) -C LAPACKE cleanexe
cleantest:
$(MAKE) -C INSTALL cleantest
$(MAKE) -C BLAS cleantest
$(MAKE) -C CBLAS cleantest
$(MAKE) -C TESTING cleantest
|