From 5fcaca6438855fa295e7fa012ffa38f12599ede7 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 20 Apr 2018 15:42:13 +0200 Subject: [PATCH 1/2] fork utest depends on CBLAS --- utest/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utest/Makefile b/utest/Makefile index e40b3c6db..e071540dc 100644 --- a/utest/Makefile +++ b/utest/Makefile @@ -17,11 +17,13 @@ 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 +ifneq ($(NO_CBLAS), 1) ifndef USE_OPENMP ifeq ($(OSNAME), $(filter $(OSNAME),Linux CYGWIN_NT)) OBJS += test_fork.o endif endif +endif all : run_test From 625c74a38f481e8ed818334abffd493448f77ebd Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 20 Apr 2018 15:43:59 +0200 Subject: [PATCH 2/2] fork utest depends on CBLAS --- utest/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utest/CMakeLists.txt b/utest/CMakeLists.txt index 1b426afe7..77a42d84f 100644 --- a/utest/CMakeLists.txt +++ b/utest/CMakeLists.txt @@ -25,6 +25,7 @@ endif () # known to hang with the native Windows and Android threads # FIXME needs checking if this works on any of the other platforms +if (NOT NO_CBLAS) if (NOT USE_OPENMP) if (OS_CYGWIN_NT OR OS_LINUX) set(OpenBLAS_utest_src @@ -33,6 +34,7 @@ set(OpenBLAS_utest_src ) endif() endif() +endif() if (NOT NO_LAPACK) set(OpenBLAS_utest_src