-
Notifications
You must be signed in to change notification settings - Fork 6k
[WIP][CI] Enable DCU C++20 toolchain baseline #79421
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
base: develop
Are you sure you want to change the base?
Changes from 7 commits
6959f42
4e922db
c0adfdb
e9adce2
35e05b9
ab2a559
7ccb519
dc37cc1
d9e3864
709a5ac
451581e
d563602
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -109,9 +109,6 @@ jobs: | |
| for name in "${!docker_files[@]}" | ||
| do | ||
| md5_value=`md5sum tools/dockerfile/${docker_files[$name]} | awk '{print $1}'` | ||
This comment was marked as outdated.
Sorry, something went wrong.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
删除 请让 merge-mode 的 if [ "${{ inputs.is_merge }}" == "true" ]; then
mkdir -p tools/dockerfile/build_scripts
cd tools/dockerfile
wget -q --tries=5 --no-proxy \
${dockerfile_script} \
${dockerfile_origin} \
https://raw.githubusercontent.com/PaddlePaddle/Paddle/refs/heads/develop/tools/dockerfile/Dockerfile.develop.dtk \
--no-check-certificate
cd build_scripts
wget -q --tries=5 --no-proxy \
https://raw.githubusercontent.com/PaddlePaddle/Paddle/refs/heads/develop/tools/dockerfile/build_scripts/install_gcc.sh \
--no-check-certificate
cd ..
else
...
fi |
||
| if [ $name == "docker_dcu" ]; then | ||
| md5_value="76937a563116f6008c8ca4cb4f592759" | ||
| fi | ||
| if [ $name == "docker_npu" ]; then | ||
| md5_value="a3793bdeea5ae881a0c1eaf4d7c30c64" | ||
| fi | ||
|
|
||
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.
处理要求:请针对该评论修复并提交新的 commit。
这里仍然只用
Dockerfile.develop.dtk的内容 md5 作为docker_dcu镜像 tag,但当前最新提交只修改了tools/dockerfile/build_scripts/install_gcc.sh,Dockerfile.develop.dtk的 md5 仍是上一轮的881e30f7ca65be3eb3c04ea34e44c030。由于该 Dockerfile 通过COPY tools/dockerfile/build_scripts /build_scripts引入脚本,现有逻辑会继续拉取同一个docker_dcu镜像 tag;如果上一轮镜像已存在,docker pull成功后就不会重新 build,install_gcc.sh的 Kylin/lib64 修复不会进入实际 DCU 镜像,也无法验证本 PR 的目标环境。建议把
docker_dcu实际 COPY 的脚本也纳入 cache key,或采用等价方式确保build_scripts变更会触发 DCU 镜像重建。一个最小修复形态如下: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.
处理要求:请针对该评论修复并提交新的 commit。
补充当前 head
ab2a5596fd175cdcda2edfac405d727be77b19cd的复查结果:Dockerfile.develop.dtk现在又回到 md5881e30f7ca65be3eb3c04ea34e44c030,而install_gcc.sh仍是修改后的a6ec0a16bc1ebde45ea6f329c87638d1。因此docker_dcu仍只会生成旧的 Dockerfile tag,若该 tag 已存在就会复用旧镜像,install_gcc.sh的最新修复仍无法保证进入实际 DCU 镜像。请把install_gcc.sh/build_scripts纳入docker_dcuhash,或用等价方式确保脚本变更触发新的镜像 tag。