Skip to content

Commit

Permalink
chore(docker): multi arch support
Browse files Browse the repository at this point in the history
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
  • Loading branch information
ishidawataru committed Mar 12, 2024
1 parent fef67dc commit f6e89a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ COPY test/nccl test/nccl
RUN cd test && make build-nccl

COPY test/nccl-tests test/nccl-tests
RUN cd test && MPI_HOME=/usr/lib/x86_64-linux-gnu/openmpi make build-nccl-tests
COPY --from=tonistiigi/xx / /
ARG TARGETPLATFORM
RUN cd test && MPI_HOME=/usr/lib/$(xx-info march)-linux-gnu/openmpi make build-nccl-tests

COPY nccl_plugin nccl_plugin

Expand Down

0 comments on commit f6e89a9

Please sign in to comment.