docker : preserve .so symlinks for docker container builds (#17214)

This commit is contained in:
Mike Abbott
2025-11-12 12:33:55 -07:00
committed by GitHub
parent 374fe09cdd
commit 92bb442ad9
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ RUN source /usr/local/Ascend/ascend-toolkit/set_env.sh --force \
# -- Organize build artifacts for copying in later stages --
# Create a lib directory to store all .so files
RUN mkdir -p /app/lib && \
find build -name "*.so" -exec cp {} /app/lib \;
find build -name "*.so*" -exec cp -P {} /app/lib \;
# Create a full directory to store all executables and Python scripts
RUN mkdir -p /app/full && \