Package Details: ceres-solver 2.2.0-7

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: 0
Popularity: 0.000000
First Submitted: 2025-10-03 18:59 (UTC)
Last Updated: 2025-12-12 10:46 (UTC)

Latest Comments

sfn commented on 2025-11-24 07:44 (UTC) (edited on 2025-11-24 07:44 (UTC) by sfn)

(Don’t want to criticise your decision, legal matters are complicated, feel free to maintain your package as you see fit. Just providing my view of things.)

I’m not sure this particularly impacts us. It’s upstream’s responsibility to correctly license their code, and there are plenty of GPL packages already being distributed by Arch.

In fact, there are even GPL (not LGPL) libraries being used as dependencies for other packages, for example the x265 video encoder linked to by important stuff like ffmpeg or gstreamer. Yes, these two packages are also licensed with GPL-compatible licenses, but so are ceres-solver’s dependencies.

Also, at least while these packages are in the AUR, we aren’t distributing anything other than some 0BSD buildscripts, so I belive the private use clauses of the GPL should apply. Hopefully Ceres will get this fixed relatively soon, before any eventual move the binary repos.

xantares commented on 2025-11-23 12:59 (UTC)

hi, yes I disabled suitesparse because it makes downstream packages GPL

see https://github.com/ceres-solver/ceres-solver/issues/1026

a solution to this would be to write another package ceres-solver-gpl that conflicts/provides ceres-solver but with suitesparse dependency enabled

sfn commented on 2025-11-20 09:34 (UTC)

Hello! Is there a reason why Suitsparse is now disabled? “It works on my machine” and I have some downstream software that would require it.

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)