pytorch / cpuinfo

CPU INFOrmation library (x86/x86-64/ARM/ARM64, Linux/Windows/Android/macOS/iOS)
BSD 2-Clause "Simplified" License
993 stars 313 forks source link

fix(uclibc): fix uclibc build error #46

Closed daimagou closed 3 years ago

daimagou commented 4 years ago

cpuinfo build will fail when use uclibc, try to solve it like this.

fatal error: sys/auxv.h: No such file or directory
#include <sys/auxv.h>
daimagou commented 4 years ago

Please kindly review, in addition, is there any other better solution?