182.1. hwloc-2.15.0
Portable hardware locality — the CPU, cache, NUMA and device topology, with lstopo
2.15.0-1 · BSD-3-Clause · 1.3 SBU · 2.2 MiB, 554 files · 42_graphics, 14 of 189 · ports/core/hardware/hwloc
Homepage: https://www.open-mpi.org/projects/hwloc/
Why it is in KDOS. The comment above it in script/phases/42_graphics/packages.d/hardware.txt:
The CPU topology aircrack-ng's cracker spreads its threads over.
Depends on: pkgconf, libxml2, eudev, libpciaccess, cairo, libX11, ncurses, desktop-file-utils.
Required by (2): aircrack-ng, onetbb.
Sources: hwloc-2.15.0.tar.bz2 (5.5 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.
--disable-gl, line 27: mesa
Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install hwloc'
build.sh:
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib \
--localstatedir=/var \
--disable-static \
--enable-libxml2 \
--enable-libudev \
--enable-pci \
--enable-cairo \
--disable-cuda \
--disable-nvml \
--disable-rsmi \
--disable-opencl \
--disable-levelzero \
--disable-gl \
--disable-doxygen
make
make DESTDIR=$PKG install
rm -f "$PKG/usr/share/hwloc/hwloc-dump-hwdata.service"
desktop-file-edit --set-icon=cpu "$PKG/usr/share/applications/lstopo.desktop"
Programs: hwloc-annotate, hwloc-bind, hwloc-calc, hwloc-compress-dir, hwloc-diff, hwloc-distrib, hwloc-dump-hwdata, hwloc-gather-cpuid, hwloc-gather-topology, hwloc-info, hwloc-ls, hwloc-patch, hwloc-ps, lstopo, lstopo-no-graphics.
Libraries: libhwloc.so.
Directories: /usr/include/hwloc, /usr/share/hwloc, /usr/share/licenses/hwloc.