mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-11-03 00:44:23 +08:00
add --force-reinstall --no-cache-dir when pip install fastdeploy*.whl (#2682)
Some checks failed
Deploy GitHub Pages / deploy (push) Has been cancelled
Some checks failed
Deploy GitHub Pages / deploy (push) Has been cancelled
This commit is contained in:
5
build.sh
5
build.sh
@@ -166,7 +166,7 @@ function build_and_install() {
|
||||
|
||||
echo -e "${BLUE}[install]${NONE} installing fastdeploy..."
|
||||
cd $DIST_DIR
|
||||
find . -name "fastdeploy*.whl" | xargs ${python} -m pip install
|
||||
${python} -m pip install ./dist/fastdeploy*.whl --force-reinstall --no-cache-dir
|
||||
if [ $? -ne 0 ]; then
|
||||
cd ..
|
||||
echo -e "${RED}[FAIL]${NONE} install fastdeploy wheel failed"
|
||||
@@ -228,9 +228,6 @@ if [ "$BUILD_WHEEL" -eq 1 ]; then
|
||||
${BLUE}fastdeploy branch:${NONE} $EFFLLM_BRANCH ($EFFLLM_COMMIT)\n"
|
||||
|
||||
echo -e "${GREEN}wheel saved under${NONE} ${RED}${BOLD}./dist${NONE}"
|
||||
|
||||
# install wheel
|
||||
${python} -m pip install ./dist/fastdeploy*.whl
|
||||
echo -e "${GREEN}wheel install success${NONE}\n"
|
||||
|
||||
trap : 0
|
||||
|
||||
Reference in New Issue
Block a user