mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +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")
|
string(APPEND VCPKG_CXX_FLAGS " -DGRAPHMATCHNOTHREAD")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||||
|
FEATURES
|
||||||
|
ptscotch BUILD_PTSCOTCH
|
||||||
|
)
|
||||||
|
|
||||||
vcpkg_cmake_configure(
|
vcpkg_cmake_configure(
|
||||||
SOURCE_PATH "${SOURCE_PATH}"
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
OPTIONS
|
OPTIONS ${FEATURE_OPTIONS}
|
||||||
-DBUILD_PTSCOTCH=OFF # Requires MPI
|
|
||||||
-DBUILD_LIBESMUMPS=OFF
|
-DBUILD_LIBESMUMPS=OFF
|
||||||
-DBUILD_LIBSCOTCHMETIS=OFF
|
-DBUILD_LIBSCOTCHMETIS=OFF
|
||||||
-DTHREADS=ON
|
-DTHREADS=ON
|
||||||
@ -45,6 +49,10 @@ vcpkg_copy_tools(TOOL_NAMES
|
|||||||
AUTO_CLEAN
|
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")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/doc/CeCILL-C_V1-en.txt")
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/doc/CeCILL-C_V1-en.txt")
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "scotch",
|
"name": "scotch",
|
||||||
"version": "7.0.5",
|
"version": "7.0.5",
|
||||||
|
"port-version": 1,
|
||||||
"description": "Scotch: a software package for graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering",
|
"description": "Scotch: a software package for graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering",
|
||||||
"homepage": "https://gitlab.inria.fr/scotch/scotch",
|
"homepage": "https://gitlab.inria.fr/scotch/scotch",
|
||||||
"license": null,
|
"license": null,
|
||||||
@ -18,5 +19,13 @@
|
|||||||
"host": true
|
"host": true
|
||||||
},
|
},
|
||||||
"zlib"
|
"zlib"
|
||||||
|
],
|
||||||
|
"features": {
|
||||||
|
"ptscotch": {
|
||||||
|
"description": "Build PT-Scotch",
|
||||||
|
"dependencies": [
|
||||||
|
"mpi"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -8174,7 +8174,7 @@
|
|||||||
},
|
},
|
||||||
"scotch": {
|
"scotch": {
|
||||||
"baseline": "7.0.5",
|
"baseline": "7.0.5",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"scottt-debugbreak": {
|
"scottt-debugbreak": {
|
||||||
"baseline": "1.0",
|
"baseline": "1.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "ac6bd42f55d0f52fc7dd0ab144ea4c058e663b92",
|
||||||
|
"version": "7.0.5",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "6894afdfdbdbe1e142bb42d4d0894ecc37bca0ab",
|
"git-tree": "6894afdfdbdbe1e142bb42d4d0894ecc37bca0ab",
|
||||||
"version": "7.0.5",
|
"version": "7.0.5",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user