Skip to content

Commit

Permalink
fabtests: Add option for conditionally building lpp
Browse files Browse the repository at this point in the history
Add --enable-lpp option to configure. Default on.
This is to turn it off for CI that doesn't need to build this
provider.

Signed-off-by: Zach Dworkin <zachary.dworkin@intel.com>
  • Loading branch information
zachdworkin authored and j-xiong committed Oct 2, 2024
1 parent 48a5da0 commit c410477
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fabtests/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ AC_ARG_ENABLE([efa],

AM_CONDITIONAL([ENABLE_EFA], [test x"$enable_efa" = x"yes"])

AC_ARG_ENABLE([lpp],
[AS_HELP_STRING([--enable-lpp],
[Enable lpp provider specific tests - default YES])],
[], [enable_lpp=yes])

AM_CONDITIONAL([ENABLE_LPP], [test x"$enable_lpp" = x"yes"])

AC_DEFUN([FI_ARG_ENABLE_SANITIZER],[
AC_ARG_ENABLE([$1],
[AS_HELP_STRING([--enable-$1],
Expand Down
4 changes: 4 additions & 0 deletions fabtests/prov/lpp/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
# SOFTWARE.
#

if ENABLE_LPP

LPP_REGRESSION_SRCS = prov/lpp/src/rcq_data.c \
prov/lpp/src/main.c \
prov/lpp/src/ipc.c \
Expand Down Expand Up @@ -64,3 +66,5 @@ endif

prov_lpp_src_lpp_regression_SOURCES = $(LPP_REGRESSION_SRCS)
prov_lpp_src_lpp_regression_LDADD = libfabtests.la

endif ENABLE_LPP

0 comments on commit c410477

Please sign in to comment.