From 62d54203dc96486a6d3098b947cee8666a0eca0a Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 2 Jan 2026 11:44:57 +0000 Subject: [PATCH] gnu: Add qdldl. * gnu/packages/maths.scm (qdldl): New variable. Change-Id: Ic43b3a4e6af342748367e93f22f37efea4b923f6 Signed-off-by: Rutherther --- gnu/packages/maths.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index e7e06e90e008f5cd710252247d831a3a36cb82a1..a5b7c18f3b7e63ad053ec37735a077c0d30cddc1 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -406,6 +406,31 @@ programming languages.") (home-page "https://stcorp.nl/coda") (license license:gpl2+))) +(define-public qdldl + (package + (name "qdldl") + (version "0.1.9") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/osqp/qdldl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0vm9a51ar5kz4lmz01ydkk757ppzjnxy49rjbm56rwj65smp26d5")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DQDLDL_UNITTESTS=ON"))) + (home-page "https://github.com/osqp/qdldl") + (synopsis "LDL factorisation routine") + (description + "This package provides a free +@url{https://en.wikipedia.org/wiki/Cholesky_decomposition#LDL_decomposition, +@acronym{LDL, Lower-Diagonal-Lower}} factorisation routine for quasi-definite +linear systems: @code{Ax=b}.") + (license license:asl2.0))) + (define-public qhull (package (name "qhull")