Skip to content

Commit

Permalink
fabtests: Make building efa conditional
Browse files Browse the repository at this point in the history
Add --enable-efa argument to fabtests to disable efa building.
Default is enabled. This is to disable efa for Intel CI.

Signed-off-by: Zach Dworkin <zachary.dworkin@intel.com>
  • Loading branch information
zachdworkin authored and j-xiong committed Oct 2, 2024
1 parent 92f2058 commit 48a5da0
Show file tree
Hide file tree
Showing 2 changed files with 9 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 @@ -54,6 +54,13 @@ AS_IF([test x"$enable_debug" != x"no"],
AC_DEFINE_UNQUOTED([ENABLE_DEBUG], [$dbg],
[defined to 1 if configured with --enable-debug])

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

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

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

if ENABLE_EFA
bin_PROGRAMS += prov/efa/src/fi_efa_rnr_read_cq_error \
prov/efa/src/fi_efa_rnr_queue_resend \
prov/efa/src/fi_efa_info_test
Expand Down Expand Up @@ -77,3 +78,4 @@ prov_efa_src_fi_efa_rdma_checker_LDFLAGS = -lefa
endif BUILD_EFA_RDMA_CHECKER

endif HAVE_VERBS_DEVEL
endif ENABLE_EFA

0 comments on commit 48a5da0

Please sign in to comment.