Merge pull request #2218 from martin-frbg/issue2215
Make the new DGEMM regression test properly depend on CBLAS and LAPACKE
This commit is contained in:
commit
b48c025974
|
@ -38,9 +38,14 @@ if (NOT NO_LAPACK)
|
||||||
set(OpenBLAS_utest_src
|
set(OpenBLAS_utest_src
|
||||||
${OpenBLAS_utest_src}
|
${OpenBLAS_utest_src}
|
||||||
test_potrs.c
|
test_potrs.c
|
||||||
|
)
|
||||||
|
if (NOT NO_CBLAS AND NOT NO_LAPACKE)
|
||||||
|
set(OpenBLAS_utest_src
|
||||||
|
${OpenBLAS_utest_src}
|
||||||
test_kernel_regress.c
|
test_kernel_regress.c
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
set(OpenBLAS_utest_bin openblas_utest)
|
set(OpenBLAS_utest_bin openblas_utest)
|
||||||
add_executable(${OpenBLAS_utest_bin} ${OpenBLAS_utest_src})
|
add_executable(${OpenBLAS_utest_bin} ${OpenBLAS_utest_src})
|
||||||
|
|
|
@ -16,8 +16,12 @@ OBJS=utest_main.o test_amax.o test_rotmg.o test_axpy.o test_dotu.o test_dsdot.o
|
||||||
|
|
||||||
ifneq ($(NO_LAPACK), 1)
|
ifneq ($(NO_LAPACK), 1)
|
||||||
OBJS += test_potrs.o
|
OBJS += test_potrs.o
|
||||||
|
ifneq ($(NO_CBLAS), 1)
|
||||||
|
ifneq ($(NO_LAPACKE), 1)
|
||||||
OBJS += test_kernel_regress.o
|
OBJS += test_kernel_regress.o
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
#this does not work with OpenMP nor with native Windows or Android threads
|
#this does not work with OpenMP nor with native Windows or Android threads
|
||||||
# FIXME TBD if this works on OSX, SunOS, POWER and zarch
|
# FIXME TBD if this works on OSX, SunOS, POWER and zarch
|
||||||
|
|
Loading…
Reference in New Issue