dev-util/gowin-eda: add Gowin EDA FPGA design suite#10478
Open
semes1 wants to merge 1 commit into
Open
Conversation
semes1
commented
Jun 19, 2026
Contributor
- Add gowin-eda (standard version) 1.9.12.02
- Add gowin-eda-edu (education version) 1.9.11.03
- Both support IDE and Programmer via USE flags
- Education version uses *_edu suffixed commands to avoid conflicts
- Add gowin-eda (standard version) 1.9.12.02 - Add gowin-eda-edu (education version) 1.9.11.03 - Both support IDE and Programmer via USE flags - Education version uses *_edu suffixed commands to avoid conflicts
peeweep
requested changes
Jun 19, 2026
peeweep
left a comment
Member
There was a problem hiding this comment.
这两个 ebuild 是 AI 生成的吗,用了很多少见的写法
- 可以根据 CI 的报错补充一下依赖
- 可否用在线或者 tarball里边提供的 png ,不单独放在 files 下边
Comment on lines
+49
to
+52
| find "${D}${dest}" -type f -name "*.so" -exec chmod 755 {} \; | ||
| find "${D}${dest}/bin" -type f -executable -exec chmod 755 {} \; | ||
| find "${D}${dest}/bin" -type f ! -executable -exec chmod 644 {} \; | ||
| chmod 666 "${D}${dest}/bin/gwlicense.ini" 2>/dev/null |
Member
There was a problem hiding this comment.
标准的做法是使用 fperms 设置权限,并且要对每一个文件单独设置权限而不是 find -type f
| einfo "Installing IDE (Education version)..." | ||
| local dest="/opt/${PN}-ide" | ||
| dodir "${dest}" | ||
| cp -a ide/* "${D}${dest}/" || die |
Comment on lines
+62
to
+73
| exeinto /usr/bin | ||
| cat > "${T}/gw_edu_ide" <<-EOF | ||
| #!/bin/sh | ||
| export LD_LIBRARY_PATH=${dest}/lib | ||
| exec ${dest}/bin/gw_ide "\$@" | ||
| EOF | ||
| cat > "${T}/gw_edu_sh" <<-EOF | ||
| #!/bin/sh | ||
| export LD_LIBRARY_PATH=${dest}/lib | ||
| exec ${dest}/bin/gw_sh "\$@" | ||
| EOF | ||
| doexe "${T}/gw_edu_ide" "${T}/gw_edu_sh" |
Comment on lines
+8
to
+11
| MY_PV="1.9.12.03" | ||
| MY_PN="Gowin_V${MY_PV}_linux" | ||
|
|
||
| SRC_URI="http://cdn.gowinsemi.com.cn/${MY_PN}.tar.gz" |
Member
There was a problem hiding this comment.
Suggested change
| MY_PV="1.9.12.03" | |
| MY_PN="Gowin_V${MY_PV}_linux" | |
| SRC_URI="http://cdn.gowinsemi.com.cn/${MY_PN}.tar.gz" | |
| SRC_URI="http://cdn.gowinsemi.com.cn/Gowin_V${PV}_linux.tar.gz" |
Comment on lines
+8
to
+11
| MY_PV="1.9.11.03" | ||
| MY_PN="Gowin_V${MY_PV}_Education_Linux" | ||
|
|
||
| SRC_URI="http://cdn.gowinsemi.com.cn/${MY_PN}.tar.gz" |
Member
There was a problem hiding this comment.
Suggested change
| MY_PV="1.9.11.03" | |
| MY_PN="Gowin_V${MY_PV}_Education_Linux" | |
| SRC_URI="http://cdn.gowinsemi.com.cn/${MY_PN}.tar.gz" | |
| SRC_URI="http://cdn.gowinsemi.com.cn/Gowin_V${PV}_Education_Linux.tar.gz" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.