-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
close #4
- Loading branch information
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO iowarp/cte-hermes-shm | ||
REF "98c368e98d948e4f6e2fc74e48ddb7161c505eed" | ||
SHA512 83b9253b2172587ac60a75f1501417d42bc0fe7045291a66aad1bb196eb7ff26d67cdd8fafce8fbeb412decd52d82a9df7fefed227a5eb8bcf212c058520bf60 | ||
HEAD_REF main | ||
) | ||
|
||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
FEATURES | ||
bench BUILD_HSHM_BENCHMARKS | ||
boost BUILD_Boost_TESTS | ||
cereal HERMES_ENABLE_CEREAL | ||
coverage HERMES_ENABLE_COVERAGE | ||
doxygen HERMES_ENABLE_DOXYGEN | ||
elf HERMES_USE_ELF | ||
mpi BUILD_MPI_TESTS | ||
openmp BUILD_OpenMP_TESTS | ||
pthread HERMES_PTHREADS_ENABLED | ||
shared BUILD_SHARED_LIBS | ||
test BUILD_HSHM_TESTS | ||
thallium HERMES_RPC_THALLIUM | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
${FEATURE_OPTIONS} | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"name": "cte-hermes-shm", | ||
"version": "1.1.0", | ||
"homepage": "https://grc.iit.edu/cte-hermes-shm/", | ||
"description": "This library contains a variety of data structures and synchronization primitives which are compatible with shared memory.", | ||
"license": "BSD-3-Clause", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
"catch2" | ||
], | ||
"default-features": ["bench","boost","cereal","doxygen","elf","mpi","openmp","pthread","shared","test","thallium"], | ||
"features": { | ||
"bench": { | ||
"description": "Build benchmarks" | ||
}, | ||
"boost": { | ||
"description": "Build Boost tests", | ||
"dependencies": ["boost"] | ||
}, | ||
"cereal": { | ||
"description": "Enable serialization using cereal", | ||
"dependencies": ["cereal"] | ||
}, | ||
"coverage": { | ||
"description": "Check how well tests cover code" | ||
}, | ||
"doxygen": { | ||
"description": "Check how well the code is documented" | ||
}, | ||
"elf": { | ||
"description": "Enable ELF" | ||
}, | ||
"mpi": { | ||
"description": "Build MPI tests", | ||
"dependencies": ["mpi"] | ||
}, | ||
"openmp": { | ||
"description": "Build OpenMP tests" | ||
}, | ||
"pthread": { | ||
"description": "Support spawning pthreads" | ||
}, | ||
"shared": { | ||
"description": "Build shared libraries" | ||
}, | ||
"test": { | ||
"description": "Build tests" | ||
}, | ||
"thallium": { | ||
"description": "Test with Thallium", | ||
"dependencies": ["thallium"] | ||
} | ||
} | ||
} |