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.0 | Cross-platform make |
Analytics:
Installs (30 days) | |
---|---|
cpu_features |
123 |
Installs on Request (30 days) | |
cpu_features |
7 |
Build Errors (30 days) | |
cpu_features |
0 |
Installs (90 days) | |
cpu_features |
571 |
Installs on Request (90 days) | |
cpu_features |
24 |
Installs (365 days) | |
cpu_features |
2,930 |
cpu_features --HEAD |
1 |
Installs on Request (365 days) | |
cpu_features |
138 |
cpu_features --HEAD |
1 |