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.16.0 |
| head | ⚡️ | HEAD |
Depends on when building from source:
| pkgconf | 3.0.11 | 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 | 223,716 |
|---|---|
| Downloads | 11,947,236 |
| Analytics install events (30 days) | 8,659 |
| Downloads / install events (30 days) | 25.8× |
Source: GitHub Packages, fetched 2026-12-02T01:00:47Z. Analytics dates: 2026-11-02 to 2026-12-02. 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 | 8,658 | 22,897 | 122,983 |
Installs (--HEAD) | 1 | 5 | 15 |
| Installs on Request | 818 | 1,964 | 6,995 |
Installs on Request (--HEAD) | 0 | 4 | 8 |
| Build Errors | 0 |