Try fork test on Cygwin and Linux only
seems to hang on at least ARMv8/Android as well
This commit is contained in:
parent
63ba1aa8b7
commit
df9b3523ef
|
@ -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)
|
if (OS_CYGWIN_NT OR OS_LINUX)
|
||||||
set(OpenBLAS_utest_src
|
|
||||||
${OpenBLAS_utest_src}
|
|
||||||
test_fork.c
|
|
||||||
)
|
|
||||||
elseif (OS_CYGWIN_NT)
|
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue