Skip to content

Update cmake-android docker image - #4116

Merged
asaadaldien merged 3 commits into
mainfrom
ataei-update_android_docker
Dec 8, 2020
Merged

asaadaldien merged 3 commits into
mainfrom
ataei-update_android_docker

Conversation

@asaadaldien

@asaadaldien asaadaldien commented Dec 7, 2020 •

Copy link
Copy Markdown
Contributor

Progress fixing #4090

@GMNGeoffrey GMNGeoffrey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I see no changes to the dockerfile. Missing git add?

@asaadaldien

Copy link
Copy Markdown
Contributor Author

I see no changes to the dockerfile. Missing git add?

Was landed here : 2b825ac, is that why buildkit failed ?

@GMNGeoffrey

Copy link
Copy Markdown
Member

I see no changes to the dockerfile. Missing git add?

Was landed here : 2b825ac, is that why buildkit failed ?

Aaaah. That PR has quite a few issues. I will comment there, but I think it should be reverted to roll out docker image changes all at once (and with presubmits).

@asaadaldien

Copy link
Copy Markdown
Contributor Author

I see no changes to the dockerfile. Missing git add?

Was landed here : 2b825ac, is that why buildkit failed ?

Aaaah. That PR has quite a few issues. I will comment there, but I think it should be reverted to roll out docker image changes all at once (and with presubmits).

Got it thanks, I will add the DockerFile change here!

@asaadaldien
asaadaldien force-pushed the ataei-update_android_docker branch from 2ff8210 to 024f86c Compare December 7, 2020 21:53

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

env var LGTM. Not familiar with the Docker update/rollout process.

# Environment variables for IREE.
ENV CC /usr/bin/clang
ENV CXX /usr/bin/clang++
ENV IREE_LLVMAOT_LINKER_PATH /usr/bin/ld

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This image is used by many other images, not just cmake-android. You'll need to run manage_images.py --image base. In general, you run it for the Dockerfile you're updating.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done!

@asaadaldien
asaadaldien force-pushed the ataei-update_android_docker branch from 024f86c to a691dd5 Compare December 7, 2020 23:52

@GMNGeoffrey GMNGeoffrey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great, thanks! Note that the Android buildkite workflow doesn't use this mechanism to pick the correct hash (which should be fixed) and always reaches for the prod tag. So it won't be updated until you complete the last step after merging your PR: https://github.com/google/iree/tree/main/build_tools/docker#part-3-updating-the-prod-tag

@asaadaldien
asaadaldien merged commit da4c927 into main Dec 8, 2020
@asaadaldien
asaadaldien deleted the ataei-update_android_docker branch December 8, 2020 00:44
@asaadaldien

Copy link
Copy Markdown
Contributor Author

Great, thanks! Note that the Android buildkite workflow doesn't use this mechanism to pick the correct hash (which should be fixed) and always reaches for the prod tag. So it won't be updated until you complete the last step after merging your PR: https://github.com/google/iree/tree/main/build_tools/docker#part-3-updating-the-prod-tag

Thanks updating now.....

@hanhanW hanhanW mentioned this pull request Dec 8, 2020
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.

3 participants