Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

156.8. suitesparse-7.14.1

Sparse matrix algebra — CHOLMOD, UMFPACK, KLU, SPQR and CXSparse, under Octave

7.14.1-1 · BSD-3-Clause AND LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND Apache-2.0 AND (LGPL-3.0-or-later OR GPL-2.0-or-later) · 1.8 SBU · 6.5 MiB, 170 files · 41_system, 749 of 1047 · ports/core/sci-libs/suitesparse

Homepage: https://people.engr.tamu.edu/davis/suitesparse.html

Depends on: cmake, ninja, gcc, openblas, gmp, mpfr.

Required by (4): ceres-solver, gegl, octave, sundials.

Sources: suitesparse-7.14.1.tar.gz (95.7 MiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install suitesparse'

build.sh:

cmake -S . -B build -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DBUILD_SHARED_LIBS=ON \
	-DBUILD_STATIC_LIBS=OFF \
	-DBUILD_TESTING=OFF \
	-DSUITESPARSE_ENABLE_PROJECTS="suitesparse_config;mongoose;amd;btf;camd;ccolamd;colamd;cholmod;cxsparse;ldl;klu;umfpack;paru;rbio;spqr;spex" \
	-DBLA_VENDOR=OpenBLAS \
	-DSUITESPARSE_USE_64BIT_BLAS=OFF \
	-DSUITESPARSE_USE_CUDA=OFF \
	-DSUITESPARSE_USE_OPENMP=ON \
	-DSUITESPARSE_USE_FORTRAN=ON \
	-DSUITESPARSE_USE_PYTHON=OFF \
	-DSUITESPARSE_USE_STRICT=ON \
	-DSUITESPARSE_DEMOS=OFF
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: suitesparse_mongoose.

Libraries: libamd.so, libbtf.so, libcamd.so, libccolamd.so, libcholmod.so, libcolamd.so, libcxsparse.so, libklu.so, libklu_cholmod.so, libldl.so, libparu.so, librbio.so, libspex.so, libspqr.so, libsuitesparse_mongoose.so, libsuitesparseconfig.so, libumfpack.so.

Directories: /usr/include/suitesparse, /usr/lib/cmake/AMD, /usr/lib/cmake/BTF, /usr/lib/cmake/CAMD, /usr/lib/cmake/CCOLAMD, /usr/lib/cmake/CHOLMOD, /usr/lib/cmake/COLAMD, /usr/lib/cmake/CXSparse, /usr/lib/cmake/KLU, /usr/lib/cmake/KLU_CHOLMOD, /usr/lib/cmake/LDL, /usr/lib/cmake/ParU, /usr/lib/cmake/RBio, /usr/lib/cmake/SPEX, /usr/lib/cmake/SPQR, /usr/lib/cmake/SuiteSparse, /usr/lib/cmake/SuiteSparse_Mongoose, /usr/lib/cmake/SuiteSparse_config, /usr/lib/cmake/UMFPACK, /usr/share/licenses/suitesparse.