File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,14 @@ if (NOT NO_LAPACK)
38
38
set (OpenBLAS_utest_src
39
39
${OpenBLAS_utest_src}
40
40
test_potrs.c
41
+ )
42
+ if (NOT NO_CBLAS AND NOT NO_LAPACKE )
43
+ set (OpenBLAS_utest_src
44
+ ${OpenBLAS_utest_src}
41
45
test_kernel_regress.c
42
46
)
43
47
endif ()
48
+ endif ()
44
49
45
50
set (OpenBLAS_utest_bin openblas_utest )
46
51
add_executable (${OpenBLAS_utest_bin} ${OpenBLAS_utest_src} )
Original file line number Diff line number Diff line change 1
1
UTEST_CHECK = 1
2
2
TOPDIR = ..
3
3
4
+ override TARGET_ARCH =
5
+ override TARGET_MACH =
6
+
4
7
UTESTBIN =openblas_utest
5
8
6
9
.PHONY : all
@@ -13,8 +16,12 @@ OBJS=utest_main.o test_amax.o test_rotmg.o test_axpy.o test_dotu.o test_dsdot.o
13
16
14
17
ifneq ($(NO_LAPACK ) , 1)
15
18
OBJS += test_potrs.o
19
+ ifneq ($(NO_CBLAS ) , 1)
20
+ ifneq ($(NO_LAPACKE ) , 1)
16
21
OBJS += test_kernel_regress.o
17
22
endif
23
+ endif
24
+ endif
18
25
19
26
# this does not work with OpenMP nor with native Windows or Android threads
20
27
# FIXME TBD if this works on OSX, SunOS, POWER and zarch
You can’t perform that action at this time.
0 commit comments