Unverified Commit 2515bbd0 authored by Pengchao Wang's avatar Pengchao Wang Committed by GitHub
Browse files

[CI/Build][BugFix] fix cuda/compat loading order issue in docker build (#33116)


Signed-off-by: default avatarPengchao Wang <wpc@fb.com>
Co-authored-by: default avatarYe (Charlotte) Qi <yeq@meta.com>
parent c487a8ee
...@@ -135,7 +135,7 @@ ENV UV_LINK_MODE=copy ...@@ -135,7 +135,7 @@ ENV UV_LINK_MODE=copy
RUN gcc --version RUN gcc --version
# Ensure CUDA compatibility library is loaded # Ensure CUDA compatibility library is loaded
RUN echo "/usr/local/cuda-$(echo "$CUDA_VERSION" | cut -d. -f1,2)/compat/" > /etc/ld.so.conf.d/00-cuda-compat.conf && ldconfig RUN echo "/usr/local/cuda-$(echo "$CUDA_VERSION" | cut -d. -f1,2)/compat/" > /etc/ld.so.conf.d/cuda-compat.conf && ldconfig
# ============================================================ # ============================================================
# SLOW-CHANGING DEPENDENCIES BELOW # SLOW-CHANGING DEPENDENCIES BELOW
...@@ -565,7 +565,7 @@ ENV UV_INDEX_STRATEGY="unsafe-best-match" ...@@ -565,7 +565,7 @@ ENV UV_INDEX_STRATEGY="unsafe-best-match"
ENV UV_LINK_MODE=copy ENV UV_LINK_MODE=copy
# Ensure CUDA compatibility library is loaded # Ensure CUDA compatibility library is loaded
RUN echo "/usr/local/cuda-$(echo "$CUDA_VERSION" | cut -d. -f1,2)/compat/" > /etc/ld.so.conf.d/00-cuda-compat.conf && ldconfig RUN echo "/usr/local/cuda-$(echo "$CUDA_VERSION" | cut -d. -f1,2)/compat/" > /etc/ld.so.conf.d/cuda-compat.conf && ldconfig
# ============================================================ # ============================================================
# SLOW-CHANGING DEPENDENCIES BELOW # SLOW-CHANGING DEPENDENCIES BELOW
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment