mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
remove redundant install whl of fastdeploy (#2726)
* remove redundant install * remove redundant install
This commit is contained in:
13
build.sh
13
build.sh
@@ -163,17 +163,6 @@ function build_and_install() {
|
||||
exit 1
|
||||
fi
|
||||
echo -e "${BLUE}[build]${NONE} ${GREEN}build fastdeploy wheel success${NONE}\n"
|
||||
|
||||
echo -e "${BLUE}[install]${NONE} installing fastdeploy..."
|
||||
cd $DIST_DIR
|
||||
find . -name "fastdeploy*.whl" | xargs ${python} -m pip install --force-reinstall --no-cache-dir
|
||||
if [ $? -ne 0 ]; then
|
||||
cd ..
|
||||
echo -e "${RED}[FAIL]${NONE} install fastdeploy wheel failed"
|
||||
exit 1
|
||||
fi
|
||||
echo -e "${BLUE}[install]${NONE} ${GREEN}fastdeploy install success${NONE}\n"
|
||||
cd ..
|
||||
}
|
||||
|
||||
function version_info() {
|
||||
@@ -246,7 +235,7 @@ if [ "$BUILD_WHEEL" -eq 1 ]; then
|
||||
echo -e "${GREEN}wheel saved under${NONE} ${RED}${BOLD}./dist${NONE}"
|
||||
|
||||
# install wheel
|
||||
${python} -m pip install ./dist/fastdeploy*.whl
|
||||
${python} -m pip install ./dist/fastdeploy*.whl --force-reinstall --no-cache-dir
|
||||
echo -e "${GREEN}wheel install success${NONE}\n"
|
||||
|
||||
trap : 0
|
||||
|
||||
Reference in New Issue
Block a user