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 | sequoia | ✅ |
---|---|---|
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.31.3 | Cross-platform make |
Analytics:
Installs (30 days) | |
---|---|
cpu_features |
152 |
Installs on Request (30 days) | |
cpu_features |
7 |
Build Errors (30 days) | |
cpu_features |
0 |
Installs (90 days) | |
cpu_features |
496 |
Installs on Request (90 days) | |
cpu_features |
22 |
Installs (365 days) | |
cpu_features |
2,848 |
Installs on Request (365 days) | |
cpu_features |
124 |