Dr-Noob / cpufetch

Simple yet fancy CPU architecture fetching tool
GNU General Public License v2.0
1.83k stars 100 forks source link

`invalid cpu_family: 0x00000000` on macOS Monterey arm build for cpufetch 1.0.4 #180

Closed chenrui333 closed 1 year ago

chenrui333 commented 1 year ago

👋 trying to build the latest release, but run into some build issue. The error log is as below:

error build log ``` ==> /opt/homebrew/Cellar/cpufetch/1.04/bin/cpufetch -d [ERROR]: Found invalid cpu_family: 0x00000000 [VERSION]: cpufetch v1.04 (macOS ARM build) ```

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/4904192481/jobs/8757081355?pr=130340 relates to Homebrew/homebrew-core#130340

carlocab commented 1 year ago

Note: this error is actually due to our use of virtualised ARM machines at Homebrew, and not an issue with cpufetch.

Dr-Noob commented 1 year ago

Exactly. If the hypervisor hides the value of cpu_family, there is nothing cpufetch can do about it. Closing.