hwloc

Install command:
brew install hwloc

Portable abstraction of the hierarchical topology of modern architectures

https://www.open-mpi.org/projects/hwloc/

License: BSD-3-Clause

Development: Pull requests

Formula JSON API: /api/formula/hwloc.json

Formula code: hwloc.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.15.0
head ⚡️ HEAD

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit

Uses from macOS: libxml2, ncurses

Binaries: 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

GitHub Packages downloads:

Last 30 days202,054
Downloads11,786,358
Analytics install events (30 days)6,117
Downloads / install events (30 days)33.0×

Source: GitHub Packages, fetched 2026-11-12T00:52:50Z. Analytics dates: 2026-10-13 to 2026-11-12. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs6,11421,107129,875
Installs (--HEAD)3615
Installs on Request4241,5296,934
Installs on Request (--HEAD)248
Build Errors0