-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
verilator: switch to cmake #5680
base: dev
Are you sure you want to change the base?
Conversation
0d632d8
to
fe82a05
Compare
@@ -40,6 +36,7 @@ package("bison") | |||
end) | |||
|
|||
on_install("@msys", function (package) | |||
os.vrun("pacman -Sy --noconfirm --needed --disable-download-timeout bison") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
包配置里,不要直接调用 pacman/apt 等系统安装,会有权限问题,走 xmake 内置安装,而且你这么装,会装到系统路径,不是 包安装目录,会 break 掉 xrepo env
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
而 xmake 内部调用 pacman 会有对权限的很多处理,这里不能这么搞,如果源码安装不行,宁愿禁用这个平台
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个是 msys2 包,用 add_deps
会加上 mingw 前缀导致安装失败
@@ -35,6 +40,13 @@ package("flex") | |||
end) | |||
|
|||
on_install("@msys", function (package) | |||
os.vrun("pacman -Sy --noconfirm --needed --disable-download-timeout flex") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
还有这
No description provided.