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

Pin IREE to specific version #166

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Pin IREE to specific version #166

merged 1 commit into from
Sep 4, 2024

Conversation

marbre
Copy link
Collaborator

@marbre marbre commented Sep 4, 2024

Pins IREE checkout in the CI or obtained via FetchContent to the same specified version. Furthermore, installs the iree-compiler in the CI.

@@ -46,6 +47,7 @@ jobs:
repository: iree-org/iree
path: ${{ env.IREE_REPO_DIR }}
submodules: false
ref: ${{ env.IREE_REF }}
Copy link
Member

Choose a reason for hiding this comment

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

Any particular reason to store this in an environment variable instead of inlining it?

Suggested change
ref: ${{ env.IREE_REF }}
ref: candidate-20240904.1006

Unless using it in multiple places, I'd prefer to save the one line of code :D

Copy link
Collaborator Author

@marbre marbre Sep 4, 2024

Choose a reason for hiding this comment

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

The intention was to make have this and well as other vars grouped and near to the top to make it more convenient to update these. But no strong feeling.

Copy link
Member

@ScottTodd ScottTodd Sep 4, 2024

Choose a reason for hiding this comment

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

Gotcha. I see your point, but I also like to having some of that local to the actions/checkout step. Not a big deal either way.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed the environment variable and moved it to the action :)

.github/workflows/ci_linux_x64_asan-libshortfin.yml Outdated Show resolved Hide resolved
Pins IREE checkout in the CI or obtained via FetchContent to the same
specified version. Furthermore, installs the iree-compiler in the CI.
@marbre marbre merged commit 547ced4 into nod-ai:main Sep 4, 2024
7 checks passed
@marbre marbre deleted the iree-compiler branch September 4, 2024 21:42
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