Skip to content

Commit 7663035

Browse files
committed
format
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 449434b commit 7663035

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

devops/scripts/update_drivers.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ def uplift_linux_igfx_driver(config, platform_tag, igc_dev_only):
6969
"https://github.com/intel/intel-graphics-compiler/releases/tag/" + ver
7070
)
7171

72-
cm = get_latest_release('intel/cm-compiler', allow_prerelease=False)
73-
config[platform_tag]['cm']['github_tag'] = cm['tag_name']
74-
config[platform_tag]['cm']['version'] = cm['tag_name'].replace('cmclang-', '')
75-
config[platform_tag]['cm']['url'] = 'https://github.com/intel/cm-compiler/releases/tag/' + cm['tag_name']
72+
cm = get_latest_release("intel/cm-compiler", allow_prerelease=False)
73+
config[platform_tag]["cm"]["github_tag"] = cm["tag_name"]
74+
config[platform_tag]["cm"]["version"] = cm["tag_name"].replace("cmclang-", "")
75+
config[platform_tag]["cm"]["url"] = (
76+
"https://github.com/intel/cm-compiler/releases/tag/" + cm["tag_name"]
77+
)
7678

7779
level_zero = get_latest_release("oneapi-src/level-zero", allow_prerelease=False)
7880
config[platform_tag]["level_zero"]["github_tag"] = level_zero["tag_name"]

0 commit comments

Comments
 (0)