Skip to content

Commit

Permalink
[configure] bugfix for --enable/disable-rdmem feature
Browse files Browse the repository at this point in the history
Description:

MSTFlint port needed: yes
Tested OS:
Tested devices:
Tested flows:

Known gaps (with RM ticket):

Issue: 3658066
  • Loading branch information
alonStr authored and ogalbxela committed Nov 8, 2023
1 parent fdc4ed9 commit ff014c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ AC_ARG_ENABLE(rdmem,
AC_MSG_RESULT($enable_rdmem)
if test "x$enable_rdmem" = "xyes"; then
AC_CHECK_HEADERS(infiniband/mlx5dv.h infiniband/verbs.h,,AC_MSG_ERROR([cannot find infiniband/mlx5dv.h or infiniband/verbs.h . Use --disable-rdmem to remove this dependency]))
MAD_IFC="mad_ifc"
else
CXXFLAGS="$CXXFLAGS -DNO_RDMEM"
CFLAGS="$CFLAGS -DNO_RDMEM"
Expand Down Expand Up @@ -493,8 +492,8 @@ AC_SUBST(LINUX_KERNEL_INCLUDE)
# crashes during runtime with:
# terminate called after throwing an instance of 'std::regex_error'
# what(): regex_error
# For those we resort to using boost::regex as a fallback.
AC_MSG_CHECKING([Check for std::regex compatibility])
# For those we resort to using GNU C regex as a fallback.
AC_MSG_CHECKING([for std::regex compatibility])
AC_LANG_PUSH([C++])
AC_RUN_IFELSE([
AC_LANG_PROGRAM(
Expand Down

0 comments on commit ff014c1

Please sign in to comment.