File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ RUN source /usr/local/Ascend/ascend-toolkit/set_env.sh --force \
4949# -- Organize build artifacts for copying in later stages --
5050# Create a lib directory to store all .so files
5151RUN mkdir -p /app/lib && \
52- find build -name "*.so" -exec cp {} /app/lib \;
52+ find build -name "*.so* " -exec cp -P {} /app/lib \;
5353
5454# Create a full directory to store all executables and Python scripts
5555RUN mkdir -p /app/full && \
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN if [ "$TARGETARCH" = "amd64" ] || [ "$TARGETARCH" = "arm64" ]; then \
2020 cmake --build build -j $(nproc)
2121
2222RUN mkdir -p /app/lib && \
23- find build -name "*.so" -exec cp {} /app/lib \;
23+ find build -name "*.so* " -exec cp -P {} /app/lib \;
2424
2525RUN mkdir -p /app/full \
2626 && cp build/bin/* /app/full \
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ RUN if [ "${CUDA_DOCKER_ARCH}" != "default" ]; then \
2525 cmake --build build --config Release -j$(nproc)
2626
2727RUN mkdir -p /app/lib && \
28- find build -name "*.so" -exec cp {} /app/lib \;
28+ find build -name "*.so* " -exec cp -P {} /app/lib \;
2929
3030RUN mkdir -p /app/full \
3131 && cp build/bin/* /app/full \
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ RUN if [ "${GGML_SYCL_F16}" = "ON" ]; then \
2121 cmake --build build --config Release -j$(nproc)
2222
2323RUN mkdir -p /app/lib && \
24- find build -name "*.so" -exec cp {} /app/lib \;
24+ find build -name "*.so* " -exec cp -P {} /app/lib \;
2525
2626RUN mkdir -p /app/full \
2727 && cp build/bin/* /app/full \
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ RUN if [ "${MUSA_DOCKER_ARCH}" != "default" ]; then \
3232 cmake --build build --config Release -j$(nproc)
3333
3434RUN mkdir -p /app/lib && \
35- find build -name "*.so" -exec cp {} /app/lib \;
35+ find build -name "*.so* " -exec cp -P {} /app/lib \;
3636
3737RUN mkdir -p /app/full \
3838 && cp build/bin/* /app/full \
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ RUN HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -R)" \
4545 && cmake --build build --config Release -j$(nproc)
4646
4747RUN mkdir -p /app/lib \
48- && find build -name "*.so" -exec cp {} /app/lib \;
48+ && find build -name "*.so* " -exec cp -P {} /app/lib \;
4949
5050RUN mkdir -p /app/full \
5151 && cp build/bin/* /app/full \
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN cmake -B build -DGGML_NATIVE=OFF -DGGML_VULKAN=ON -DLLAMA_BUILD_TESTS=OFF -D
2020 cmake --build build --config Release -j$(nproc)
2121
2222RUN mkdir -p /app/lib && \
23- find build -name "*.so" -exec cp {} /app/lib \;
23+ find build -name "*.so* " -exec cp -P {} /app/lib \;
2424
2525RUN mkdir -p /app/full \
2626 && cp build/bin/* /app/full \
You can’t perform that action at this time.
0 commit comments