I'm trying to update math/ceres-solver to 2.0.0 but math/openturns 1.15 fails to build. After checking openturns upstream it seems the error was fixed by https://github.com/openturns/openturns/commit/e4ab6ee5b65d which is part of the series of 33 commits, so I'm not sure it's safe to backport.
Can you update the port to 1.16rc1 ?
lib/src/Base/Optim/Ceres.cxx:111:59: error: no member named 'int32' in namespace 'ceres'
*mutable_parameter_block_sizes() = std::vector<ceres::int32>(1, problem.getDimension());
lib/src/Base/Optim/Ceres.cxx:335:15: error: no member named 'num_linear_solver_threads' in 'ceres::Solver::Options'
options.num_linear_solver_threads = ResourceMap::GetAsUnsignedInteger("Ceres-num_linear_solver_threads");
poudriere log: https://reviews.freebsd.org/P452
A commit references this bug:
Date: Tue Nov 3 08:50:39 UTC 2020
New revision: 553969
math/openturns: Update 1.15 -> 1.16rc1
Reported by: jbeich
The update to 1.16rc1 has been committed.