Maratyszcza/NNPACK

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

Qingrenn opened this issue · 0 comments

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.