Package Details: ceres-solver 2.2.0-6

Git Clone URL: https://aur.archlinux.org/ceres-solver.git (read-only, click to copy)
Package Base: ceres-solver
Description: Solver for nonlinear least squares problems
Upstream URL: http://ceres-solver.org/
Licenses: Apache-2.0
Submitter: xantares
Maintainer: xantares
Last Packager: xantares
Votes: 1
Popularity: 0.77
First Submitted: 2025-10-03 18:59 (UTC)
Last Updated: 2025-11-12 17:12 (UTC)

Latest Comments

xantares commented on 2025-10-09 05:38 (UTC)

hi,

there seem to be lots of patches upstream for a proper cuda support since 2.2.0,

you might want to try the git version instead, disabling for now

sfn commented on 2025-10-04 17:24 (UTC) (edited on 2025-10-04 17:24 (UTC) by sfn)

Hello! Unfortunately this doesn't build on systems with newer CUDA versions (12+) installed because it tries to build for unsupported CUDA arch versions.

It's sufficient to replace line 252 of ${srcdir}/CMakeLists.txt with set(CMAKE_CUDA_ARCHITECTURES "75;80;90"):

sed -i 's|set(CMAKE_CUDA_ARCHITECTURES "50;60;70;80")|set(CMAKE_CUDA_ARCHITECTURES "75;80;90")|g' CMakeLists.txt

(also you might want to add CUDA as an optdepends to make it clear it can build with CUDA support)