Skip to content

Commit

Permalink
XPMEM: patch configury and include missing header
Browse files Browse the repository at this point in the history
  • Loading branch information
davidozog committed Jun 5, 2024
1 parent c2b8baa commit 5c5f72f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ else
transport_portals4="no"
transport_ofi="no"
transport_ucx="no"
AC_MSG_WARN([No transport requested])
AC_MSG_WARN([No network transport requested])
fi

AM_CONDITIONAL([USE_PORTALS4], [test "$transport_portals4" = "yes"])
Expand Down Expand Up @@ -521,6 +521,7 @@ elif test -n "$enable_mmap" -a "$enable_mmap" != "no" ; then
elif test -n "$with_xpmem" -a "$with_xpmem" != "no" ; then
transport_mmap="no"
transport_cma="no"
AC_DEFINE([USE_XPMEM], [1], [Define if XPMEM transport is active])
elif test -n "$with_cma" -a "$with_cma" != "no" ; then
transport_mmap="no"
transport_xpmem="no"
Expand Down Expand Up @@ -1019,7 +1020,7 @@ AS_IF([test "$enable_pmi_mpi" != "yes" -a "$enable_pmi_simple" != "yes" -a "$opa
[AC_MSG_ERROR([No PMI client interface was configured, consider --enable-pmi-simple or --with-pmi])])

AS_IF([test -z "$num_transports"],
[AC_MSG_WARN([No transport found, resulting library will be unable to exchange messages])])
[AC_MSG_WARN([No network transport found, library will be unable to exchange remote messages])])

AS_IF([test "$shmem_cv_c11_works" != "yes"],
[AC_MSG_WARN([C compiler does not support _Generic, unable to verify and test C11 bindings])])
Expand Down
1 change: 1 addition & 0 deletions src/transport_xpmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include "shmem_internal.h"
#include "shmem_comm.h"
#include "runtime.h"
#include "transport_xpmem.h"

struct share_info_t {
xpmem_segid_t data_seg;
Expand Down

0 comments on commit 5c5f72f

Please sign in to comment.