-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SuiteSparse] Update and split into sub-packages #39297
Closed
Closed
Changes from all commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
2444464
[SuiteSparse] add suitesparse-config port
valgur 92dc8cc
[SuiteSparse] add suitesparse-amd
valgur 649951e
[SuiteSparse] add suitesparse-btf
valgur b641337
[SuiteSparse] add suitesparse-camd
valgur a1e208d
[SuiteSparse] add suitesparse-ccolamd
valgur 878a670
[SuiteSparse] add suitesparse-colamd
valgur d77155e
[SuiteSparse] add suitesparse-ldl
valgur efa21a1
[SuiteSparse] add suitesparse-mongoose
valgur 9722718
[SuiteSparse] add suitesparse-rbio
valgur 1460d7b
[SuiteSparse] add suitesparse-spex
valgur 17bc751
[SuiteSparse] add suitesparse-graphblas
valgur 589394e
[SuiteSparse] add suitesparse-lagraph
valgur 6cc3b66
[SuiteSparse] add suitesparse-cholmod
valgur 9d8012a
[SuiteSparse] add suitesparse-klu
valgur ac4405d
[SuiteSparse] add suitesparse-umfpack
valgur 44b17c1
[SuiteSparse] add suitesparse-paru
valgur fc0bee4
[SuiteSparse] add suitesparse-spqr
valgur 784ad55
[SuiteSparse] add suitesparse-cxsparse
valgur 1206dbc
[SuiteSparse] fix suitesparse-ldl license installation
valgur 2691f4a
[SuiteSparse] update suitesparse meta-package
valgur 1df3ccf
[SuiteSparse] update Ceres and g2o to use specific SuiteSparse packag…
valgur 730b0ef
[SuiteSparse] fix vcpkg.json formatting
valgur af99099
[SuiteSparse] update version database
valgur f5409a3
[SuiteSparse] fix suitesparse-config fixup
valgur ebe4c93
[SuiteSparse] vdb
valgur e83bd34
[SuiteSparse] set DISABLE_PARALLEL_CONFIGURE
valgur bbfbe3b
[SuiteSparse] vdb
valgur 2983086
[SuiteSparse] disable OpenMP by default
valgur 2a70f3a
[SuiteSparse] update vdb
valgur c991831
[SuiteSparse] fix port-version
valgur 08b7fbe
[SuiteSparse] update openmp in suitesparse/vcpkg.json
valgur 20efbf0
[SuiteSparse] workaround for find_package(LAPACK) issues due to BLA_V…
valgur 336b50e
update git-tree
MonicaLiu0311 9270747
[Ceres] add compatibility with SuiteSparse v7
valgur e2d6010
[Ceres] update vdb
valgur 782adbd
[Ceres] add missing suitesparse-cxsparse dependency
valgur 89b2d51
[Ceres] update vdb
valgur cffc39f
[Ceres] fix CeresConfig.cmake.in
valgur 5869fb1
[Ceres] update vdb
valgur 4399aa3
[SuiteSparse] add missing openmp feature to lagraph
valgur 0ab5ad1
[SuiteSparse] update vdb
valgur d3f7288
[theia] add support for SuiteSparse v7
valgur b791553
[theia] update vdb
valgur c222113
[Theia] update and merge patches, drop default [viewer] from openimageio
valgur ef32e04
[Theia] update vdb
valgur 5c4e386
[SuiteSparse] handle suitesparse_mongoose tool
valgur c6d9961
[SuiteSparse] update vdb
valgur ec23261
[SuiteSparse] fix GraphBLAS JIT cache dir handling
valgur a4ff7a5
[SuiteSparse] update vdb
valgur 4a1de07
[SuiteSparse] disable complex data types for ARM android
valgur 4491d50
vdb
valgur 8db9b29
[suitesparse] fix BLAS linking on Windows
valgur caec19c
[suitesparse-cxsparse] complex is not available on MSVC
valgur 29cdfc8
[suitesparse] fix BLAS linking in components using it transitively
valgur 2325cae
vdb
valgur df5876b
[suitesparse-graphblas] disable on android
valgur a7271b8
vdb
valgur 310023a
[suitesparse-paru] MSVC OpenMP is not compatible (v2.0 < required v4.5)
valgur 1aaf2fa
[suitesparse-cxsparse] strictly disable 'complex' on Windows
valgur c8ec71d
[suitesparse] disable CUDA feature on Windows
valgur 370b36d
[suitesparse-graphblas] disable x86 Windows
valgur 451db26
[suitesparse] fix vcpkg.json formatting
valgur 01fd771
vdb
valgur f76d0b1
[suitesparse-cxsparse] don't enable 'complex' on Windows
valgur 64819b0
[suitesparse] fix 'cuda' feature support
valgur 672661d
vdb
valgur fdfddc8
[colmap] add a missing METIS dependency
valgur 5c539dd
vdb
valgur dcf89d5
[suitesparse-graphblas] add x86-windows to ci.baseline.txt
valgur dca3134
Bump port-versions
valgur acc8bc3
update vdb
valgur 4bc8192
Merge remote-tracking branch 'refs/remotes/origin/master' into update…
valgur 8e4c6ec
CI
valgur 0069271
Merge remote-tracking branch 'origin/master' into update/suitesparse
valgur f18bcb8
vdb
valgur a7e377b
[suitesparse-graphblas] only supported on x64 for windows
valgur 63222ff
vdb
valgur eb239f2
[SuiteSparse] update to v7.8.1
valgur ac7fd50
vdb
valgur b3722e8
[suitesparse-spqr] add a missing 'supernodal' requirement for cholmod
valgur 5bcb8b4
vdb
valgur 75ccb70
[ceres] require matrixops feature from cholmod
valgur dd86272
vdb
valgur 6caed0d
[suitesparse-graphblas] move failures from "supports" to ci.baseline.txt
valgur 61749a9
vdb
valgur 311ce89
fix ceres vdb
valgur f3a86f6
fix g2o vdb
valgur b867d2d
[suitesparse-graphblas] adjust "supports"
valgur 4d65cd3
vdb
valgur b6c5da3
[g2o] disable use of vendored CSparse
valgur 5c86dd0
vdb
valgur 1eb2f67
Merge branch 'master' of https://github.com/microsoft/vcpkg into upda…
b16ed70
[SuiteSparse] add update_suitesparse.py script
valgur 4efaf5d
[SuiteSparse] update to v7.8.2
valgur b37eb81
[SuiteSparse] use lower-case `share/suitesparse` subdir
valgur b3aa137
vdb
valgur f58ac5d
[theia] drop REQUIRED from `find_dependency(Ceres REQUIRED)`
valgur 99dcf8a
vdb
valgur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
https://github.com/ceres-solver/ceres-solver/commit/9cca671273c2f205ca7350422f48b7b119c5dd78 | ||
|
||
Enable compatibility with SuiteSparse 7.2.0 | ||
|
||
--- a/internal/ceres/covariance_impl.cc | ||
+++ b/internal/ceres/covariance_impl.cc | ||
@@ -630,7 +630,7 @@ | ||
// separately. | ||
const SuiteSparse_long rank = SuiteSparseQR<double>(SPQR_ORDERING_BESTAMD, | ||
SPQR_DEFAULT_TOL, | ||
- cholmod_jacobian.ncol, | ||
+ static_cast<int64_t>(cholmod_jacobian.ncol), | ||
&cholmod_jacobian, | ||
&R, | ||
&permutation, |
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.1 | ||
valgur marked this conversation as resolved.
Show resolved
Hide resolved
|
||
SHA512 d07709ad8567e5fe954f04d0c38a95a5610394aaa5ff5c809518c378b937d20556114b95c9dc052b316c8e8fcbb2eca294b425b21e8bbfa5c04f72c6f15a5eb6 | ||
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 the suitesparse/update_suitesparse.py script 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.1 | ||
SHA512 d07709ad8567e5fe954f04d0c38a95a5610394aaa5ff5c809518c378b937d20556114b95c9dc052b316c8e8fcbb2eca294b425b21e8bbfa5c04f72c6f15a5eb6 | ||
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 the suitesparse/update_suitesparse.py script 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.1 | ||
SHA512 d07709ad8567e5fe954f04d0c38a95a5610394aaa5ff5c809518c378b937d20556114b95c9dc052b316c8e8fcbb2eca294b425b21e8bbfa5c04f72c6f15a5eb6 | ||
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 the suitesparse/update_suitesparse.py script 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.1 | ||
SHA512 d07709ad8567e5fe954f04d0c38a95a5610394aaa5ff5c809518c378b937d20556114b95c9dc052b316c8e8fcbb2eca294b425b21e8bbfa5c04f72c6f15a5eb6 | ||
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") |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a change request, I'm just curious as to how "transparent" these changes are:
find_package(suitesparse CONFIG REQUIRED)
and do thefind_package
updates in a follow-up PR?