[CI/Release][XPU] fix workdir path for triton shim job (#51923)
Signed-off-by: Kunshang Ji <kunshang.ji@intel.com>
Kunshang Ji committed
Aug 12, 2026 at 14:41 UTC
10f9b5d74fb4110adfc310278e029af4faea0565
1 file changed
+4
-1
.buildkite/scripts/xpu/publish-triton-shim.sh
+4
-1
@@ -20,7 +20,10 @@ fi
20
21
cd "$(dirname "${BASH_SOURCE[0]}")/../../.."
22
23
-work_dir=$(mktemp -d)
23
+# Keep temporary files under the repository so the Docker Python fallback,
24
+# which mounts the repository at /app, can access them.
25
+work_dir=$(mktemp -d "$PWD/.xpu-triton-index.XXXXXX")
26
+work_dir=${work_dir#"$PWD"/}
27
trap 'rm -rf "$work_dir"' EXIT
28
29
wheel_path="$work_dir/$WHEEL_FILENAME"