spack/var/spack/repos/builtin/packages/faodel/faodel_mpi.patch
Todd Kordenbrock dd3573b78d FAODEL: Add FAODEL package to spack (#11323)
* FAODEL: Add FAODEL package to spack

FAODEL (Flexible, Asynchronous, Object Data-Exchange Libraries) is a collection
of software libraries that are used to implement different data management
services on high-performance computing (HPC) platforms. This project is part of
the Advanced Technology Development and Mitigation (ATDM) effort for NNSA's ASC
program at Sandia National Laboratories.

(cherry picked from commit 6afe045d25)

* FAODEL: Update FAODEL package

  Dependencies: set minimum versions for boost, cmake and libfabric
  Dependencies: add conflict for boost v1.59.0
  Patch: add a patch for v1.1803.1
  Patch: add a when= for the v1.1811.1 specific patches
  Compiler: check for C++11 support in gcc

(cherry picked from commit fb6ed2b3cf20d7e4fff647cba5a70887a78f627f)

* FAODEL: Update FAODEL package

  * replace previous maintainers with @tkordenbrock and @craigulmer
  * default to shared libs to meet Spack policy
  * increase min boost version to 1.60.0 and remove boost 1.59.0 conflict
  * replace complex version check with conflict for gcc <= 4.8.0 (C++11 support required)
  * set type=build for cmake
  * enable googletest for all versions with type=build
  * enable tests for for all versions except when MPI is disabled

* FAODEL: Update FAODEL package

  * add version v1.1811.2
  * limit comment line length
2019-05-06 13:44:32 -04:00

69 lines
1.9 KiB
Diff

diff --git a/src/kelpie/CMakeLists.txt b/src/kelpie/CMakeLists.txt
index f2e8ef6..7f957a7 100644
--- a/src/kelpie/CMakeLists.txt
+++ b/src/kelpie/CMakeLists.txt
@@ -36,7 +36,7 @@ set( HEADERS
pools/DHTPool/DHTPool.hh
pools/PoolRegistry.hh
pools/UnconfiguredPool/UnconfiguredPool.hh
- services/PoolServerDriver.hh
+
)
set( SOURCES
@@ -67,12 +67,17 @@ set( SOURCES
pools/PoolBase.cpp
pools/PoolRegistry.cpp
pools/UnconfiguredPool/UnconfiguredPool.cpp
- services/PoolServerDriver.cpp
)
if( Faodel_ENABLE_MPI_SUPPORT )
- LIST( APPEND HEADERS pools/RFTPool/RFTPool.hh)
- LIST( APPEND SOURCES pools/RFTPool/RFTPool.cpp)
+ LIST( APPEND HEADERS
+ pools/RFTPool/RFTPool.hh
+ services/PoolServerDriver.hh
+ )
+ LIST( APPEND SOURCES
+ pools/RFTPool/RFTPool.cpp
+ services/PoolServerDriver.cpp
+ )
endif( Faodel_ENABLE_MPI_SUPPORT )
diff --git a/tools/kelpie-server/CMakeLists.txt b/tools/kelpie-server/CMakeLists.txt
index 57f8a81..d05337b 100644
--- a/tools/kelpie-server/CMakeLists.txt
+++ b/tools/kelpie-server/CMakeLists.txt
@@ -1,15 +1,16 @@
+if( Faodel_ENABLE_MPI_SUPPORT )
+ set(
+ SOURCES
+ kelpie_server_main.cpp
+ )
-set(
- SOURCES
- kelpie_server_main.cpp
-)
+ add_executable( kelpie-server ${SOURCES} )
+ set_target_properties( kelpie-server PROPERTIES LINKER_LANGUAGE CXX )
-add_executable( kelpie-server ${SOURCES} )
-set_target_properties( kelpie-server PROPERTIES LINKER_LANGUAGE CXX )
+ target_link_libraries( kelpie-server kelpie) #Faodel::kelpie )
-target_link_libraries( kelpie-server kelpie) #Faodel::kelpie )
-
-install(TARGETS kelpie-server
- EXPORT faodelTargets
- RUNTIME DESTINATION "${BINARY_INSTALL_DIR}" COMPONENT bin
- )
\ No newline at end of file
+ install(TARGETS kelpie-server
+ EXPORT faodelTargets
+ RUNTIME DESTINATION "${BINARY_INSTALL_DIR}" COMPONENT bin
+ )
+endif()