File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed
Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ if (USE_THREAD)
2727 ${BLAS_SERVER}
2828 divtable.c # TODO: Makefile has -UDOUBLE
2929 blas_l1_thread.c
30- blas_server_callback.c
3130 )
3231
3332 if (NOT NO_AFFINITY)
@@ -42,6 +41,7 @@ set(COMMON_SOURCES
4241 openblas_env.c
4342 openblas_get_num_procs.c
4443 openblas_get_num_threads.c
44+ blas_server_callback.c
4545)
4646
4747# these need to have NAME/CNAME set, so use GenerateNamedObjects, but don't use standard name mangling
Original file line number Diff line number Diff line change 11TOPDIR = ../..
22include ../../Makefile.system
33
4- COMMONOBJS = memory.$(SUFFIX ) xerbla.$(SUFFIX ) c_abs.$(SUFFIX ) z_abs.$(SUFFIX ) openblas_set_num_threads.$(SUFFIX ) openblas_get_num_threads.$(SUFFIX ) openblas_get_num_procs.$(SUFFIX ) openblas_get_config.$(SUFFIX ) openblas_get_parallel.$(SUFFIX ) openblas_error_handle.$(SUFFIX ) openblas_env.$(SUFFIX )
4+ COMMONOBJS = memory.$(SUFFIX ) xerbla.$(SUFFIX ) c_abs.$(SUFFIX ) z_abs.$(SUFFIX ) openblas_set_num_threads.$(SUFFIX ) openblas_get_num_threads.$(SUFFIX ) openblas_get_num_procs.$(SUFFIX ) openblas_get_config.$(SUFFIX ) openblas_get_parallel.$(SUFFIX ) openblas_error_handle.$(SUFFIX ) openblas_env.$(SUFFIX ) blas_server_callback. $( SUFFIX )
55
66# COMMONOBJS += slamch.$(SUFFIX) slamc3.$(SUFFIX) dlamch.$(SUFFIX) dlamc3.$(SUFFIX)
77
88ifdef SMP
9- COMMONOBJS += blas_server.$(SUFFIX ) divtable.$(SUFFIX ) blasL1thread.$(SUFFIX ) blas_server_callback. $( SUFFIX )
9+ COMMONOBJS += blas_server.$(SUFFIX ) divtable.$(SUFFIX ) blasL1thread.$(SUFFIX )
1010ifneq ($(NO_AFFINITY ) , 1)
1111COMMONOBJS += init.$(SUFFIX )
1212endif
Original file line number Diff line number Diff line change @@ -101,9 +101,14 @@ if (NOT USE_OPENMP)
101101set (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 )
106110endif ()
111+ endif ()
107112set (OpenBLAS_utest_src
108113 ${OpenBLAS_utest_src}
109114 test_post_fork.c
Original file line number Diff line number Diff line change 4545# FIXME TBD if this works on OSX, SunOS, POWER and zarch
4646ifeq ($(OSNAME ) , $(filter $(OSNAME ) ,Linux CYGWIN_NT) )
4747ifneq ($(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
4952endif
5053OBJS += test_post_fork.o
5154endif
You can’t perform that action at this time.
0 commit comments