hwloc
brew install hwlocPortable 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 days | 202,054 |
|---|---|
| Downloads | 11,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 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 6,114 | 21,107 | 129,875 |
Installs (--HEAD) | 3 | 6 | 15 |
| Installs on Request | 424 | 1,529 | 6,934 |
Installs on Request (--HEAD) | 2 | 4 | 8 |
| Build Errors | 0 |