Skip to content

Commit 1c171cb

Browse files
committed
[Benchmarks] Print all important env vars in debug logs
Print also PATH and LD_LIBRARY_PATH when these are modified in benchmark commands.
1 parent 574ba2b commit 1c171cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devops/scripts/benchmarks/utils/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ def run(
6161
# order is important, we want provided sycl rt libraries to be first
6262
if add_sycl:
6363
sycl_bin_path = os.path.join(options.sycl, "bin")
64-
env["PATH"] = sycl_bin_path + os.pathsep + env.get("PATH", "")
64+
env_vars["PATH"] = sycl_bin_path + os.pathsep + env.get("PATH", "")
6565
sycl_lib_path = os.path.join(options.sycl, "lib")
66-
env["LD_LIBRARY_PATH"] = (
66+
env_vars["LD_LIBRARY_PATH"] = (
6767
sycl_lib_path + os.pathsep + env.get("LD_LIBRARY_PATH", "")
6868
)
6969

0 commit comments

Comments
 (0)