-
-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xmake 安装 libtorch 失败 #4032
Labels
Comments
Title: xmake failed to install libtorch |
|
补充一下,我的系统是在 WSL2 中运行的 Arch Linux 各编译工具版本如下:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Xmake 版本
2.9.1
操作系统版本和架构
Linux 5.15.146.1-microsoft-standard-WSL2 x86_64
描述问题
为一个 demo 项目添加 libtorch 包时安装失败。
具体报错为自动编译 libtorch 时提示
cc1plus: all warnings being treated as errors
期待的结果
libtorch 顺利安装。
工程配置
xmake.lua
文件如下:附加信息和错误日志
The text was updated successfully, but these errors were encountered: