Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initiate arm64 CI support [skip ci] #9308

Merged
merged 2 commits into from
Sep 28, 2023
Merged

Conversation

pxLi
Copy link
Collaborator

@pxLi pxLi commented Sep 27, 2023

part of #9274

In this change we,

  1. Add a dockerfile to support cross-platform build.
  2. add some doc to show how to build project with arm64

ARCH default as arm64, CUDA default as 11.8.0 (depends on arm support of official cuda images in dockerhub)

All changes have been verified in CI (the image has been used in nightly already) and local ENVs

Signed-off-by: Peixin Li <pxli@nyu.edu>
@pxLi pxLi added documentation Improvements or additions to documentation build Related to CI / CD or cleanly building labels Sep 27, 2023
@pxLi
Copy link
Collaborator Author

pxLi commented Sep 27, 2023

build

CONTRIBUTING.md Outdated Show resolved Hide resolved
jenkins/Dockerfile-blossom.multi Outdated Show resolved Hide resolved
Comment on lines 69 to 70
# export JAVA_HOME for mvn option 'source-javadoc'
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-${ARCH}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit This should be near the line that updates the Java alternatives so it's easier to keep the two in sync.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch thx

@pxLi
Copy link
Collaborator Author

pxLi commented Sep 28, 2023

build

@pxLi pxLi merged commit a9403dc into NVIDIA:branch-23.12 Sep 28, 2023
29 checks passed
ARG UCX_VER=1.15.0-rc6
# multi-platform build with: docker buildx build --platform linux/arm64,linux/amd64 <ARGS> on either amd64 or arm64 host
# check available official arm-based docker images at https://hub.docker.com/r/nvidia/cuda/tags (OS/ARCH)
FROM --platform=$TARGETPLATFORM nvidia/cuda:${CUDA_VER}-runtime-ubuntu${UBUNTU_VER}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is to define TARGETPLATFORM ?

jenkins/Dockerfile-blossom.multi Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants