Skip to content

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Jan 15, 2025

A couple of things changed that cause the script to break:

  1. The .sum file in the compute-runtime release no longer lists IGC debs.
  2. The format of the IGC tags changed

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.

@sarnex sarnex marked this pull request as ready for review January 15, 2025 17:36
@sarnex sarnex requested a review from a team as a code owner January 15, 2025 17:36
@sarnex sarnex requested a review from bader January 15, 2025 17:36
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(
Copy link
Contributor

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.

:)

Copy link
Contributor Author

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"],
Copy link
Contributor

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 )?

Copy link
Contributor Author

@sarnex sarnex Jan 15, 2025

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

@sarnex sarnex merged commit 73336f3 into intel:sycl Jan 15, 2025
18 checks passed
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.

4 participants