Commit Graph

33 Commits

Author SHA1 Message Date
John Buonagurio
50309c8a89
[ceres] Add feature schur (#36792)
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.
2024-02-27 00:44:07 -08:00
Aleksi Sapon
f648140dbc
[ceres] Fix missing iOS deployment target (#29432) 2023-02-03 18:36:30 -08:00
Adolfo Solis
9eb19776b0
[ceres] Use ceres without gflags for [arm-uwp] build (#26434)
* Use Cmake without gflash for UWP-ARM64 build

* Merge branch 'master' of https://github.com/Microsoft/vcpkg

* Update version database

* Added glog dependencie for not uwp platforms

* Formatted vcpkg.json

* Updated version

* Added MINIGLOG Feature in uwp

* Update version database

* Changed platform support for glog

* Update version database

Co-authored-by: Adolfo Solis <asolis@polyworksmexico.com>
2022-08-24 08:59:33 -07:00
Frank
dc2b45330b
[ceres]update SHA512 (#24156)
* update hash

* update version

* update feature cuda description

* overwrite version
2022-04-20 14:47:54 -07:00
Mengna Li
047278159c
[ceres] update to v2.1.0 (#23838)
* Update ceres to v2.1.0

* update

* fix build issue

* fix findpackage issue

* update

* update patch

* Add feature 'CUDA'

* update
2022-04-14 08:20:44 -07:00
Billy O'Neal
122bdbcec6
[ceres] Don't force C++14 on downstream customers. (#22983)
Resolves https://github.com/microsoft/vcpkg/issues/22980

https://github.com/microsoft/vcpkg/pull/12785 Added a set of `CMAKE_CXX_STANDARD` in this CMake config which accidentally overwrites higher versions. Upstream already has a `target_compile_options` to do this the Right Way.

This change:
* Deletes the offending attempt to set CMAKE_CXX_STANDARD. Downstream users that don't listen to the INTERFACE_COMPILE_FEATURES need to be patched locally.
* Modernizes to use vcpkg_cmake_Xxx.
* Removes attempt to fix up paths that already appears handled by `vcpkg_cmake_config_fixup`.
* Adds quotes.
2022-02-08 22:43:23 -08:00
nicole mazzuca
0e1dc12185
[rollup] Rollup PR 2021-07-16 (#19001)
* [rollup:2021-07-16 1/7] PR #18201 (@JackBoosY)

[vcpkg-cmake] Add check for unused cmake variables

* [rollup:2021-07-16 2/7] PR #18397 (@strega-nil)

[vcpkg_list] add new function

* [rollup:2021-07-16 3/7] PR #18782 (@strega-nil)

[scripts-audit] vcpkg_build_ninja

* [rollup:2021-07-16 4/7] PR #18784 (@strega-nil)

[scripts-audit] vcpkg_minimum_required

* [rollup:2021-07-16 5/7] PR #18785 (@strega-nil)

[scripts-audit] vcpkg_replace_string

* [rollup:2021-07-16 6/7] PR #18786 (@strega-nil)

[scripts-audit] windows scripts

* [rollup:2021-07-16 7/7] PR #18945 (@strega-nil)

[many ports] remove deprecated vcpkg_check_features call [1/5]

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-07-20 10:24:58 -07:00
Jack·Boos·Yu
fecd9f1449
[ceres] Fix static library path on Linux (#15362)
* [ceres] Fix static library path on Linux

* [ceres] Bump version

* update version record
2021-04-01 10:41:01 -07:00
ras0219
0e4d6f084f
[ceres] Mark all dependencies REQUIRED (#15802)
* [ceres] Mark all dependencies REQUIRED

* [suitesparse] Fix FindCXSparse.cmake

* [ceres] Add version to db

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-01-22 12:25:40 -08:00
Stefano Sinigardi
e054fe2b20
[OpenCV] fix compatibility with VTK9 (#12785) 2020-12-11 14:16:29 -08:00
ras0219
dd4421808c
[vcpkg_fixup_pkgconfig] Handle spaces in path, do not validate individual libraries (#13126) 2020-12-07 18:17:19 -08:00
Billy O'Neal
4ee7e519d2
2020-12-07 Build Fixes (#14986)
From most recent completed nightly build:
https://dev.azure.com/vcpkg/public/_build/results?buildId=46182

PASSING, REMOVE FROM FAIL LIST: ignition-msgs5:x64-linux (.\scripts\ci.baseline.txt)

I'm assuming this got fixed by @strega-nil 's llvm changes: https://github.com/microsoft/vcpkg/pull/14399

PASSING, REMOVE FROM FAIL LIST: libraqm:x64-windows-static (.\scripts\ci.baseline.txt)

Cause unknown.

PASSING, REMOVE FROM FAIL LIST: openssl-windows:arm-uwp (.\scripts\ci.baseline.txt)
PASSING, REMOVE FROM FAIL LIST: openssl-windows:x64-uwp (.\scripts\ci.baseline.txt)

Probably fixed by https://github.com/microsoft/vcpkg/pull/14308 ; also removed Supports: excluded entries for these.

PASSING, REMOVE FROM FAIL LIST: speexdsp:x64-osx (.\scripts\ci.baseline.txt)

Probably fixed by https://github.com/microsoft/vcpkg/pull/14758

PASSING, REMOVE FROM FAIL LIST: sundials:arm64-windows (.\scripts\ci.baseline.txt)
PASSING, REMOVE FROM FAIL LIST: sundials:x64-windows (.\scripts\ci.baseline.txt)
PASSING, REMOVE FROM FAIL LIST: sundials:x86-windows (.\scripts\ci.baseline.txt)

Probably fixed by https://github.com/microsoft/vcpkg/pull/14618

PASSING, REMOVE FROM FAIL LIST: wepoll:arm-uwp (.\scripts\ci.baseline.txt)
PASSING, REMOVE FROM FAIL LIST: wepoll:x64-uwp (.\scripts\ci.baseline.txt)

Probably fixed by https://github.com/microsoft/vcpkg/pull/14456 -- and also fixed missing Supports.

REGRESSION: ceres:x64-windows. If expected, add ceres:x64-windows=fail to .\scripts\ci.baseline.txt.
REGRESSION: ceres:x86-windows. If expected, add ceres:x86-windows=fail to .\scripts\ci.baseline.txt.

Probably broken by https://github.com/microsoft/vcpkg/pull/14719 ; ceres has:

```
if (BUILD_BENCHMARKS)
  find_package(benchmark QUIET)
  if (benchmark_FOUND)
     message("-- Found Google benchmark library. Building Ceres benchmarks.")
  else()
     message("-- Failed to find Google benchmark library, disabling build of benchmarks.")
     update_cache_variable(BUILD_BENCHMARKS OFF)
  endif()
  mark_as_advanced(benchmark_DIR)
endif()
```

so it passed there because Google Benchmark was not also installed. Worked around by `-DBUILD_BENCHMARKS=OFF`.

REGRESSION: dirent:arm64-windows. If expected, add dirent:arm64-windows=fail to .\scripts\ci.baseline.txt.

Transient:

```
-- Downloading https://github.com/tronkko/dirent/archive/1.23.2.tar.gz...
-- Downloading https://github.com/tronkko/dirent/archive/1.23.2.tar.gz... Failed. Status: 28;"Timeout was reached"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:184 (message):
```

REGRESSION: discord-rpc:arm64-windows. If expected, add discord-rpc:arm64-windows=fail to .\scripts\ci.baseline.txt.

Transient:

```
-- Downloading https://github.com/discordapp/discord-rpc/archive/v3.4.0.tar.gz...
-- Downloading https://github.com/discordapp/discord-rpc/archive/v3.4.0.tar.gz... Failed. Status: 28;"Timeout was reached"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:184 (message):
```

REGRESSION: libunibreak:x86-windows. If expected, add libunibreak:x86-windows=fail to .\scripts\ci.baseline.txt.

Transient:

```
-- Note: libunibreak only supports static library linkage. Building static library.
-- Downloading 8df6ef4ebe.tar.gz...
-- Downloading 8df6ef4ebe.tar.gz... Failed. Status: 28;"Timeout was reached"
```

REGRESSION: libzip:x86-windows. If expected, add libzip:x86-windows=fail to .\scripts\ci.baseline.txt.

Transient:

```
-- Downloading 66e496489b.tar.gz...
-- Downloading 66e496489b.tar.gz... Failed. Status: 28;"Timeout was reached"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:184 (message):
```

REGRESSION: ocilib:x64-windows-static. If expected, add ocilib:x64-windows-static=fail to .\scripts\ci.baseline.txt.

Probably broken by https://github.com/microsoft/vcpkg/pull/13158 but it passed there:

       (Link target) ->
         chromium_base.lib(stack_trace_win.obj) : error LNK2001: unresolved external symbol __imp_SymCleanup [D:\buildtrees\ocilib\x64-windows-static-rel\4fc7a69e6d-337dbe59ca.clean\proj\dll\ocilib_dll_vs2019.vcxproj]

Looks like it was skipped before that PR because the port conflicts with chromium-base which couldn't have been caught in that PR. Putting it back on ci.baseline.txt.

REGRESSION: osgearth:x64-windows. If expected, add osgearth:x64-windows=fail to .\scripts\ci.baseline.txt.
REGRESSION: osgearth:x86-windows. If expected, add osgearth:x86-windows=fail to .\scripts\ci.baseline.txt.

Cause unknown. I think we should skip this one in ci.baseline.txt since I've never seen it work OK.

REGRESSION: qt5-tools:x64-windows-static. If expected, add qt5-tools:x64-windows-static=fail to .\scripts\ci.baseline.txt.

Last I heard @ras0219 was investigating this one but that's been a while now. I pinged him again.
2020-12-07 11:17:46 -08:00
Francisco Facioni
326e8c8156
[ceres] update to 2.0.0 (#14719) 2020-12-01 14:13:35 -08:00
Stefano Sinigardi
0a506f7c5e
[OpenMVG/OpenMVS] fix tools (#12229) 2020-08-27 22:13:05 -07:00
Don Venable
2601736b9d
[ceres] Added patch to add find_dependency() for suitesparse targets downstream (#11200)
* Added patch to add find_dependency() for suitesparse targets downstream

Should address / close microsoft/vcpkg#7556

* Bumped port version to -7

* Removed patch that uses vcpkg features for suitesparse and added
suitesparse detection logic in CeresConfig.cmake.in

* Changed configure options to detect features using `vcpkg_check_features()`

* Passed `${FEATURE_OPTIONS}` to `vcpkg_configure_cmake()`
2020-05-11 15:45:42 -07:00
Billy Robert O'Neal III
436f1de44b [Ceres] Set LIB_SUFFIX for Ceres to ensure portfile and build agree. 2020-04-30 21:51:31 -07:00
Stefano Sinigardi
47d206e149 [many ports] improvements for linux/wsl (#6730)
* [many ports] improve compatibility with WSL and mixed case filesystems

* [treehopper] express dependency on libusb, which was not working on non-win32 platforms and is still broken there

* [libharu] add compatibility with non-win32 platforms

* [geogram] fix openblas on linux
[clapack] better integration with linux environment
[visit-struct] put cmake config file in the expected folder
[geogram] remove trailing underscore to enable compatibility with OpenBLAS

* [openblas] playing with underscore, without success

* [openblas/lapack] fix library integration

* [clapack] improve target handling in cmake module

* [openblas] promote self-generated config to default cmake module, otherwise internal ones thinks wrongly that openblas can also solve lapack libs

* [clapack,openblas] improve libraries integration

* [many ports] fix cmake unnecessary target paths, wrong config paths, empty default dependencies, unnecessary [core] tags

* [suitesparse] improve integration with new lapack/openblas mechanism

* [suitesparse] add no underscore postfix also for linux

* [ceres] fix integration with newer openblas/lapack configs

* [aws-c-event-stream] fix regression

* [systemc] fix regression

* [libwebp,geogram] trigger rebuild

* [libwebp,pthread4w] fix regressions

* [glbinding] fix cmake module installation

* [globjects] disentangle unnecessary dependency from qt5

* [jasper] remove broken and unnecessary patches

* [libwebp] fix regression

* [many ports] avoid using BUILD_SHARED_LIBS which is uninitialized in port files

* [clapack] correctly find dlls

* [clapack] use a generic blas as dependency

* [fizz,g2o] restore expected version

* fix mistake

* [many ports] remove WIN32, APPLE and UNIX (again, they keep creeping in) from ports since they are broken and usually break non-win32 ports

* [libressl,openssl] do not try to build one if the other is already installed

* [itk] update ref and patch to avoid regression

* [libressl,openssl] implement full strategy to fix CI

* [libwebp] disable components that are broken on macOS

* [ogre] enable macOS build

* [freeimage,jxrlib,ogre,openexr,protobuf] port patches from #5169

* [ogre] add missing install command

* [ffmpeg] enable wrapper for cmake module

* [ffmpeg] add avresample module finder

* [ffmpeg] improve module detection and exported symbols

* [ffmpeg] add variables to cache

* [thrift] remove unnecessary build option

* [allegro5] fix shared/static inversion

* [protobuf] cleanup

* [libressl] cleanup

* [moos-core] cleanup

* commented features must not be separated from other features, otherwise vcpkg complains

* [itk] fix regression

* [shogun,itk] fix regressions

* [ogre] fix regression

* [opusfile] add compatibility with non-win32

* [itk] fix regression

* [sndfile,libsndfile] remove duplicate, redirect sndfile to libsndfile

* add missing dependencies

* [ismrmrd] fix regression

* [ffmpeg] trigger rebuild

* [clapack,openblas,libogg] fix regressions on macOS

* [libtins] fix regression

* force rebuild windows regressions, unable to reproduce locally

* [mosquitto] enable non-win32 builds

* [json-dto] force rebuild, unable to reproduce regression locally

* [many ports] uniform naming and path length requests

* fix regression

* fix regression

* [ffmpeg] fixes for downstream projects

* clean up - thanks to reviewers

* trigger rebuild of regressions on macOS

* trigger rebuild of regressions on macOS - part2

* Add core back

* Use VCPKG_CONCURRENCY

* Add core back to suitesparse

* Add core back to curl

* Add core back to magnum

* Add core back to magnum

* Add core back to magnum

* Add core back to cgal
2019-06-20 19:11:54 -07:00
Stefano Sinigardi
5898891125 [openexr,openimageio,suitesparse,theia] updates for non-win32 (#6371)
* [openexr,openimageio,suitesparse,theia] updates for non-win32

* [theia] use only valid cmake symbols

* [suitesparse] Fix build

* [lapack] still not properly integrating with other ports

* [lapack] intercept cmake module calls and substitute them with our defs

* [suitesparse,clapack] fixes for proper integration

* [ceres,clapack] bump CONTROL

* [suitesparse] remove unnecessary defs

* [clapack] improve wrapper logic

* [WIN32] remove wrong symbol

* [clapack] fix wrapper integration

* [Accelerate] use best framework when available

* [clapack] separate config from wrapper

* [clapack] fix paths and filenames

* [mlpack,armadillo,clapack] improve library handling

* [mlpack] remove unnecessary cmake option

* [clp,coinutils,osi,liblemon] dependencies of openmvg, improve compatibility with non-win32

* [openmvg] fix for case-sensitive filesystems

* [clp,coinutils,osi] simplify CMakeLists removing many unnecessary steps

* [sophus] Force rebuild

* [theia] fixes for linux, part1

* [io2d] remove broken sintax

* [fontconfig] bump version to remove CI cached failure

* [theia] fixes for linux, part2

* [theia] remove unnecessary empty folders and comments from portfile

* [theia] use correct build type removing forced vars in cmakelists.txt

* [openmvg] add missing suitesparse target detection

* [sophus] fix Suitesparse dependency

* [sophus,openmvg] use suitesparse lowercase for module compatibility on case-sensitive filesystems

* [suitesparse] fixes for case-sensitive filesystems

* [openmvg] use correct Eigen3 name for case-sensitive filesystems

* [sophus] trigger rebuild

* [shogun] use modern vcpkg style

* [shogun] add missing cmake system processor symbol
2019-05-31 15:48:17 -07:00
Victor Romero
e03ee9cace
[ceres,jxrlib,zziplib] Fixes for non-windows (#6188)
* [ceres, zziplib] fixes for building on non-windows systems

* [jxrlib, zziplib] other fixes for non-windows systems

* [zziplib] fix CMakeLists.txt for non win32 platforms, there were missing exported headers

* [ceres] Fix targets path

* [ceres] Fix typo

* [ceres] trigger CI build

* [ceres] use proper glog/gflags targets
2019-04-30 16:54:33 -07:00
Arkady Shapkin
f38fbe4abf
[ceres] Fix build on Linux. Closes #3490 2018-05-14 17:01:26 +03:00
Robert Schumacher
64ab9dc274 [ceres] Use gflags config file + ninja. Fixes #3116. 2018-03-26 11:59:06 -07:00
jasjuang
afe6d4f3bb [ceres] update to 1.14 2018-03-25 18:54:19 -07:00
Arkady Shapkin
18be859328 Ceres and SuiteSparse features (#2800)
* [suitesparse] Implement optional feature: metis

* [ceres] Implement optional features: lapack, suitesparse, cxsparse, eigen. Closes #2798

* [ceres] Always require Eigen3
2018-02-17 03:16:32 -08:00
cDc
85fe5932cf [ceres] enable static CRT linkage for MSVC 2017-11-17 13:48:52 +02:00
jasjuang
3dfffcd5fd fix ceres VS2017 compilation error 2017-10-13 15:55:20 -07:00
jasjuang
c8488c2d6b update ceres to 1.13 2017-08-08 22:31:44 -07:00
jasjuang
0094308a34 fix ceres find_package error for downstream project 2017-07-18 17:58:56 -07:00
Robert Schumacher
1557977b20 Merge master with #1475 2017-07-18 12:36:08 -07:00
Han Hu
c5bf439808 1 fix relative path for looking include directory
2 install the additional FindEigen Gflags Glog file, because the original ***Config.cmake file of the library do not define proper variable for use in CeresConfig.cmake
2017-07-17 17:38:36 +08:00
Arkady Shapkin
4857f86a3b [ceres] Portfile fix 2017-07-11 02:09:06 +03:00
Arkady Shapkin
29c913cdec [ceres] Install *.config files 2017-06-10 14:39:20 +03:00
Robert Schumacher
89cd6818d3 [ceres][openblas] Strengthen constraints 2017-06-09 23:35:01 -07:00
mmazaherit
fea889c5d9 Updated the ceres port 2017-06-09 13:16:58 -04:00