Skip to content

Commit

Permalink
EVPATH upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer committed Mar 29, 2024
1 parent 7bb7dc8 commit ada29d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions thirdparty/EVPath/EVPath/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ if (MSVC)
set(EVPATH_USE_ZPL_ENET FALSE)
endif()
if(NOT (DEFINED EVPATH_USE_ZPL_ENET))
option(EVPATH_USE_ZPL_ENET "Build the enet transport" "OFF")
option(EVPATH_USE_ZPL_ENET "Build the zplenet transport" "OFF")
endif()
if(EVPATH_USE_ZPL_ENET)
set(RUN_ZPL_ENET_TESTS TRUE)
Expand Down Expand Up @@ -447,7 +447,7 @@ else()
option(EVPATH_USE_LIBFABRIC "Build the libfabric transport"
${LIBFABRIC_FOUND})
endif()
if(LIBFABRIC_FOUND)
if(LIBFABRIC_FOUND AND NOT EVPATH_NO_RDMA)
if(EVPATH_TRANSPORT_MODULES)
add_library(cmfabric MODULE cmfabric.c ip_config.c)
set_target_properties(cmfabric PROPERTIES
Expand Down Expand Up @@ -485,7 +485,7 @@ else()
option(EVPATH_USE_IBVERBS "Build the libfabric transport" ${IBVERBS_FOUND})
endif()
set(HAVE_IBVERBS ${IBVERBS_FOUND})
if(IBVERBS_FOUND)
if(IBVERBS_FOUND AND NOT EVPATH_NO_RDMA)
if(BUILD_TESTING)
if(NOT CMAKE_CROSSCOMPILING)
message(STATUS "Check MEMLOCK rlimit for IB tests")
Expand Down Expand Up @@ -548,7 +548,7 @@ if(IBVERBS_FOUND)
find_package(NNTI)
option(EVPATH_USE_NNTI "Build the nnti transport" ${NNTI_FOUND})
endif()
if(NNTI_FOUND)
if(NNTI_FOUND AND NOT EVPATH_NO_RDMA)
if(CercsArch STREQUAL "ppc64")
set(RUN_NNTI_TESTS FALSE)
endif()
Expand All @@ -571,7 +571,7 @@ if(IBVERBS_FOUND)
endif()
endif()
else()
set(EVPATH_USE_NNTI FALSE "Build the nnti transport" FORCE)
set(EVPATH_USE_NNTI FALSE CACHE INTERNAL "Build the nnti transport" FORCE)
endif()

# Install extra find module dependencies
Expand Down

0 comments on commit ada29d3

Please sign in to comment.