File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-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 @@ -16,8 +16,12 @@ OBJS=utest_main.o test_amax.o test_rotmg.o test_axpy.o test_dotu.o test_dsdot.o
16
16
17
17
ifneq ($(NO_LAPACK ) , 1)
18
18
OBJS += test_potrs.o
19
+ ifneq ($(NO_CBLAS ) , 1)
20
+ ifneq ($(NO_LAPACKE ) , 1)
19
21
OBJS += test_kernel_regress.o
20
22
endif
23
+ endif
24
+ endif
21
25
22
26
# this does not work with OpenMP nor with native Windows or Android threads
23
27
# FIXME TBD if this works on OSX, SunOS, POWER and zarch
You can’t perform that action at this time.
0 commit comments