Skip to content

Commit

Permalink
[xpu] bugfix in paddle dependency packing (#57836)
Browse files Browse the repository at this point in the history
xccl/xdnn/xre do not re-download tar ball in re-building when date/version
is changed in cmake. This is due to the extra '-c' option in wget command
since the target tarball name always stays the same.
  • Loading branch information
XiaociZhang authored Oct 8, 2023
1 parent dd50d81 commit 8f1b6d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/xpu/pack_paddle_depence.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ XDNN_DIR_NAME=$4
XCCL_URL=$5
XCCL_DIR_NAME=$6

wget --no-check-certificate ${XRE_URL} -c -q -O xre.tar.gz
wget --no-check-certificate ${XRE_URL} -q -O xre.tar.gz
tar xvf xre.tar.gz

wget --no-check-certificate ${XDNN_URL} -c -q -O xdnn.tar.gz
wget --no-check-certificate ${XDNN_URL} -q -O xdnn.tar.gz
tar xvf xdnn.tar.gz

wget --no-check-certificate ${XCCL_URL} -c -q -O xccl.tar.gz
wget --no-check-certificate ${XCCL_URL} -q -O xccl.tar.gz
tar xvf xccl.tar.gz

mkdir -p xpu/include/xpu
Expand Down

0 comments on commit 8f1b6d3

Please sign in to comment.