Skip to content
Snippets Groups Projects
Commit 545a4ece authored by Eric Mei's avatar Eric Mei
Browse files

liblustre:

 - don't build mpi programs by default, as Bob's suggestion
parent 9561e561
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,10 @@ else ...@@ -45,6 +45,10 @@ else
fi fi
AC_SUBST(SYSIO) AC_SUBST(SYSIO)
#build mpi-tests
AC_ARG_ENABLE(mpitests, [ --enable-mpitests disable build liblustre mpi tests])
AM_CONDITIONAL(MPITESTS, test x$enable_mpitests = xyes, Build MPI Tests)
# snap compilation # snap compilation
AC_ARG_ENABLE(snapfs, [ --enable-snapfs build snapfs]) AC_ARG_ENABLE(snapfs, [ --enable-snapfs build snapfs])
AM_CONDITIONAL(SNAPFS, test x$enable_snapfs = xyes) AM_CONDITIONAL(SNAPFS, test x$enable_snapfs = xyes)
......
...@@ -15,8 +15,13 @@ LLIB_EXEC= ../liblustre.a -lpthread ...@@ -15,8 +15,13 @@ LLIB_EXEC= ../liblustre.a -lpthread
noinst_LIBRARIES = libtestcommon.a noinst_LIBRARIES = libtestcommon.a
libtestcommon_a_SOURCES = test_common.c libtestcommon_a_SOURCES = test_common.c
bin_PROGRAMS = echo_test sanity recovery_small replay_single test_lock_cancel \ def_tests = echo_test sanity recovery_small replay_single replay_ost_single
replay_ost_single
if MPITESTS
bin_PROGRAMS = $(def_tests) test_lock_cancel
else
bin_PROGRAMS = $(def_tests)
endif
echo_test_SOURCES = echo_test.c ../../utils/parser.c ../../utils/obd.c ../../utils/lustre_cfg.c echo_test_SOURCES = echo_test.c ../../utils/parser.c ../../utils/obd.c ../../utils/lustre_cfg.c
echo_test_LDADD = ../liblsupport.a $(LIBREADLINE) -lpthread echo_test_LDADD = ../liblsupport.a $(LIBREADLINE) -lpthread
...@@ -34,12 +39,14 @@ replay_single_SOURCES = replay_single.c ...@@ -34,12 +39,14 @@ replay_single_SOURCES = replay_single.c
replay_single_LDADD := ./libtestcommon.a $(LLIB_EXEC) replay_single_LDADD := ./libtestcommon.a $(LLIB_EXEC)
replay_single_DEPENDENCIES = $(top_srcdir)/liblustre/liblustre.a replay_single_DEPENDENCIES = $(top_srcdir)/liblustre/liblustre.a
test_lock_cancel_SOURCES = test_lock_cancel.c
test_lock_cancel_LDADD := $(LLIB_EXEC) -lmpi -llam
replay_ost_single_SOURCES = replay_ost_single.c replay_ost_single_SOURCES = replay_ost_single.c
replay_ost_single_LDADD := ./libtestcommon.a $(LLIB_EXEC) replay_ost_single_LDADD := ./libtestcommon.a $(LLIB_EXEC)
replay_ost_single_DEPENDENCIES = $(top_srcdir)/liblustre/liblustre.a replay_ost_single_DEPENDENCIES = $(top_srcdir)/liblustre/liblustre.a
if MPITESTS
test_lock_cancel_SOURCES = test_lock_cancel.c
test_lock_cancel_LDADD := $(LLIB_EXEC) -lmpi -llam
endif
include $(top_srcdir)/Rules include $(top_srcdir)/Rules
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment