pkgsrc-wip/openblas/patches/patch-utest_Makefile

20 lines
479 B
Plaintext

$NetBSD$
Limit regression tests to working configs
--- utest/Makefile.orig 2020-01-08 19:47:09.730906975 +0000
+++ utest/Makefile
@@ -16,8 +16,12 @@ OBJS=utest_main.o test_amax.o test_rotmg
ifneq ($(NO_LAPACK), 1)
OBJS += test_potrs.o
+ifneq ($(NO_LAPACKE), 1)
+ifneq ($(NO_CBLAS), 1)
OBJS += test_kernel_regress.o
endif
+endif
+endif
#this does not work with OpenMP nor with native Windows or Android threads
# FIXME TBD if this works on OSX, SunOS, POWER and zarch