Skip to content

Commit 566e315

Browse files
authored
Make test_post_fork_async depend on LAPACK as it uses getrf
1 parent 8742434 commit 566e315

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

utest/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,14 @@ if (NOT USE_OPENMP)
101101
set(OpenBLAS_utest_src
102102
${OpenBLAS_utest_src}
103103
test_fork.c
104+
)
105+
if (NOT NO_LAPACK)
106+
set(OpenBLAS_utest_src
107+
${OpenBLAS_utest_src}
104108
test_post_fork_async.c
105109
)
106110
endif()
111+
endif()
107112
set(OpenBLAS_utest_src
108113
${OpenBLAS_utest_src}
109114
test_post_fork.c

utest/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ endif
4545
# FIXME TBD if this works on OSX, SunOS, POWER and zarch
4646
ifeq ($(OSNAME), $(filter $(OSNAME),Linux CYGWIN_NT))
4747
ifneq ($(USE_OPENMP), 1)
48-
OBJS += test_fork.o test_post_fork_async.o
48+
OBJS += test_fork.o
49+
ifneq ($(NO_LAPACK), 1)
50+
OBJS += test_post_fork_async.o
51+
endif
4952
endif
5053
OBJS += test_post_fork.o
5154
endif

0 commit comments

Comments
 (0)