seems to hang on at least ARMv8/Android as wellpull/1462/head
| @@ -16,13 +16,10 @@ else () | |||||
| ) | ) | ||||
| endif () | 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 USE_OPENMP) | if (NOT USE_OPENMP) | ||||
| if (NOT OS_WINDOWS) | |||||
| set(OpenBLAS_utest_src | |||||
| ${OpenBLAS_utest_src} | |||||
| test_fork.c | |||||
| ) | |||||
| elseif (OS_CYGWIN_NT) | |||||
| if (OS_CYGWIN_NT OR OS_LINUX) | |||||
| set(OpenBLAS_utest_src | set(OpenBLAS_utest_src | ||||
| ${OpenBLAS_utest_src} | ${OpenBLAS_utest_src} | ||||
| test_fork.c | test_fork.c | ||||
| @@ -15,13 +15,11 @@ ifneq ($(NO_LAPACK), 1) | |||||
| #OBJS += test_potrs.o | #OBJS += test_potrs.o | ||||
| 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 | |||||
| ifndef USE_OPENMP | ifndef USE_OPENMP | ||||
| ifndef OS_WINDOWS | |||||
| ifeq ($(OSNAME), $(filter $(OSNAME),Linux CYGWIN_NT)) | |||||
| OBJS += test_fork.o | OBJS += test_fork.o | ||||
| else | |||||
| ifdef OS_CYGWIN_NT | |||||
| OBJS += test_fork.o | |||||
| endif | |||||
| endif | endif | ||||
| endif | endif | ||||