Skip to content

Commit

Permalink
fix build error in ascend dockerfile (#2667)
Browse files Browse the repository at this point in the history
  • Loading branch information
CyCle1024 authored Oct 28, 2024
1 parent a8b2765 commit 1c22731
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile_aarch64_ascend
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ $LD_LIBRARY_PATH
ARG CHIP=all
ARG TOOLKIT_PKG=Ascend-cann-toolkit_*.run
ARG KERNELS_PKG=Ascend-cann-kernels-*.run
ARG NNAL_PKG=Ascend-nnal_*.run
ARG NNAL_PKG=Ascend-cann-nnal_*.run

RUN --mount=type=cache,target=/tmp,from=build_temp,source=/tmp \
umask 0022 && \
Expand All @@ -87,6 +87,7 @@ RUN --mount=type=cache,target=/tmp,from=build_temp,source=/tmp \
chmod +x $TOOLKIT_PKG $KERNELS_PKG $NNAL_PKG && \
./$TOOLKIT_PKG --quiet --install --install-path=$ASCEND_BASE --install-for-all $CHIPOPTION && \
./$KERNELS_PKG --quiet --install --install-path=$ASCEND_BASE --install-for-all && \
. /usr/local/Ascend/ascend-toolkit/set_env.sh && \
./$NNAL_PKG --quiet --install --install-path=$ASCEND_BASE && \
rm -f $TOOLKIT_PKG $KERNELS_PKG $NNAL_PKG

Expand Down

0 comments on commit 1c22731

Please sign in to comment.