Skip to content
Snippets Groups Projects
Unverified Commit 19ec5da5 authored by Tariq's avatar Tariq Committed by GitHub
Browse files

Merge pull request #308 from NVIDIA/rhel-libnvsdm

[RHEL] install libnvsdm packages to support nvl5+ systems
parents aed4a2c1 37428276
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,10 @@ RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "550" ]; then \
RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "570" ]; then \
dnf install -y infiniband-diags nvlsm; fi
# libnvsdm packages are not available for arm64
RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "570" ] && [ "$TARGETARCH" != "arm64" ]; then \
dnf install -y libnvsdm-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; fi
COPY nvidia-driver /usr/local/bin
COPY ocp_dtk_entrypoint /usr/local/bin
COPY common.sh /usr/local/bin
......
......@@ -78,6 +78,10 @@ RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "550" ]; then \
RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "570" ]; then \
dnf install -y infiniband-diags nvlsm; fi
# libnvsdm packages are not available for arm64
RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "570" ] && [ "$TARGETARCH" != "arm64" ]; then \
dnf install -y libnvsdm-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; fi
COPY nvidia-driver /usr/local/bin
COPY ocp_dtk_entrypoint /usr/local/bin
COPY common.sh /usr/local/bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment