Skip to content

Commit f7d8497

Browse files
kiran-thummaRuturaj4
authored andcommitted
buildkit option for docker build
(cherry picked from commit f075f90)
1 parent 7125948 commit f7d8497

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/rocm/ci_build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ def dist_wheels(
5454
except subprocess.CalledProcessError as e:
5555
print(f"Failed to remove Docker image {image}: {e}")
5656

57+
os.environ["DOCKER_BUILDKIT"] = "1"
58+
5759
cmd = [
5860
"docker",
5961
"build",
@@ -166,6 +168,8 @@ def dist_docker(
166168

167169
md = _fetch_jax_metadata(xla_path)
168170

171+
os.environ["DOCKER_BUILDKIT"] = "1"
172+
169173
cmd = [
170174
"docker",
171175
"build",

0 commit comments

Comments
 (0)