-
Notifications
You must be signed in to change notification settings - Fork 791
[CI] Fix driver update script with IGC #16647
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
Conversation
Signed-off-by: Sarnie, Nick <[email protected]>
config[platform_tag]['igc']['version'] = ver | ||
config[platform_tag]['igc']['url'] = 'https://github.com/intel/intel-graphics-compiler/releases/tag/igc-' + ver | ||
break | ||
m = re.search( |
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 hope that NEO team will not put into their release notes something like:
Do NOT use latest https://github.com/intel/intel-graphics-compiler/releases/tag/. It's broken ...
Use https://github.com/intel/intel-graphics-compiler/releases/tag/ instead.
:)
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.
lol yeah that would be painful
m = re.search( | ||
re.escape("https://github.com/intel/intel-graphics-compiler/releases/tag/") | ||
+ r"(v[\.0-9]+)", | ||
compute_runtime["body"], |
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.
Is this idiomatic python to have that trailing comma before the closing )
?
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 didnt have this originally but the format ci job told me to add it, so i guess yes?
https://github.com/intel/llvm/actions/runs/12793137909/job/35665241206
A couple of things changed that cause the script to break:
.sum
file in thecompute-runtime
release no longer lists IGC debs.Update the script to find the IGC tag using a regex in the
compute-runtime
release description, which is the only place that lists the corresponding IGC version.