Skip to content
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

Open
wants to merge 16 commits into
base: dev
Choose a base branch
from
Open

verilator: switch to cmake #5680

wants to merge 16 commits into from

Conversation

star-hengxing
Copy link
Contributor

No description provided.

@star-hengxing star-hengxing linked an issue Nov 6, 2024 that may be closed by this pull request
@@ -40,6 +36,7 @@ package("bison")
end)

on_install("@msys", function (package)
os.vrun("pacman -Sy --noconfirm --needed --disable-download-timeout bison")
Copy link
Member

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

Copy link
Member

@waruqi waruqi Nov 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

而 xmake 内部调用 pacman 会有对权限的很多处理,这里不能这么搞,如果源码安装不行,宁愿禁用这个平台

Copy link
Contributor Author

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")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还有这

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants