mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[scotch] Add ptscotch support (#42465)
This commit is contained in:
parent
a02df3dc73
commit
ca9f57ba4f
@ -25,10 +25,14 @@ if(VCPKG_TARGET_IS_WINDOWS)
|
||||
string(APPEND VCPKG_CXX_FLAGS " -DGRAPHMATCHNOTHREAD")
|
||||
endif()
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
ptscotch BUILD_PTSCOTCH
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_PTSCOTCH=OFF # Requires MPI
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
-DBUILD_LIBESMUMPS=OFF
|
||||
-DBUILD_LIBSCOTCHMETIS=OFF
|
||||
-DTHREADS=ON
|
||||
@ -45,6 +49,10 @@ vcpkg_copy_tools(TOOL_NAMES
|
||||
AUTO_CLEAN
|
||||
)
|
||||
|
||||
if ("ptscotch" IN_LIST FEATURES)
|
||||
vcpkg_copy_tools(TOOL_NAMES dggath dgmap dgord dgscat dgtst AUTO_CLEAN)
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/doc/CeCILL-C_V1-en.txt")
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "scotch",
|
||||
"version": "7.0.5",
|
||||
"port-version": 1,
|
||||
"description": "Scotch: a software package for graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering",
|
||||
"homepage": "https://gitlab.inria.fr/scotch/scotch",
|
||||
"license": null,
|
||||
@ -18,5 +19,13 @@
|
||||
"host": true
|
||||
},
|
||||
"zlib"
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"ptscotch": {
|
||||
"description": "Build PT-Scotch",
|
||||
"dependencies": [
|
||||
"mpi"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8174,7 +8174,7 @@
|
||||
},
|
||||
"scotch": {
|
||||
"baseline": "7.0.5",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"scottt-debugbreak": {
|
||||
"baseline": "1.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ac6bd42f55d0f52fc7dd0ab144ea4c058e663b92",
|
||||
"version": "7.0.5",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "6894afdfdbdbe1e142bb42d4d0894ecc37bca0ab",
|
||||
"version": "7.0.5",
|
||||
|
Loading…
x
Reference in New Issue
Block a user