Skip to content

Commit

Permalink
Merge pull request #502 from chuckatkins/update-sst-deps
Browse files Browse the repository at this point in the history
Update sst deps
  • Loading branch information
eisenhauer authored Mar 26, 2018
2 parents 0dabbd1 + fb050aa commit 04ca81d
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 19 deletions.
33 changes: 20 additions & 13 deletions thirdparty/EVPath/EVPath/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,19 +258,26 @@ endif()
set(RUN_IB_TESTS FALSE)
CHECK_LIBRARY_EXISTS(ibverbs ibv_create_qp "" HAVE_IBVERBS)
if(HAVE_IBVERBS)
message(STATUS "Check for enough rlimit to run IB tests")
file(READ "${CMAKE_SOURCE_DIR}/cmake/GOOD_MEMLOCK_LIMIT.c" _SOURCE)
CHECK_C_SOURCE_RUNS("${_SOURCE}" GOOD_MEMLOCK_LIMIT)
if(GOOD_MEMLOCK_LIMIT)
message(STATUS
"Check for large enough MEMLOCK rlimit to run IB tests - yes" )
set(RUN_IB_TESTS TRUE)
set(RUN_NNTI_TESTS FALSE)
else()
message(STATUS "Check for large enough MEMLOCK rlimit to run IB tests - no")
message(WARNING
"Building InfiniBand transport, but current RLIMIT_MEMLOCK value "
"will prevent successful runs. Not running IB transport tests.")
if(BUILD_TESTING)
if(NOT CMAKE_CROSSCOMPILING)
message(STATUS "Check for enough rlimit to run IB tests")
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/GOOD_MEMLOCK_LIMIT.c" _SOURCE)
CHECK_C_SOURCE_RUNS("${_SOURCE}" GOOD_MEMLOCK_LIMIT)
if(GOOD_MEMLOCK_LIMIT)
message(STATUS
"Check for large enough MEMLOCK rlimit to run IB tests - yes" )
set(RUN_IB_TESTS TRUE)
set(RUN_NNTI_TESTS FALSE)
else()
message(STATUS "Check for large enough MEMLOCK rlimit to run IB tests - no")
message(WARNING
"Building InfiniBand transport, but current RLIMIT_MEMLOCK value "
"will prevent successful runs. Not running IB transport tests.")
endif()
else()
set(RUN_IB_TESTS TRUE)
set(RUN_NNTI_TESTS FALSE)
endif()
endif()

if(EVPATH_TRANSPORT_MODULES)
Expand Down
4 changes: 2 additions & 2 deletions thirdparty/EVPath/EVPath/mtests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ if(MPI_FOUND)
target_compile_options(mpi_trans_test PRIVATE ${MPI_C_COMPILE_FLAGS})
target_link_libraries(mpi_trans_test evpath atl::atl ${MPI_C_LIBRARIES})
target_include_directories(mpi_trans_test PRIVATE ${MPI_C_INCLUDE_PATH})
target_compile_defintions(mpi_trans_test PRIVATE BUILD_WITH_MPI=1)

target_compile_defintion(mpi_trans_test PRIVATE BUILD_WITH_MPI=1)
endif()

configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/transport_test.pl
${CMAKE_CURRENT_BINARY_DIR}/transport_test.pl
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/EVPath/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readonly name="EVPath"
readonly ownership="EVPath Upstream <robot@adios2>"
readonly subtree="thirdparty/EVPath/EVPath"
readonly repo="https://github.com/GTkorvo/EVPath.git"
readonly tag="adios2"
readonly tag="master"
readonly shortlog="true"
readonly paths="
"
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/atl/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readonly name="atl"
readonly ownership="atl Upstream <robot@adios2>"
readonly subtree="thirdparty/atl/atl"
readonly repo="https://github.com/GTkorvo/atl.git"
readonly tag="adios2"
readonly tag="master"
readonly shortlog="true"
readonly paths="
"
Expand Down
7 changes: 6 additions & 1 deletion thirdparty/dill/dill/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ ENDIF (LIBFFI_FOUND)
option(DILL_ENABLE_DISASSEMBLY
"enable binutils-based disassembly (default is OFF)" OFF)

set (ARCHITECTURES sparc powerpc ppc64le virtual x86 x86_64 ia64 arm5 arm6 arm7 arm8)
set (ARCHITECTURES sparc powerpc ppc64le virtual x86 x86_64 ia64 arm5 arm6 arm8)
foreach(_arch ${ARCHITECTURES})
add_custom_command(
OUTPUT "dill_${_arch}.c"
Expand All @@ -215,6 +215,11 @@ elseif(NOT "${NATIVE_ARCH}" STREQUAL "UNSUPPORTED")
list(APPEND SRC_LIST dill_${ARCH_FILE}.c ${ARCH_FILE}.c ${ARCH_FILE}_rt.c)
endif()

# The MULTI_TARGET variable is only used to generate the preprocessor symbol
# in config.h. Use the DIL_MULTI_CONFIG option variable for all associated
# logic in the build.
set(MULTI_TARGET ${DILL_MULTI_TARGET})

if(DILL_MULTI_TARGET OR NATIVE_CG OR EMULATION_POSSIBLE)
if (EMULATION_POSSIBLE)
set (EMU_LIB ${LIBFFI_LIBRARY})
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/ffs/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readonly name="ffs"
readonly ownership="ffs Upstream <robot@adios2>"
readonly subtree="thirdparty/ffs/ffs"
readonly repo="https://github.com/GTkorvo/ffs.git"
readonly tag="adios2"
readonly tag="master"
readonly shortlog="true"
readonly paths="
"
Expand Down

0 comments on commit 04ca81d

Please sign in to comment.