Skip to content

Commit

Permalink
Fix naming of image for "generic" platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
manopapad committed Oct 24, 2022
1 parent cfe0aa9 commit 6d45440
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion make_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ git_pull https://github.com/nv-legate/legate.core.git legate.core HEAD
git_pull https://github.com/nv-legate/cunumeric.git cunumeric HEAD

# Build and push image
IMAGE=legate-"$PLATFORM"-"$NETWORK"
if [[ "$PLATFORM" == generic-* ]]; then
IMAGE=legate-"$PLATFORM"
else
IMAGE=legate-"$PLATFORM"-"$NETWORK"
fi
DOCKER_BUILDKIT=1 docker build -t "$IMAGE:$TAG" \
--build-arg CUDA_VER="$CUDA_VER" \
--build-arg DEBUG="$DEBUG" \
Expand Down

0 comments on commit 6d45440

Please sign in to comment.