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

156.7. arpack-ng-3.9.1

Large sparse eigenvalue problems, for Octave's eigs and SciPy-style solvers

3.9.1-1 · BSD-3-Clause · 0.3 SBU · 381.4 KiB, 21 files · 41_system, 249 of 1047 · ports/core/sci-libs/arpack-ng

Homepage: https://github.com/opencollab/arpack-ng

Depends on: cmake, ninja, gcc, openblas.

Required by (2): calculix, octave.

Sources: arpack-ng-3.9.1.tar.gz (996.3 KiB). 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 arpack-ng'

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 \
	-DBLA_VENDOR=OpenBLAS \
	-DINTERFACE64=OFF \
	-DMPI=OFF \
	-DICB=ON \
	-DEIGEN=OFF \
	-DPYTHON3=OFF \
	-DEXAMPLES=OFF \
	-DTESTS=OFF
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libarpack.so.

Directories: /usr/include/arpack, /usr/lib/cmake/arpackng, /usr/share/licenses/arpack-ng.