brew install cpu_features
Cross platform C99 library to get cpu features at runtime
https://github.com/google/cpu_features
License: Apache-2.0
Formula JSON API: /api/formula/cpu_features.json
Formula code: cpu_features.rb
on GitHub
Bottle (binary package) installation support provided for:
Apple Silicon | sonoma | ✅ |
---|---|---|
ventura | ✅ | |
monterey | ✅ | |
Intel | sonoma | ✅ |
ventura | ✅ | |
monterey | ✅ | |
64-bit linux | ✅ |
Current versions:
stable | ✅ | 0.9.0 |
head | ⚡️ | HEAD |
Depends on when building from source:
cmake | 3.30.3 | Cross-platform make |
Analytics:
Installs (30 days) | |
---|---|
cpu_features |
219 |
Installs on Request (30 days) | |
cpu_features |
4 |
Build Errors (30 days) | |
cpu_features |
0 |
Installs (90 days) | |
cpu_features |
652 |
Installs on Request (90 days) | |
cpu_features |
18 |
Installs (365 days) | |
cpu_features |
3,224 |
cpu_features --HEAD |
3 |
Installs on Request (365 days) | |
cpu_features |
160 |
cpu_features --HEAD |
3 |