Merge pull request #1532 from martin-frbg/utest-cblas
Do not try to build the fork utest when NO_CBLAS=1
This commit is contained in:
commit
86f49c529d
|
@ -25,6 +25,7 @@ endif ()
|
||||||
|
|
||||||
# known to hang with the native Windows and Android threads
|
# known to hang with the native Windows and Android threads
|
||||||
# FIXME needs checking if this works on any of the other platforms
|
# FIXME needs checking if this works on any of the other platforms
|
||||||
|
if (NOT NO_CBLAS)
|
||||||
if (NOT USE_OPENMP)
|
if (NOT USE_OPENMP)
|
||||||
if (OS_CYGWIN_NT OR OS_LINUX)
|
if (OS_CYGWIN_NT OR OS_LINUX)
|
||||||
set(OpenBLAS_utest_src
|
set(OpenBLAS_utest_src
|
||||||
|
@ -33,6 +34,7 @@ set(OpenBLAS_utest_src
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
if (NOT NO_LAPACK)
|
if (NOT NO_LAPACK)
|
||||||
set(OpenBLAS_utest_src
|
set(OpenBLAS_utest_src
|
||||||
|
|
|
@ -17,11 +17,13 @@ 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
|
||||||
|
ifneq ($(NO_CBLAS), 1)
|
||||||
ifndef USE_OPENMP
|
ifndef USE_OPENMP
|
||||||
ifeq ($(OSNAME), $(filter $(OSNAME),Linux CYGWIN_NT))
|
ifeq ($(OSNAME), $(filter $(OSNAME),Linux CYGWIN_NT))
|
||||||
OBJS += test_fork.o
|
OBJS += test_fork.o
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
all : run_test
|
all : run_test
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue