Apocrypha

hwloc

Displays the hardware topology in convenient formats

The Portable Hardware Locality (hwloc) software package provides a portable abstraction (across OS, versions, architectures, ...) of the hierarchical topology of modern architectures, including NUMA memory nodes, sockets, shared caches, cores and simultaneous multithreading. It also gathers various system attributes such as cache and memory information. It primarily aims at helping applications with gathering information about modern computing hardware so as to exploit it accordingly and efficiently.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 2.12.2 2 13 h details ›
mim GitHub ↗ 2.11.1 1 8 d details ›
didos GitHub ↗ 2.0.4 2 2 yr details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvalphaamd64-linuxarmhppaia64loongm68kmipsppcsparcx86-linux Committed
2.12.2 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing amd64-linux untested arm stable hppa testing ia64 untested loong testing m68k testing mips testing ppc stable sparc testing x86-linux untested view · download · history ↗
2.11.2-r1 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing amd64-linux untested arm stable hppa testing ia64 untested loong testing m68k testing mips testing ppc stable sparc testing x86-linux untested view · download · history ↗
2.11.1 mim amd64 testing arm64 testing x86 testing ppc64 testing riscv testing alpha testing amd64-linux testing arm testing hppa testing ia64 testing loong testing m68k testing mips testing ppc testing sparc testing x86-linux testing 2 yr view · download · history ↗
2.0.4 didos amd64 testing arm64 testing x86 untested ppc64 untested riscv untested alpha untested amd64-linux untested arm testing hppa untested ia64 untested loong untested m68k untested mips untested ppc untested sparc untested x86-linux untested view · download · history ↗
1.11.13 didos amd64 testing arm64 testing x86 untested ppc64 untested riscv untested alpha untested amd64-linux untested arm testing hppa untested ia64 untested loong untested m68k untested mips untested ppc untested sparc untested x86-linux untested view · download · history ↗

Use flags of 2.12.2

  • cairo Enable the Cairo back-end of hwloc's lstopo command
  • +cpuid Enable the cpuid-based architecture specific support (x86 component)
  • cuda Enable CUDA device discovery using libcudart
  • debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
  • doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
  • l0 Enable oneAPI Level Zero device discovery
  • nvml Enable the NVML device discovery
  • +pci Enable PCI device discovery using libpci
  • rocm Enable AMD RSMI device discovery
  • selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
  • static-libs Build static versions of dynamic libraries as well
  • svg Add support for SVG (Scalable Vector Graphics)
  • udev Enable virtual/udev integration (device discovery, power and storage device support, etc)
  • valgrind Enable annotations for accuracy. May slow down runtime slightly. Safe to use even if not currently using dev-debug/valgrind
  • xml use libxml2 for XML support, instead of a custom minimalistic support
  • X use the X Window System
  • video_cards_nvidia Enable GL display device discovery (NVCtrl)
8 expansion flags (python targets, ABIs, cpu flags…)
  • abi_x86_32
  • abi_x86_64
  • abi_x86_x32
  • abi_mips_n32
  • abi_mips_n64
  • abi_mips_o32
  • abi_s390_32
  • abi_s390_64

Runtime dependencies of 2.12.2

show 37 lines