mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 22:09:00 +08:00
50309c8a89
This small PR adds a default feature `schur` to control the `SCHUR_SPECIALIZATIONS` option in Ceres. It remains on by default. As described briefly in the [documentation](http://ceres-solver.org/installation.html#options-controlling-ceres-configuration), `SCHUR_SPECIALIZATIONS` enables some template specializations which improve runtime performance of the `SPARSE_SCHUR` solver, but it requires a large number of explicit instantiations and generates large object files—large enough to require `/bigobj` in MSVC. This can cause issues with some compilers particularly in constrained environments. - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] ~~SHA512s are updated for each updated download.~~ - [ ] ~~The "supports" clause reflects platforms that may be fixed by this new version.~~ - [ ] ~~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~~ - [ ] ~~Any patches that are no longer applied are deleted from the port's directory.~~ - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
77 lines
1.6 KiB
JSON
77 lines
1.6 KiB
JSON
{
|
|
"name": "ceres",
|
|
"version": "2.1.0",
|
|
"port-version": 5,
|
|
"description": "non-linear optimization package",
|
|
"homepage": "https://github.com/ceres-solver/ceres-solver",
|
|
"license": "Apache-2.0",
|
|
"dependencies": [
|
|
"eigen3",
|
|
{
|
|
"name": "glog",
|
|
"platform": "!(arm & uwp)"
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
],
|
|
"features": {
|
|
"cuda": {
|
|
"description": "Support for CUDA based dense solvers",
|
|
"supports": "linux | (!osx & !uwp & !(arm64 & windows))",
|
|
"dependencies": [
|
|
"cuda"
|
|
]
|
|
},
|
|
"cxsparse": {
|
|
"description": "CXSparse support for Ceres",
|
|
"dependencies": [
|
|
{
|
|
"name": "ceres",
|
|
"features": [
|
|
"suitesparse"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"eigensparse": {
|
|
"description": "Use of Eigen as a sparse linear algebra library in Ceres"
|
|
},
|
|
"lapack": {
|
|
"description": "Use Lapack in Ceres",
|
|
"dependencies": [
|
|
"lapack"
|
|
]
|
|
},
|
|
"schur": {
|
|
"description": "Enable fixed-size Schur specializations in Ceres"
|
|
},
|
|
"suitesparse": {
|
|
"description": "SuiteSparse support for Ceres",
|
|
"dependencies": [
|
|
{
|
|
"name": "ceres",
|
|
"features": [
|
|
"lapack"
|
|
]
|
|
},
|
|
{
|
|
"name": "suitesparse",
|
|
"default-features": false
|
|
}
|
|
]
|
|
},
|
|
"tools": {
|
|
"description": "Ceres tools",
|
|
"dependencies": [
|
|
"gflags"
|
|
]
|
|
}
|
|
}
|
|
}
|