Maratyszcza / NNPACK

Acceleration package for neural networks on multi-core CPUs
BSD 2-Clause "Simplified" License
1.68k stars 316 forks source link

CMake error cpuinfo-gitclone.cmake:40 (message): Failed to checkout tag: 'master' #213

Closed Qingrenn closed 1 year ago

Qingrenn commented 1 year ago

After cloning repo cpuinfo to local host, the remote "master" branch becomes "main" branch in local host.

So perfoming git checkout master -- will cause a error "Failed to checkout tag: 'master'".

I modify the GIT_TAG from "master" to "main" in cmake/DownloadCpuinfo.cmake. Then, the problem is sovled.