Skip to content

Commit 3b24251

Browse files
fix CR cache
1 parent 72910ae commit 3b24251

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

devops/actions/run-tests/benchmark/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@ runs:
230230
# check with L0 version before using it: This value is not guaranteed to
231231
# accurately reflect the current compute_runtime version used, as the
232232
# docker images are built nightly.
233-
export COMPUTE_RUNTIME_TAG_CACHE="$(cat ./devops/dependencies.json | jq -r .linux.compute_runtime.github_tag)"
233+
COMPUTE_RUNTIME_TAG_CACHE="$(cat ./devops/dependencies.json | jq -r .linux.compute_runtime.github_tag)"
234+
echo "COMPUTE_RUNTIME_TAG_CACHE=$COMPUTE_RUNTIME_TAG_CACHE"
235+
echo "COMPUTE_RUNTIME_TAG_CACHE=$COMPUTE_RUNTIME_TAG_CACHE" >> $GITHUB_ENV
234236
235237
echo "::endgroup::"
236238
echo "::group::install_perf"

devops/scripts/benchmarks/history.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def git_info_from_path(path: Path) -> (str, str):
141141

142142
if options.git_commit_override is None or options.github_repo_override is None:
143143
if options.detect_versions.sycl:
144-
log.info(f"Auto-detecting sycl version...")
144+
log.info("Auto-detecting sycl version...")
145145
github_repo, git_hash = DetectVersion.instance().get_dpcpp_git_info()
146146
else:
147147
git_hash, github_repo = git_info_from_path(
@@ -181,6 +181,9 @@ def git_info_from_path(path: Path) -> (str, str):
181181
else:
182182
compute_runtime = "unknown"
183183

184+
log.debug(f"Compute runtime version read: {compute_runtime}")
185+
log.debug(f"Sycl repository info read: {github_repo}, ref: {git_hash}")
186+
184187
# Get platform information
185188
platform_info = get_platform_info()
186189

0 commit comments

Comments
 (0)