forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SuiteSparse] Update and split into sub-packages (v2) (microsoft#41929)
Co-authored-by: Monica <[email protected]> Co-authored-by: Monica <[email protected]>
- Loading branch information
1 parent
f3a67b0
commit ab42fb3
Showing
77 changed files
with
1,891 additions
and
504 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
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
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
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
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
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
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 DrTimothyAldenDavis/SuiteSparse | ||
REF v7.8.3 | ||
SHA512 fc0fd0aaf55a6712a3b8ca23bf7536a31d52033e090370ebbf291f05d0e073c7dcfd991a80b037f54663f524804582b87af86522c2e4435091527f0d3c189244 | ||
HEAD_REF dev | ||
) | ||
|
||
set(PACKAGE_NAME AMD) | ||
|
||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC_LIBS) | ||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}/${PACKAGE_NAME}" | ||
DISABLE_PARALLEL_CONFIGURE | ||
OPTIONS | ||
-DBUILD_STATIC_LIBS=${BUILD_STATIC_LIBS} | ||
-DSUITESPARSE_USE_CUDA=OFF | ||
-DSUITESPARSE_USE_STRICT=ON | ||
-DSUITESPARSE_USE_FORTRAN=OFF | ||
-DSUITESPARSE_DEMOS=OFF | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_cmake_config_fixup( | ||
PACKAGE_NAME ${PACKAGE_NAME} | ||
CONFIG_PATH lib/cmake/${PACKAGE_NAME} | ||
) | ||
vcpkg_fixup_pkgconfig() | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/${PACKAGE_NAME}/Doc/License.txt") |
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,19 @@ | ||
{ | ||
"$comment": "Use scripts/update_suitesparse.py to update all SuiteSparse ports", | ||
"name": "suitesparse-amd", | ||
"version-semver": "3.3.3", | ||
"description": "AMD: Routines for permuting sparse matrices prior to factorization in SuiteSparse", | ||
"homepage": "https://people.engr.tamu.edu/davis/suitesparse.html", | ||
"license": "BSD-3-Clause", | ||
"dependencies": [ | ||
"suitesparse-config", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
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,36 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO DrTimothyAldenDavis/SuiteSparse | ||
REF v7.8.3 | ||
SHA512 fc0fd0aaf55a6712a3b8ca23bf7536a31d52033e090370ebbf291f05d0e073c7dcfd991a80b037f54663f524804582b87af86522c2e4435091527f0d3c189244 | ||
HEAD_REF dev | ||
) | ||
|
||
set(PACKAGE_NAME BTF) | ||
|
||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC_LIBS) | ||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}/${PACKAGE_NAME}" | ||
DISABLE_PARALLEL_CONFIGURE | ||
OPTIONS | ||
-DBUILD_STATIC_LIBS=${BUILD_STATIC_LIBS} | ||
-DSUITESPARSE_USE_CUDA=OFF | ||
-DSUITESPARSE_USE_STRICT=ON | ||
-DSUITESPARSE_USE_FORTRAN=OFF | ||
-DSUITESPARSE_DEMOS=OFF | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_cmake_config_fixup( | ||
PACKAGE_NAME ${PACKAGE_NAME} | ||
CONFIG_PATH lib/cmake/${PACKAGE_NAME} | ||
) | ||
vcpkg_fixup_pkgconfig() | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
||
vcpkg_install_copyright(FILE_LIST | ||
"${SOURCE_PATH}/${PACKAGE_NAME}/Doc/License.txt" | ||
"${SOURCE_PATH}/${PACKAGE_NAME}/Doc/lesser.txt" | ||
) |
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,19 @@ | ||
{ | ||
"$comment": "Use scripts/update_suitesparse.py to update all SuiteSparse ports", | ||
"name": "suitesparse-btf", | ||
"version-semver": "2.3.2", | ||
"description": "BTF: Software package for permuting a matrix into block upper triangular form in SuiteSparse", | ||
"homepage": "https://people.engr.tamu.edu/davis/suitesparse.html", | ||
"license": "LGPL-2.1-or-later", | ||
"dependencies": [ | ||
"suitesparse-config", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
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 DrTimothyAldenDavis/SuiteSparse | ||
REF v7.8.3 | ||
SHA512 fc0fd0aaf55a6712a3b8ca23bf7536a31d52033e090370ebbf291f05d0e073c7dcfd991a80b037f54663f524804582b87af86522c2e4435091527f0d3c189244 | ||
HEAD_REF dev | ||
) | ||
|
||
set(PACKAGE_NAME CAMD) | ||
|
||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC_LIBS) | ||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}/${PACKAGE_NAME}" | ||
DISABLE_PARALLEL_CONFIGURE | ||
OPTIONS | ||
-DBUILD_STATIC_LIBS=${BUILD_STATIC_LIBS} | ||
-DSUITESPARSE_USE_CUDA=OFF | ||
-DSUITESPARSE_USE_STRICT=ON | ||
-DSUITESPARSE_USE_FORTRAN=OFF | ||
-DSUITESPARSE_DEMOS=OFF | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_cmake_config_fixup( | ||
PACKAGE_NAME ${PACKAGE_NAME} | ||
CONFIG_PATH lib/cmake/${PACKAGE_NAME} | ||
) | ||
vcpkg_fixup_pkgconfig() | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/${PACKAGE_NAME}/Doc/License.txt") |
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,19 @@ | ||
{ | ||
"$comment": "Use scripts/update_suitesparse.py to update all SuiteSparse ports", | ||
"name": "suitesparse-camd", | ||
"version-semver": "3.3.3", | ||
"description": "AMD: Routines for permuting sparse matrices prior to factorization in SuiteSparse", | ||
"homepage": "https://people.engr.tamu.edu/davis/suitesparse.html", | ||
"license": "BSD-3-Clause", | ||
"dependencies": [ | ||
"suitesparse-config", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
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 DrTimothyAldenDavis/SuiteSparse | ||
REF v7.8.3 | ||
SHA512 fc0fd0aaf55a6712a3b8ca23bf7536a31d52033e090370ebbf291f05d0e073c7dcfd991a80b037f54663f524804582b87af86522c2e4435091527f0d3c189244 | ||
HEAD_REF dev | ||
) | ||
|
||
set(PACKAGE_NAME CCOLAMD) | ||
|
||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC_LIBS) | ||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}/${PACKAGE_NAME}" | ||
DISABLE_PARALLEL_CONFIGURE | ||
OPTIONS | ||
-DBUILD_STATIC_LIBS=${BUILD_STATIC_LIBS} | ||
-DSUITESPARSE_USE_CUDA=OFF | ||
-DSUITESPARSE_USE_STRICT=ON | ||
-DSUITESPARSE_USE_FORTRAN=OFF | ||
-DSUITESPARSE_DEMOS=OFF | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_cmake_config_fixup( | ||
PACKAGE_NAME ${PACKAGE_NAME} | ||
CONFIG_PATH lib/cmake/${PACKAGE_NAME} | ||
) | ||
vcpkg_fixup_pkgconfig() | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/${PACKAGE_NAME}/Doc/License.txt") |
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,19 @@ | ||
{ | ||
"$comment": "Use scripts/update_suitesparse.py to update all SuiteSparse ports", | ||
"name": "suitesparse-ccolamd", | ||
"version-semver": "3.3.4", | ||
"description": "CCOLAMD: Routines for constrained column approximate minimum degree ordering algorithm in SuiteSparse", | ||
"homepage": "https://people.engr.tamu.edu/davis/suitesparse.html", | ||
"license": "BSD-3-Clause", | ||
"dependencies": [ | ||
"suitesparse-config", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
Oops, something went wrong.