From 4956c475f48e5094adc78f463230d3305d65ec84 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Tue, 25 Jun 2024 12:02:27 -0700 Subject: [PATCH] util-docker: Set the GPU Docker images to build only to x86 These images won't work and make no sense compiling to any platform other than X86. These are used in SE mode simulations where the host platform matters. Change-Id: I47405e930bf511fabcbc93d0b08ee2fb2c556869 --- util/dockerfiles/docker-bake.hcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/dockerfiles/docker-bake.hcl b/util/dockerfiles/docker-bake.hcl index 13158d79c6..61db6b593e 100644 --- a/util/dockerfiles/docker-bake.hcl +++ b/util/dockerfiles/docker-bake.hcl @@ -179,6 +179,7 @@ group "ubuntu-releases" { target "gcn-gpu" { inherits = ["common"] + platform = "linux/amd64" # Only build for x86. dockerfile = "Dockerfile" context = "gcn-gpu" tags = ["${IMAGE_URI}/gcn-gpu:${TAG}"] @@ -186,6 +187,7 @@ target "gcn-gpu" { target "gpu-fs" { inherits = ["common"] + platform = "linux/amd64" # Only build for x86. dockerfile = "Dockerfile" context = "gpu-fs" tags = ["${IMAGE_URI}/gpu-fs:${TAG}"]