2695
|
1 |
diff -up xblas/Makefile.m4.shared xblas/Makefile.m4
|
|
2 |
--- xblas/Makefile.m4.shared 2008-11-15 13:58:30.000000000 -0500
|
|
3 |
+++ xblas/Makefile.m4 2009-04-20 15:42:16.000000000 -0400
|
|
4 |
@@ -169,6 +169,9 @@ lib: if_m4(`sources ')$(LIB)
|
|
5 |
FOREACH(`LIBNAMES',
|
|
6 |
` cd $(SRC_DIR)/arg && $(MAKE) lib
|
|
7 |
')dnl
|
|
8 |
+ $(CC) $(CFLAGS) -G -Wl,-h,$(XBLASLIB_SHORT) -o $(XBLASLIB) $(SRC_DIR)/common/*.o FOREACH(`LIBNAMES', `$(SRC_DIR)/arg/*.o ')$(EXTRA_LIBS)
|
|
9 |
+ if [ ! -L $(XBLASLIB_SHORT) ]; then ln -s $(XBLASLIB) $(XBLASLIB_SHORT); fi
|
|
10 |
+ if [ ! -L $(XBLASLIB_BASE) ]; then ln -s $(XBLASLIB) $(XBLASLIB_BASE); fi
|
|
11 |
|
|
12 |
if_m4(`
|
|
13 |
Makefile: Makefile.m4
|
|
14 |
diff -up xblas/make.inc.in.shared xblas/make.inc.in
|
|
15 |
--- xblas/make.inc.in.shared 2008-11-15 13:58:30.000000000 -0500
|
|
16 |
+++ xblas/make.inc.in 2009-04-20 15:42:16.000000000 -0400
|
|
17 |
@@ -5,12 +5,14 @@
|
|
18 |
#
|
|
19 |
|
|
20 |
# The name of the libraries to be created/linked to
|
|
21 |
-XBLASLIB = libxblas.a
|
|
22 |
+XBLASLIB_BASE = libxblas.so
|
|
23 |
+XBLASLIB_SHORT = $(XBLASLIB_BASE).1
|
|
24 |
+XBLASLIB = $(XBLASLIB_SHORT).0.0
|
|
25 |
|
|
26 |
# CC is the C compiler, normally invoked with options CFLAGS.
|
|
27 |
# LINKER and LDFLAGS function as CC and CFLAGS, but for linking stages.
|
|
28 |
CC = @CC@
|
|
29 |
-CFLAGS = @CFLAGS@
|
|
30 |
+CFLAGS = @CFLAGS@ -fPIC
|
|
31 |
LINKER = $(CC)
|
|
32 |
LDFLAGS = @LDFLAGS@
|
|
33 |
|
|
34 |
diff -up xblas/src/common/Makefile.m4.shared xblas/src/common/Makefile.m4
|
|
35 |
--- xblas/src/common/Makefile.m4.shared 2008-11-15 13:58:30.000000000 -0500
|
|
36 |
+++ xblas/src/common/Makefile.m4 2009-04-20 15:42:16.000000000 -0400
|
|
37 |
@@ -13,8 +13,6 @@ COMM_OBJS = BLAS_error.o blas_malloc.o B
|
|
38 |
all: $(COMM_OBJS)
|
|
39 |
|
|
40 |
lib: $(COMM_OBJS)
|
|
41 |
- $(ARCH) $(ARCHFLAGS) $(LIB_PATH)/$(XBLASLIB) $(COMM_OBJS)
|
|
42 |
- $(RANLIB) $(LIB_PATH)/$(XBLASLIB)
|
|
43 |
|
|
44 |
.c.o:
|
|
45 |
$(CC) $(CFLAGS) -I$(HEADER_PATH) -c -o $@ $<
|
|
46 |
diff -up xblas/src/Makefile.template.shared xblas/src/Makefile.template
|
|
47 |
--- xblas/src/Makefile.template.shared 2008-11-15 13:58:30.000000000 -0500
|
|
48 |
+++ xblas/src/Makefile.template 2009-04-20 15:42:16.000000000 -0400
|
|
49 |
@@ -27,8 +27,6 @@ ROUTINE()_OBJS = $(ROUTINE()_SRCS:.c=.o)
|
|
50 |
all: $(ROUTINE()_OBJS)
|
|
51 |
|
|
52 |
lib: $(ROUTINE()_OBJS)
|
|
53 |
- $(ARCH) $(ARCHFLAGS) $(LIB_PATH)/$(XBLASLIB) $(ROUTINE()_OBJS)
|
|
54 |
- $(RANLIB) $(LIB_PATH)/$(XBLASLIB)
|
|
55 |
|
|
56 |
.c.o:
|
|
57 |
$(CC) $(CFLAGS) -I$(HEADER_PATH) -c -o $@ $<
|
|
58 |
diff -up xblas/testing/test-axpby/Makefile.shared xblas/testing/test-axpby/Makefile
|
|
59 |
--- xblas/testing/test-axpby/Makefile.shared 2009-04-20 15:46:31.000000000 -0400
|
|
60 |
+++ xblas/testing/test-axpby/Makefile 2009-04-20 15:47:33.000000000 -0400
|
|
61 |
@@ -26,10 +26,10 @@ ALL_OBJS = $(TEST_DOT_OBJS) $(TEST_OBJS)
|
|
62 |
|
|
63 |
test: do_test_axpby
|
|
64 |
@echo Testing AXPBY
|
|
65 |
- ./do_test_axpby 10 1 1.0 1 1 > axpby.results
|
|
66 |
+ LD_LIBRARY_PATH="../.." ./do_test_axpby 10 1 1.0 1 1 > axpby.results
|
|
67 |
|
|
68 |
do_test_axpby: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
69 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) -o do_test_axpby $(EXTRA_LIBS)
|
|
70 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas -o do_test_axpby $(EXTRA_LIBS)
|
|
71 |
|
|
72 |
.c.o:
|
|
73 |
$(CC) $(CFLAGS) $(HEADER_PATH) -c -o $@ $<
|
|
74 |
diff -up xblas/testing/test-dot2/Makefile.shared xblas/testing/test-dot2/Makefile
|
|
75 |
--- xblas/testing/test-dot2/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
76 |
+++ xblas/testing/test-dot2/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
77 |
@@ -21,12 +21,12 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
78 |
|
|
79 |
test: do_test_dot2
|
|
80 |
@echo Testing DOT2
|
|
81 |
- ./do_test_dot2 20 1 1.0 0 1 > dot2.results
|
|
82 |
+ LD_LIBRARY_PATH="../.." ./do_test_dot2 20 1 1.0 0 1 > dot2.results
|
|
83 |
|
|
84 |
test-lib: $(TEST_OBJS)
|
|
85 |
|
|
86 |
do_test_dot2: $(TEST_OBJS) $(COMMON_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
87 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
88 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
89 |
-o do_test_dot2 $(EXTRA_LIBS)
|
|
90 |
|
|
91 |
.c.o:
|
|
92 |
diff -up xblas/testing/test-dot/Makefile.shared xblas/testing/test-dot/Makefile
|
|
93 |
--- xblas/testing/test-dot/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
94 |
+++ xblas/testing/test-dot/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
95 |
@@ -13,12 +13,12 @@ COMMON_OBJS = ../common/dummy_main.o
|
|
96 |
|
|
97 |
test: do_test_dot
|
|
98 |
@echo Testing DOT
|
|
99 |
- ./do_test_dot 20 1 1.0 0 1 > dot.results
|
|
100 |
+ LD_LIBRARY_PATH="../.." ./do_test_dot 20 1 1.0 0 1 > dot.results
|
|
101 |
|
|
102 |
test-lib: $(TEST_OBJS)
|
|
103 |
|
|
104 |
do_test_dot: $(TEST_OBJS) $(COMMON_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
105 |
- $(LINKER) $(LDFLAGS) $(TEST_OBJS) $(COMMON_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
106 |
+ $(LINKER) $(LDFLAGS) $(TEST_OBJS) $(COMMON_OBJS) -L$(LIB_PATH) -lxblas \
|
|
107 |
-o do_test_dot $(EXTRA_LIBS)
|
|
108 |
|
|
109 |
.c.o:
|
|
110 |
diff -up xblas/testing/test-gbmv2/Makefile.shared xblas/testing/test-gbmv2/Makefile
|
|
111 |
--- xblas/testing/test-gbmv2/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
112 |
+++ xblas/testing/test-gbmv2/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
113 |
@@ -29,10 +29,10 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
114 |
|
|
115 |
test: do_test_gbmv2
|
|
116 |
@echo Testing GBMV2
|
|
117 |
- ./do_test_gbmv2 12 1 1.0 0 0.01 > gbmv2.results
|
|
118 |
+ LD_LIBRARY_PATH="../.." ./do_test_gbmv2 12 1 1.0 0 0.01 > gbmv2.results
|
|
119 |
|
|
120 |
do_test_gbmv2: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
121 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
122 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
123 |
-o do_test_gbmv2 $(EXTRA_LIBS)
|
|
124 |
|
|
125 |
.c.o:
|
|
126 |
diff -up xblas/testing/test-gbmv/Makefile.shared xblas/testing/test-gbmv/Makefile
|
|
127 |
--- xblas/testing/test-gbmv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
128 |
+++ xblas/testing/test-gbmv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
129 |
@@ -23,10 +23,10 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
130 |
|
|
131 |
test: do_test_gbmv
|
|
132 |
@echo Testing GBMV
|
|
133 |
- ./do_test_gbmv 12 1 1.0 0 0.01 > gbmv.results
|
|
134 |
+ LD_LIBRARY_PATH="../.." ./do_test_gbmv 12 1 1.0 0 0.01 > gbmv.results
|
|
135 |
|
|
136 |
do_test_gbmv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
137 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
138 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
139 |
-o do_test_gbmv $(EXTRA_LIBS)
|
|
140 |
|
|
141 |
.c.o:
|
|
142 |
diff -up xblas/testing/test-gemm/Makefile.shared xblas/testing/test-gemm/Makefile
|
|
143 |
--- xblas/testing/test-gemm/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
144 |
+++ xblas/testing/test-gemm/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
145 |
@@ -26,12 +26,12 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
146 |
|
|
147 |
test: do_test_gemm
|
|
148 |
@echo Testing GEMM - default quick test
|
|
149 |
- ./do_test_gemm 9 1 1.0 0 0.001 > gemm.results
|
|
150 |
+ LD_LIBRARY_PATH="../.." ./do_test_gemm 9 1 1.0 0 0.001 > gemm.results
|
|
151 |
|
|
152 |
test-lib: $(TEST_OBJS)
|
|
153 |
|
|
154 |
do_test_gemm: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
155 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
156 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
157 |
-o do_test_gemm $(EXTRA_LIBS)
|
|
158 |
|
|
159 |
.c.o:
|
|
160 |
diff -up xblas/testing/test-gemv2/Makefile.shared xblas/testing/test-gemv2/Makefile
|
|
161 |
--- xblas/testing/test-gemv2/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
162 |
+++ xblas/testing/test-gemv2/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
163 |
@@ -29,10 +29,10 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
164 |
|
|
165 |
test: do_test_gemv2
|
|
166 |
@echo Testing GEMV2 - default quick test
|
|
167 |
- ./do_test_gemv2 12 1 1.0 0 0.01 > gemv2.results
|
|
168 |
+ LD_LIBRARY_PATH="../.." ./do_test_gemv2 12 1 1.0 0 0.01 > gemv2.results
|
|
169 |
|
|
170 |
do_test_gemv2: $(LIB_PATH)/$(XBLASLIB) $(ALL_OBJS)
|
|
171 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
172 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
173 |
-o do_test_gemv2 $(EXTRA_LIBS)
|
|
174 |
|
|
175 |
.c.o:
|
|
176 |
diff -up xblas/testing/test-gemv/Makefile.shared xblas/testing/test-gemv/Makefile
|
|
177 |
--- xblas/testing/test-gemv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
178 |
+++ xblas/testing/test-gemv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
179 |
@@ -23,10 +23,10 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
180 |
|
|
181 |
test: do_test_gemv
|
|
182 |
@echo Testing GEMV - default quick test
|
|
183 |
- ./do_test_gemv 12 1 1.0 0 0.01 > gemv.results
|
|
184 |
+ LD_LIBRARY_PATH="../.." ./do_test_gemv 12 1 1.0 0 0.01 > gemv.results
|
|
185 |
|
|
186 |
do_test_gemv: $(LIB_PATH)/$(XBLASLIB) $(ALL_OBJS)
|
|
187 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
188 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
189 |
-o do_test_gemv $(EXTRA_LIBS)
|
|
190 |
|
|
191 |
.c.o:
|
|
192 |
diff -up xblas/testing/test-ge_sum_mv/Makefile.shared xblas/testing/test-ge_sum_mv/Makefile
|
|
193 |
--- xblas/testing/test-ge_sum_mv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
194 |
+++ xblas/testing/test-ge_sum_mv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
195 |
@@ -33,26 +33,26 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
196 |
|
|
197 |
test: do_test_ge_sum_mv warning
|
|
198 |
@echo Testing GE_SUM_MV - default quick test
|
|
199 |
- ./do_test_ge_sum_mv 7 1 1.0 3 0.01 > ge_sum_mv.results
|
|
200 |
+ LD_LIBRARY_PATH="../.." ./do_test_ge_sum_mv 7 1 1.0 3 0.01 > ge_sum_mv.results
|
|
201 |
|
|
202 |
test-few: do_test_ge_sum_mv warning
|
|
203 |
@echo Testing GE_SUM_MV - preforming a small set of tests
|
|
204 |
- ./do_test_ge_sum_mv 7 1 1.0 3 $(DO_FEW_TESTS) > ge_sum_mv.results
|
|
205 |
+ LD_LIBRARY_PATH="../.." ./do_test_ge_sum_mv 7 1 1.0 3 $(DO_FEW_TESTS) > ge_sum_mv.results
|
|
206 |
|
|
207 |
test-some: do_test_ge_sum_mv warning
|
|
208 |
@echo Testing GE_SUM_MV - preforming some tests : not all tests
|
|
209 |
- ./do_test_ge_sum_mv 7 1 1.0 3 $(DO_SOME_TESTS) > ge_sum_mv.results
|
|
210 |
+ LD_LIBRARY_PATH="../.." ./do_test_ge_sum_mv 7 1 1.0 3 $(DO_SOME_TESTS) > ge_sum_mv.results
|
|
211 |
|
|
212 |
test-all: do_test_ge_sum_mv warning
|
|
213 |
@echo Testing GE_SUM_MV Very Thoroughly
|
|
214 |
- ./do_test_ge_sum_mv 7 1 1.0 3 $(DO_ALL_TESTS) > ge_sum_mv.results
|
|
215 |
+ LD_LIBRARY_PATH="../.." ./do_test_ge_sum_mv 7 1 1.0 3 $(DO_ALL_TESTS) > ge_sum_mv.results
|
|
216 |
|
|
217 |
test-none: do_test_ge_sum_mv
|
|
218 |
@echo NOT Testing GE_SUM_MV - PREFORMING NO TESTS. NOT TESTING
|
|
219 |
- ./do_test_ge_sum_mv 7 1 1.0 3 $(DO_NO_TESTS) > ge_sum_mv.results
|
|
220 |
+ LD_LIBRARY_PATH="../.." ./do_test_ge_sum_mv 7 1 1.0 3 $(DO_NO_TESTS) > ge_sum_mv.results
|
|
221 |
|
|
222 |
do_test_ge_sum_mv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
223 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
224 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
225 |
-o do_test_ge_sum_mv $(EXTRA_LIBS)
|
|
226 |
|
|
227 |
test-lib: $(TEST_OBJS)
|
|
228 |
diff -up xblas/testing/test-hbmv/Makefile.shared xblas/testing/test-hbmv/Makefile
|
|
229 |
--- xblas/testing/test-hbmv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
230 |
+++ xblas/testing/test-hbmv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
231 |
@@ -33,26 +33,26 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
232 |
|
|
233 |
test: do_test_hbmv
|
|
234 |
@echo Testing HBMV - default quick test
|
|
235 |
- ./do_test_hbmv 7 1 1.0 3 0.01 > hbmv.results
|
|
236 |
+ LD_LIBRARY_PATH="../.." ./do_test_hbmv 7 1 1.0 3 0.01 > hbmv.results
|
|
237 |
|
|
238 |
test-few: do_test_hbmv
|
|
239 |
@echo Testing HBMV - preforming a small set of tests
|
|
240 |
- ./do_test_hbmv 7 1 1.0 3 $(DO_FEW_TESTS) > hbmv.results
|
|
241 |
+ LD_LIBRARY_PATH="../.." ./do_test_hbmv 7 1 1.0 3 $(DO_FEW_TESTS) > hbmv.results
|
|
242 |
|
|
243 |
test-some: do_test_hbmv
|
|
244 |
@echo Testing HBMV - preforming some tests : not all tests
|
|
245 |
- ./do_test_hbmv 7 1 1.0 3 $(DO_SOME_TESTS) > hbmv.results
|
|
246 |
+ LD_LIBRARY_PATH="../.." ./do_test_hbmv 7 1 1.0 3 $(DO_SOME_TESTS) > hbmv.results
|
|
247 |
|
|
248 |
test-all: do_test_hbmv
|
|
249 |
@echo Testing HBMV Very Thoroughly
|
|
250 |
- ./do_test_hbmv 7 1 1.0 3 $(DO_ALL_TESTS) > hbmv.results
|
|
251 |
+ LD_LIBRARY_PATH="../.." ./do_test_hbmv 7 1 1.0 3 $(DO_ALL_TESTS) > hbmv.results
|
|
252 |
|
|
253 |
test-none: do_test_hbmv
|
|
254 |
@echo NOT Testing HBMV - PREFORMING NO TESTS. NOT TESTING
|
|
255 |
- ./do_test_hbmv 7 1 1.0 3 $(DO_NO_TESTS) > hbmv.results
|
|
256 |
+ LD_LIBRARY_PATH="../.." ./do_test_hbmv 7 1 1.0 3 $(DO_NO_TESTS) > hbmv.results
|
|
257 |
|
|
258 |
do_test_hbmv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
259 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
260 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
261 |
-o do_test_hbmv $(EXTRA_LIBS)
|
|
262 |
|
|
263 |
test-lib: $(TEST_OBJS)
|
|
264 |
diff -up xblas/testing/test-hemm/Makefile.shared xblas/testing/test-hemm/Makefile
|
|
265 |
--- xblas/testing/test-hemm/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
266 |
+++ xblas/testing/test-hemm/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
267 |
@@ -33,26 +33,26 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
268 |
|
|
269 |
test: do_test_hemm
|
|
270 |
@echo Testing HEMM - default quick test
|
|
271 |
- ./do_test_hemm 7 1 1.0 0 0.01 > hemm.results
|
|
272 |
+ LD_LIBRARY_PATH="../.." ./do_test_hemm 7 1 1.0 0 0.01 > hemm.results
|
|
273 |
|
|
274 |
test-few: do_test_hemm
|
|
275 |
@echo Testing HEMM - preforming a small set of tests
|
|
276 |
- ./do_test_hemm 7 1 1.0 0 $(DO_FEW_TESTS) > hemm.results
|
|
277 |
+ LD_LIBRARY_PATH="../.." ./do_test_hemm 7 1 1.0 0 $(DO_FEW_TESTS) > hemm.results
|
|
278 |
|
|
279 |
test-some: do_test_hemm
|
|
280 |
@echo Testing HEMM - preforming some tests : not all tests
|
|
281 |
- ./do_test_hemm 7 1 1.0 0 $(DO_SOME_TESTS) > hemm.results
|
|
282 |
+ LD_LIBRARY_PATH="../.." ./do_test_hemm 7 1 1.0 0 $(DO_SOME_TESTS) > hemm.results
|
|
283 |
|
|
284 |
test-all: do_test_hemm
|
|
285 |
@echo Testing HEMM Very Thoroughly
|
|
286 |
- ./do_test_hemm 7 1 1.0 0 $(DO_ALL_TESTS) > hemm.results
|
|
287 |
+ LD_LIBRARY_PATH="../.." ./do_test_hemm 7 1 1.0 0 $(DO_ALL_TESTS) > hemm.results
|
|
288 |
|
|
289 |
test-none: do_test_hemm
|
|
290 |
@echo NOT Testing HEMM - PREFORMING NO TESTS. NOT TESTING
|
|
291 |
- ./do_test_hemm 7 1 1.0 0 $(DO_NO_TESTS) > hemm.results
|
|
292 |
+ LD_LIBRARY_PATH="../.." ./do_test_hemm 7 1 1.0 0 $(DO_NO_TESTS) > hemm.results
|
|
293 |
|
|
294 |
do_test_hemm: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
295 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
296 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
297 |
-o do_test_hemm $(EXTRA_LIBS)
|
|
298 |
|
|
299 |
.c.o:
|
|
300 |
diff -up xblas/testing/test-hemv2/Makefile.shared xblas/testing/test-hemv2/Makefile
|
|
301 |
--- xblas/testing/test-hemv2/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
302 |
+++ xblas/testing/test-hemv2/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
303 |
@@ -34,10 +34,10 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
304 |
|
|
305 |
test: do_test_hemv2
|
|
306 |
@echo Testing HEMV2 - default test
|
|
307 |
- ./do_test_hemv2 7 1 1.0 0 0.1 > hemv2.results
|
|
308 |
+ LD_LIBRARY_PATH="../.." ./do_test_hemv2 7 1 1.0 0 0.1 > hemv2.results
|
|
309 |
|
|
310 |
do_test_hemv2: $(LIB_PATH)/$(XBLASLIB) $(ALL_OBJS)
|
|
311 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
312 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
313 |
-o do_test_hemv2 $(EXTRA_LIBS)
|
|
314 |
|
|
315 |
.c.o:
|
|
316 |
diff -up xblas/testing/test-hemv/Makefile.shared xblas/testing/test-hemv/Makefile
|
|
317 |
--- xblas/testing/test-hemv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
318 |
+++ xblas/testing/test-hemv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
319 |
@@ -27,10 +27,10 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
320 |
|
|
321 |
test: do_test_hemv
|
|
322 |
@echo Testing HEMV
|
|
323 |
- ./do_test_hemv 7 1 1.0 3 0.01 > hemv.results
|
|
324 |
+ LD_LIBRARY_PATH="../.." ./do_test_hemv 7 1 1.0 3 0.01 > hemv.results
|
|
325 |
|
|
326 |
do_test_hemv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
327 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
328 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
329 |
-o do_test_hemv $(EXTRA_LIBS)
|
|
330 |
|
|
331 |
test-lib: $(TEST_OBJS)
|
|
332 |
diff -up xblas/testing/test-hpmv/Makefile.shared xblas/testing/test-hpmv/Makefile
|
|
333 |
--- xblas/testing/test-hpmv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
334 |
+++ xblas/testing/test-hpmv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
335 |
@@ -31,10 +31,10 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
336 |
|
|
337 |
test: do_test_hpmv
|
|
338 |
@echo Testing HPMV
|
|
339 |
- ./do_test_hpmv 7 1 1.0 3 0.01 > hpmv.results
|
|
340 |
+ LD_LIBRARY_PATH="../.." ./do_test_hpmv 7 1 1.0 3 0.01 > hpmv.results
|
|
341 |
|
|
342 |
do_test_hpmv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
343 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
344 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
345 |
-o do_test_hpmv $(EXTRA_LIBS)
|
|
346 |
|
|
347 |
test-lib: $(TEST_OBJS)
|
|
348 |
diff -up xblas/testing/test-sbmv/Makefile.shared xblas/testing/test-sbmv/Makefile
|
|
349 |
--- xblas/testing/test-sbmv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
350 |
+++ xblas/testing/test-sbmv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
351 |
@@ -29,26 +29,26 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
352 |
|
|
353 |
test: do_test_sbmv
|
|
354 |
@echo Testing SBMV - default quick test
|
|
355 |
- ./do_test_sbmv 7 1 1.0 3 0.001 > sbmv.results
|
|
356 |
+ LD_LIBRARY_PATH="../.." ./do_test_sbmv 7 1 1.0 3 0.001 > sbmv.results
|
|
357 |
|
|
358 |
test-few: do_test_sbmv
|
|
359 |
@echo Testing SBMV - preforming a small set of tests
|
|
360 |
- ./do_test_sbmv 7 1 1.0 3 $(DO_FEW_TESTS) > sbmv.results
|
|
361 |
+ LD_LIBRARY_PATH="../.." ./do_test_sbmv 7 1 1.0 3 $(DO_FEW_TESTS) > sbmv.results
|
|
362 |
|
|
363 |
test-some: do_test_sbmv
|
|
364 |
@echo Testing SBMV - preforming some tests : not all tests
|
|
365 |
- ./do_test_sbmv 7 1 1.0 3 $(DO_SOME_TESTS) > sbmv.results
|
|
366 |
+ LD_LIBRARY_PATH="../.." ./do_test_sbmv 7 1 1.0 3 $(DO_SOME_TESTS) > sbmv.results
|
|
367 |
|
|
368 |
test-all: do_test_sbmv
|
|
369 |
@echo Testing SBMV Very Thoroughly
|
|
370 |
- ./do_test_sbmv 7 1 1.0 3 $(DO_ALL_TESTS) > sbmv.results
|
|
371 |
+ LD_LIBRARY_PATH="../.." ./do_test_sbmv 7 1 1.0 3 $(DO_ALL_TESTS) > sbmv.results
|
|
372 |
|
|
373 |
test-none: do_test_sbmv
|
|
374 |
@echo NOT Testing SBMV - PREFORMING NO TESTS. NOT TESTING
|
|
375 |
- ./do_test_sbmv 7 1 1.0 3 $(DO_NO_TESTS) > sbmv.results
|
|
376 |
+ LD_LIBRARY_PATH="../.." ./do_test_sbmv 7 1 1.0 3 $(DO_NO_TESTS) > sbmv.results
|
|
377 |
|
|
378 |
do_test_sbmv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
379 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
380 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
381 |
-o do_test_sbmv $(EXTRA_LIBS)
|
|
382 |
|
|
383 |
test-lib: $(TEST_OBJS)
|
|
384 |
diff -up xblas/testing/test-spmv/Makefile.shared xblas/testing/test-spmv/Makefile
|
|
385 |
--- xblas/testing/test-spmv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
386 |
+++ xblas/testing/test-spmv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
387 |
@@ -27,26 +27,26 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS
|
|
388 |
|
|
389 |
test: do_test_spmv
|
|
390 |
@echo Testing SPMV - default quick test
|
|
391 |
- ./do_test_spmv 7 1 1.0 3 0.01 > spmv.results
|
|
392 |
+ LD_LIBRARY_PATH="../.." ./do_test_spmv 7 1 1.0 3 0.01 > spmv.results
|
|
393 |
|
|
394 |
test-few: do_test_spmv
|
|
395 |
@echo Testing SPMV - preforming a small set of tests
|
|
396 |
- ./do_test_spmv 7 1 1.0 3 $(DO_FEW_TESTS) > spmv.results
|
|
397 |
+ LD_LIBRARY_PATH="../.." ./do_test_spmv 7 1 1.0 3 $(DO_FEW_TESTS) > spmv.results
|
|
398 |
|
|
399 |
test-some: do_test_spmv
|
|
400 |
@echo Testing SPMV - preforming some tests : not all tests
|
|
401 |
- ./do_test_spmv 7 1 1.0 3 $(DO_SOME_TESTS) > spmv.results
|
|
402 |
+ LD_LIBRARY_PATH="../.." ./do_test_spmv 7 1 1.0 3 $(DO_SOME_TESTS) > spmv.results
|
|
403 |
|
|
404 |
test-all: do_test_spmv
|
|
405 |
@echo Testing SPMV Very Thoroughly
|
|
406 |
- ./do_test_spmv 7 1 1.0 3 $(DO_ALL_TESTS) > spmv.results
|
|
407 |
+ LD_LIBRARY_PATH="../.." ./do_test_spmv 7 1 1.0 3 $(DO_ALL_TESTS) > spmv.results
|
|
408 |
|
|
409 |
test-none: do_test_spmv
|
|
410 |
@echo NOT Testing SPMV - PREFORMING NO TESTS. NOT TESTING
|
|
411 |
- ./do_test_spmv 7 1 1.0 3 $(DO_NO_TESTS) > spmv.results
|
|
412 |
+ LD_LIBRARY_PATH="../.." ./do_test_spmv 7 1 1.0 3 $(DO_NO_TESTS) > spmv.results
|
|
413 |
|
|
414 |
do_test_spmv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
415 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
416 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
417 |
-o do_test_spmv $(EXTRA_LIBS)
|
|
418 |
|
|
419 |
.c.o:
|
|
420 |
diff -up xblas/testing/test-sum/Makefile.shared xblas/testing/test-sum/Makefile
|
|
421 |
--- xblas/testing/test-sum/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
422 |
+++ xblas/testing/test-sum/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
423 |
@@ -25,10 +25,10 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
424 |
|
|
425 |
test: do_test_sum
|
|
426 |
@echo Testing SUM
|
|
427 |
- ./do_test_sum 20 1 1.0 0 1.0 > sum.results
|
|
428 |
+ LD_LIBRARY_PATH="../.." ./do_test_sum 20 1 1.0 0 1.0 > sum.results
|
|
429 |
|
|
430 |
do_test_sum: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
431 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
432 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
433 |
-o do_test_sum $(EXTRA_LIBS)
|
|
434 |
|
|
435 |
.c.o:
|
|
436 |
diff -up xblas/testing/test-symm/Makefile.shared xblas/testing/test-symm/Makefile
|
|
437 |
--- xblas/testing/test-symm/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
438 |
+++ xblas/testing/test-symm/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
439 |
@@ -28,26 +28,26 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
440 |
|
|
441 |
test: do_test_symm
|
|
442 |
@echo Testing SYMM - default quick test
|
|
443 |
- ./do_test_symm 7 1 1.0 3 0.001 > symm.results
|
|
444 |
+ LD_LIBRARY_PATH="../.." ./do_test_symm 7 1 1.0 3 0.001 > symm.results
|
|
445 |
|
|
446 |
test-few: do_test_symm
|
|
447 |
@echo Testing SYMM - preforming a small set of tests
|
|
448 |
- ./do_test_symm 7 1 1.0 3 $(DO_FEW_TESTS) > symm.results
|
|
449 |
+ LD_LIBRARY_PATH="../.." ./do_test_symm 7 1 1.0 3 $(DO_FEW_TESTS) > symm.results
|
|
450 |
|
|
451 |
test-some: do_test_symm
|
|
452 |
@echo Testing SYMM - preforming some tests : not all tests
|
|
453 |
- ./do_test_symm 7 1 1.0 3 $(DO_SOME_TESTS) > symm.results
|
|
454 |
+ LD_LIBRARY_PATH="../.." ./do_test_symm 7 1 1.0 3 $(DO_SOME_TESTS) > symm.results
|
|
455 |
|
|
456 |
test-all: do_test_symm
|
|
457 |
@echo Testing SYMM Very Thoroughly
|
|
458 |
- ./do_test_symm 7 1 1.0 3 $(DO_ALL_TESTS) > symm.results
|
|
459 |
+ LD_LIBRARY_PATH="../.." ./do_test_symm 7 1 1.0 3 $(DO_ALL_TESTS) > symm.results
|
|
460 |
|
|
461 |
test-none: do_test_symm
|
|
462 |
@echo NOT Testing SYMM - PREFORMING NO TESTS. NOT TESTING
|
|
463 |
- ./do_test_symm 7 1 1.0 3 $(DO_NO_TESTS) > symm.results
|
|
464 |
+ LD_LIBRARY_PATH="../.." ./do_test_symm 7 1 1.0 3 $(DO_NO_TESTS) > symm.results
|
|
465 |
|
|
466 |
do_test_symm: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
467 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
468 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
469 |
-o do_test_symm $(EXTRA_LIBS)
|
|
470 |
|
|
471 |
test-lib: $(TEST_OBJS)
|
|
472 |
diff -up xblas/testing/test-symv2/Makefile.shared xblas/testing/test-symv2/Makefile
|
|
473 |
--- xblas/testing/test-symv2/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
474 |
+++ xblas/testing/test-symv2/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
475 |
@@ -29,10 +29,10 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
476 |
|
|
477 |
test: do_test_symv2
|
|
478 |
@echo Testing SYMV2 - default quick test
|
|
479 |
- ./do_test_symv2 7 1 1.0 0 0.1 > symv2.results
|
|
480 |
+ LD_LIBRARY_PATH="../.." ./do_test_symv2 7 1 1.0 0 0.1 > symv2.results
|
|
481 |
|
|
482 |
do_test_symv2: $(LIB_PATH)/$(XBLASLIB) $(ALL_OBJS)
|
|
483 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
484 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
485 |
-o do_test_symv2 $(EXTRA_LIBS)
|
|
486 |
|
|
487 |
.c.o:
|
|
488 |
diff -up xblas/testing/test-symv/Makefile.shared xblas/testing/test-symv/Makefile
|
|
489 |
--- xblas/testing/test-symv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
490 |
+++ xblas/testing/test-symv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
491 |
@@ -25,26 +25,26 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
492 |
|
|
493 |
test: do_test_symv
|
|
494 |
@echo Testing SYMV - default quick test
|
|
495 |
- ./do_test_symv 7 1 1.0 3 0.01 > symv.results
|
|
496 |
+ LD_LIBRARY_PATH="../.." ./do_test_symv 7 1 1.0 3 0.01 > symv.results
|
|
497 |
|
|
498 |
test-few: do_test_symv
|
|
499 |
@echo Testing SYMV - preforming a small set of tests
|
|
500 |
- ./do_test_symv 7 1 1.0 3 $(DO_FEW_TESTS) > symv.results
|
|
501 |
+ LD_LIBRARY_PATH="../.." ./do_test_symv 7 1 1.0 3 $(DO_FEW_TESTS) > symv.results
|
|
502 |
|
|
503 |
test-some: do_test_symv
|
|
504 |
@echo Testing SYMV - preforming some tests : not all tests
|
|
505 |
- ./do_test_symv 7 1 1.0 3 $(DO_SOME_TESTS) > symv.results
|
|
506 |
+ LD_LIBRARY_PATH="../.." ./do_test_symv 7 1 1.0 3 $(DO_SOME_TESTS) > symv.results
|
|
507 |
|
|
508 |
test-all: do_test_symv
|
|
509 |
@echo Testing SYMV Very Thoroughly
|
|
510 |
- ./do_test_symv 7 1 1.0 3 $(DO_ALL_TESTS) > symv.results
|
|
511 |
+ LD_LIBRARY_PATH="../.." ./do_test_symv 7 1 1.0 3 $(DO_ALL_TESTS) > symv.results
|
|
512 |
|
|
513 |
test-none: do_test_symv
|
|
514 |
@echo NOT Testing SYMV - PREFORMING NO TESTS. NOT TESTING
|
|
515 |
- ./do_test_symv 7 1 1.0 3 $(DO_NO_TESTS) > symv.results
|
|
516 |
+ LD_LIBRARY_PATH="../.." ./do_test_symv 7 1 1.0 3 $(DO_NO_TESTS) > symv.results
|
|
517 |
|
|
518 |
do_test_symv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
519 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
520 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
521 |
-o do_test_symv $(EXTRA_LIBS)
|
|
522 |
|
|
523 |
test-lib: $(TEST_OBJS)
|
|
524 |
diff -up xblas/testing/test-tbsv/Makefile.shared xblas/testing/test-tbsv/Makefile
|
|
525 |
--- xblas/testing/test-tbsv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
526 |
+++ xblas/testing/test-tbsv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
527 |
@@ -31,26 +31,26 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
528 |
|
|
529 |
test: do_test_tbsv
|
|
530 |
@echo Testing TBSV - default quick test
|
|
531 |
- ./do_test_tbsv 9 1 1.0 3 0.01 > tbsv.results
|
|
532 |
+ LD_LIBRARY_PATH="../.." ./do_test_tbsv 9 1 1.0 3 0.01 > tbsv.results
|
|
533 |
|
|
534 |
test-few: do_test_tbsv
|
|
535 |
@echo Testing TBSV - preforming a small set of tests
|
|
536 |
- ./do_test_tbsv 9 1 1.0 3 $(DO_FEW_TESTS) > tbsv.results
|
|
537 |
+ LD_LIBRARY_PATH="../.." ./do_test_tbsv 9 1 1.0 3 $(DO_FEW_TESTS) > tbsv.results
|
|
538 |
|
|
539 |
test-some: do_test_tbsv
|
|
540 |
@echo Testing TBSV - preforming some tests : not all tests
|
|
541 |
- ./do_test_tbsv 9 1 1.0 3 $(DO_SOME_TESTS) > tbsv.results
|
|
542 |
+ LD_LIBRARY_PATH="../.." ./do_test_tbsv 9 1 1.0 3 $(DO_SOME_TESTS) > tbsv.results
|
|
543 |
|
|
544 |
test-all: do_test_tbsv
|
|
545 |
@echo Testing TBSV Very Thoroughly
|
|
546 |
- ./do_test_tbsv 9 1 1.0 3 $(DO_ALL_TESTS) > tbsv.results
|
|
547 |
+ LD_LIBRARY_PATH="../.." ./do_test_tbsv 9 1 1.0 3 $(DO_ALL_TESTS) > tbsv.results
|
|
548 |
|
|
549 |
test-none: do_test_tbsv
|
|
550 |
@echo NOT Testing TBSV - PREFORMING NO TESTS. NOT TESTING
|
|
551 |
- ./do_test_tbsv 9 1 1.0 3 $(DO_NO_TESTS) > tbsv.results
|
|
552 |
+ LD_LIBRARY_PATH="../.." ./do_test_tbsv 9 1 1.0 3 $(DO_NO_TESTS) > tbsv.results
|
|
553 |
|
|
554 |
do_test_tbsv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
555 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
556 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
557 |
-o do_test_tbsv $(EXTRA_LIBS)
|
|
558 |
|
|
559 |
.c.o:
|
|
560 |
diff -up xblas/testing/test-tpmv/Makefile.shared xblas/testing/test-tpmv/Makefile
|
|
561 |
--- xblas/testing/test-tpmv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
562 |
+++ xblas/testing/test-tpmv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
563 |
@@ -23,26 +23,26 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
564 |
|
|
565 |
test: do_test_tpmv
|
|
566 |
@echo Testing TPMV - default quick test
|
|
567 |
- ./do_test_tpmv 12 1 1.0 0 0.01 > tpmv.results
|
|
568 |
+ LD_LIBRARY_PATH="../.." ./do_test_tpmv 12 1 1.0 0 0.01 > tpmv.results
|
|
569 |
|
|
570 |
test-few: do_test_tpmv
|
|
571 |
@echo Testing TPMV - preforming a small set of tests
|
|
572 |
- ./do_test_tpmv 12 1 1.0 0 $(DO_FEW_TESTS)
|
|
573 |
+ LD_LIBRARY_PATH="../.." ./do_test_tpmv 12 1 1.0 0 $(DO_FEW_TESTS)
|
|
574 |
|
|
575 |
test-some: do_test_tpmv
|
|
576 |
@echo Testing TPMV - preforming some tests : not all tests
|
|
577 |
- ./do_test_tpmv 12 1 1.0 3 $(DO_SOME_TESTS)
|
|
578 |
+ LD_LIBRARY_PATH="../.." ./do_test_tpmv 12 1 1.0 3 $(DO_SOME_TESTS)
|
|
579 |
|
|
580 |
test-all: do_test_tpmv
|
|
581 |
@echo Testing TPMV Very Thoroughly
|
|
582 |
- ./do_test_tpmv 12 1 1.0 0 $(DO_ALL_TESTS)
|
|
583 |
+ LD_LIBRARY_PATH="../.." ./do_test_tpmv 12 1 1.0 0 $(DO_ALL_TESTS)
|
|
584 |
|
|
585 |
test-none: do_test_tpmv
|
|
586 |
@echo NOT Testing TPMV - PREFORMING NO TESTS. NOT TESTING
|
|
587 |
- ./do_test_tpmv 12 1 1.0 0 $(DO_NO_TESTS)
|
|
588 |
+ LD_LIBRARY_PATH="../.." ./do_test_tpmv 12 1 1.0 0 $(DO_NO_TESTS)
|
|
589 |
|
|
590 |
do_test_tpmv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
591 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
592 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
593 |
-o do_test_tpmv $(EXTRA_LIBS)
|
|
594 |
|
|
595 |
test-lib: $(TEST_OBJS)
|
|
596 |
diff -up xblas/testing/test-trmv/Makefile.shared xblas/testing/test-trmv/Makefile
|
|
597 |
--- xblas/testing/test-trmv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
598 |
+++ xblas/testing/test-trmv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
599 |
@@ -24,12 +24,12 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
600 |
all: test
|
|
601 |
|
|
602 |
do_test_trmv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
603 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
604 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
605 |
-o do_test_trmv $(EXTRA_LIBS)
|
|
606 |
|
|
607 |
test: do_test_trmv
|
|
608 |
@echo Testing TRMV
|
|
609 |
- ./do_test_trmv 12 1 1.0 0 0.01 > trmv.results
|
|
610 |
+ LD_LIBRARY_PATH="../.." ./do_test_trmv 12 1 1.0 0 0.01 > trmv.results
|
|
611 |
|
|
612 |
.c.o:
|
|
613 |
$(CC) $(CFLAGS) $(HEADER_PATH) -c -o $@ $<
|
|
614 |
diff -up xblas/testing/test-trsv/Makefile.shared xblas/testing/test-trsv/Makefile
|
|
615 |
--- xblas/testing/test-trsv/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
616 |
+++ xblas/testing/test-trsv/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
617 |
@@ -26,26 +26,26 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
618 |
|
|
619 |
test: do_test_trsv
|
|
620 |
@echo Testing TRSV - default quick test
|
|
621 |
- ./do_test_trsv 10 1 1.0 3 0.01 > trsv.results
|
|
622 |
+ LD_LIBRARY_PATH="../.." ./do_test_trsv 10 1 1.0 3 0.01 > trsv.results
|
|
623 |
|
|
624 |
test-few: do_test_trsv
|
|
625 |
@echo Testing TRSV - preforming a small set of tests
|
|
626 |
- ./do_test_trsv 10 1 1.0 0 $(DO_FEW_TESTS) > trsv.results
|
|
627 |
+ LD_LIBRARY_PATH="../.." ./do_test_trsv 10 1 1.0 0 $(DO_FEW_TESTS) > trsv.results
|
|
628 |
|
|
629 |
test-some: do_test_trsv
|
|
630 |
@echo Testing TRSV - preforming some tests : not all tests
|
|
631 |
- ./do_test_trsv 10 1 1.0 0 $(DO_SOME_TESTS) > trsv.results
|
|
632 |
+ LD_LIBRARY_PATH="../.." ./do_test_trsv 10 1 1.0 0 $(DO_SOME_TESTS) > trsv.results
|
|
633 |
|
|
634 |
test-all: do_test_trsv
|
|
635 |
@echo Testing TRSV Very Thoroughly
|
|
636 |
- ./do_test_trsv 10 1 1.0 0 $(DO_ALL_TESTS) > trsv.results
|
|
637 |
+ LD_LIBRARY_PATH="../.." ./do_test_trsv 10 1 1.0 0 $(DO_ALL_TESTS) > trsv.results
|
|
638 |
|
|
639 |
test-none: do_test_trsv
|
|
640 |
@echo NOT Testing TRSV - PREFORMING NO TESTS. NOT TESTING
|
|
641 |
- ./do_test_trsv 10 1 1.0 0 $(DO_NO_TESTS) > trsv.results
|
|
642 |
+ LD_LIBRARY_PATH="../.." ./do_test_trsv 10 1 1.0 0 $(DO_NO_TESTS) > trsv.results
|
|
643 |
|
|
644 |
do_test_trsv: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
645 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
646 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
647 |
-o do_test_trsv $(EXTRA_LIBS)
|
|
648 |
|
|
649 |
.c.o:
|
|
650 |
diff -up xblas/testing/test-waxpby/Makefile.shared xblas/testing/test-waxpby/Makefile
|
|
651 |
--- xblas/testing/test-waxpby/Makefile.shared 2008-11-15 13:58:30.000000000 -0500
|
|
652 |
+++ xblas/testing/test-waxpby/Makefile 2009-04-20 15:42:16.000000000 -0400
|
|
653 |
@@ -24,10 +24,10 @@ ALL_OBJS = $(TEST_OBJS) $(TEST_DOT_OBJS)
|
|
654 |
|
|
655 |
test: do_test_waxpby
|
|
656 |
@echo Testing WAXPBY
|
|
657 |
- ./do_test_waxpby 20 1 1.0 0 0.1 > waxpby.results
|
|
658 |
+ LD_LIBRARY_PATH="../.." ./do_test_waxpby 20 1 1.0 0 0.1 > waxpby.results
|
|
659 |
|
|
660 |
do_test_waxpby: $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB)
|
|
661 |
- $(LINKER) $(LDFLAGS) $(ALL_OBJS) $(LIB_PATH)/$(XBLASLIB) \
|
|
662 |
+ $(LINKER) $(LDFLAGS) $(ALL_OBJS) -L$(LIB_PATH) -lxblas \
|
|
663 |
-o do_test_waxpby $(EXTRA_LIBS)
|
|
664 |
|
|
665 |
.c.o:
|