xmake-io / xrepo

🗂️ A cross-platform C/C++ package manager based on Xmake
https://xrepo.xmake.io
Apache License 2.0
361 stars 16 forks source link

"xrepo search lib" 报错 #8

Closed Heafei closed 3 years ago

Heafei commented 3 years ago

使用 "xrepo search lib" 搜索时报错,报错信息如下:

The package names:
error: ...ke\repositories\xmake-repo\packages\l\libtorch\xmake.lua:24: attempt to call global 'set_policy' (a nil value)
stack traceback:
    [...ke\repositories\xmake-repo\packages\l\libtorch\xmake.lua:24]: in main chunk

error: execv(xmake require --search lib) failed(-1)
waruqi commented 3 years ago

I have fixed it, please run xrepo update-repo and try it again.