-
Notifications
You must be signed in to change notification settings - Fork 35
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
Conversation
@@ -46,6 +47,7 @@ jobs: | |||
repository: iree-org/iree | |||
path: ${{ env.IREE_REPO_DIR }} | |||
submodules: false | |||
ref: ${{ env.IREE_REF }} |
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.
Any particular reason to store this in an environment variable instead of inlining it?
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
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.
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.
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.
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.
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.
I removed the environment variable and moved it to the action :)
Pins IREE checkout in the CI or obtained via FetchContent to the same specified version. Furthermore, installs the iree-compiler in the CI.
Pins IREE checkout in the CI or obtained via FetchContent to the same specified version. Furthermore, installs the iree-compiler in the CI.