pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/ceres-solver



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Nov  8 16:12:55 UTC 2026

Added Files:
        pkgsrc/math/ceres-solver: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
math/ceres-solver: import ceres-solver-2.2.0

Ceres Solver is an open source C++ library for modeling and solving
large, complicated optimization problems. It is a feature rich, mature
and performant library which has been used in production at Google
since 2010. Ceres Solver can solve two kinds of problems.

1. Non-linear Least Squares problems with bounds constraints.
2. General unconstrained optimization problems.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/ceres-solver/DESCR \
    pkgsrc/math/ceres-solver/Makefile pkgsrc/math/ceres-solver/PLIST \
    pkgsrc/math/ceres-solver/buildlink3.mk pkgsrc/math/ceres-solver/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/math/ceres-solver/DESCR
diff -u /dev/null pkgsrc/math/ceres-solver/DESCR:1.1
--- /dev/null   Sun Nov  8 16:12:55 2026
+++ pkgsrc/math/ceres-solver/DESCR      Sun Nov  8 16:12:54 2026
@@ -0,0 +1,7 @@
+Ceres Solver is an open source C++ library for modeling and solving
+large, complicated optimization problems. It is a feature rich, mature
+and performant library which has been used in production at Google
+since 2010. Ceres Solver can solve two kinds of problems.
+
+1. Non-linear Least Squares problems with bounds constraints.
+2. General unconstrained optimization problems.
Index: pkgsrc/math/ceres-solver/Makefile
diff -u /dev/null pkgsrc/math/ceres-solver/Makefile:1.1
--- /dev/null   Sun Nov  8 16:12:55 2026
+++ pkgsrc/math/ceres-solver/Makefile   Sun Nov  8 16:12:54 2026
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2026/11/08 16:12:54 ryoon Exp $
+
+DISTNAME=      ceres-solver-2.2.0
+CATEGORIES=    math
+MASTER_SITES=  http://ceres-solver.org/
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      http://ceres-solver.org/
+COMMENT=       C++ library for modeling and solving optimization problems
+LICENSE=       modified-bsd
+
+USE_LANGUAGES=         c c++
+USE_CXX_FEATURES+=     c++17
+
+#CMAKE_CONFIGURE_ARGS+=        -DSUITESPARSE=OFF
+CMAKE_CONFIGURE_ARGS+= -DBUILD_SHARED_LIBS=ON
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/gflags/buildlink3.mk"
+.include "../../devel/google-glog/buildlink3.mk"
+.include "../../math/eigen3/buildlink3.mk"
+.include "../../math/metis/buildlink3.mk"
+.include "../../math/suitesparse/buildlink3.mk"
+.include "../../mk/blas.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/ceres-solver/PLIST
diff -u /dev/null pkgsrc/math/ceres-solver/PLIST:1.1
--- /dev/null   Sun Nov  8 16:12:55 2026
+++ pkgsrc/math/ceres-solver/PLIST      Sun Nov  8 16:12:54 2026
@@ -0,0 +1,74 @@
+@comment $NetBSD: PLIST,v 1.1 2026/11/08 16:12:54 ryoon Exp $
+include/ceres/autodiff_cost_function.h
+include/ceres/autodiff_first_order_function.h
+include/ceres/autodiff_manifold.h
+include/ceres/c_api.h
+include/ceres/ceres.h
+include/ceres/conditioned_cost_function.h
+include/ceres/constants.h
+include/ceres/context.h
+include/ceres/cost_function.h
+include/ceres/cost_function_to_functor.h
+include/ceres/covariance.h
+include/ceres/crs_matrix.h
+include/ceres/cubic_interpolation.h
+include/ceres/dynamic_autodiff_cost_function.h
+include/ceres/dynamic_cost_function.h
+include/ceres/dynamic_cost_function_to_functor.h
+include/ceres/dynamic_numeric_diff_cost_function.h
+include/ceres/evaluation_callback.h
+include/ceres/first_order_function.h
+include/ceres/gradient_checker.h
+include/ceres/gradient_problem.h
+include/ceres/gradient_problem_solver.h
+include/ceres/internal/array_selector.h
+include/ceres/internal/autodiff.h
+include/ceres/internal/config.h
+include/ceres/internal/disable_warnings.h
+include/ceres/internal/eigen.h
+include/ceres/internal/euler_angles.h
+include/ceres/internal/export.h
+include/ceres/internal/fixed_array.h
+include/ceres/internal/householder_vector.h
+include/ceres/internal/integer_sequence_algorithm.h
+include/ceres/internal/jet_traits.h
+include/ceres/internal/line_parameterization.h
+include/ceres/internal/memory.h
+include/ceres/internal/numeric_diff.h
+include/ceres/internal/parameter_dims.h
+include/ceres/internal/port.h
+include/ceres/internal/reenable_warnings.h
+include/ceres/internal/sphere_manifold_functions.h
+include/ceres/internal/variadic_evaluate.h
+include/ceres/iteration_callback.h
+include/ceres/jet.h
+include/ceres/jet_fwd.h
+include/ceres/line_manifold.h
+include/ceres/loss_function.h
+include/ceres/manifold.h
+include/ceres/manifold_test_utils.h
+include/ceres/normal_prior.h
+include/ceres/numeric_diff_cost_function.h
+include/ceres/numeric_diff_first_order_function.h
+include/ceres/numeric_diff_options.h
+include/ceres/ordered_groups.h
+include/ceres/problem.h
+include/ceres/product_manifold.h
+include/ceres/rotation.h
+include/ceres/sized_cost_function.h
+include/ceres/solver.h
+include/ceres/sphere_manifold.h
+include/ceres/tiny_solver.h
+include/ceres/tiny_solver_autodiff_function.h
+include/ceres/tiny_solver_cost_function_adapter.h
+include/ceres/types.h
+include/ceres/version.h
+lib/cmake/Ceres/CeresConfig.cmake
+lib/cmake/Ceres/CeresConfigVersion.cmake
+lib/cmake/Ceres/CeresTargets-release.cmake
+lib/cmake/Ceres/CeresTargets.cmake
+lib/cmake/Ceres/FindMETIS.cmake
+lib/cmake/Ceres/FindSuiteSparse.cmake
+lib/libceres.so
+lib/libceres.so.${PKGVERSION}
+lib/libceres.so.4
Index: pkgsrc/math/ceres-solver/buildlink3.mk
diff -u /dev/null pkgsrc/math/ceres-solver/buildlink3.mk:1.1
--- /dev/null   Sun Nov  8 16:12:55 2026
+++ pkgsrc/math/ceres-solver/buildlink3.mk      Sun Nov  8 16:12:54 2026
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/11/08 16:12:54 ryoon Exp $
+
+BUILDLINK_TREE+=       ceres-solver
+
+.if !defined(CERES_SOLVER_BUILDLINK3_MK)
+CERES_SOLVER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ceres-solver+=   ceres-solver>=2.2.0
+BUILDLINK_PKGSRCDIR.ceres-solver?=     ../../math/ceres-solver
+
+.include "../../devel/gflags/buildlink3.mk"
+.include "../../devel/google-glog/buildlink3.mk"
+.include "../../math/metis/buildlink3.mk"
+.include "../../math/suitesparse/buildlink3.mk"
+.endif # CERES_SOLVER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ceres-solver
Index: pkgsrc/math/ceres-solver/distinfo
diff -u /dev/null pkgsrc/math/ceres-solver/distinfo:1.1
--- /dev/null   Sun Nov  8 16:12:55 2026
+++ pkgsrc/math/ceres-solver/distinfo   Sun Nov  8 16:12:55 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/11/08 16:12:55 ryoon Exp $
+
+BLAKE2s (ceres-solver-2.2.0.tar.gz) = e63b410d3c6bbb25a8b54d1f575257a52c0c877431d2b6b9fe444dc8988321e3
+SHA512 (ceres-solver-2.2.0.tar.gz) = bf519fbcbd0ee2d4624be72cde061a09d191ee5e56dc33984669393799b885c2164efc99dcef71307f8b50a9ccad945882376ace3d9a44ba7e1f25c20511aabd
+Size (ceres-solver-2.2.0.tar.gz) = 7635532 bytes



Home | Main Index | Thread Index | Old Index