File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ function build_and_install() {
166
166
167
167
echo -e " ${BLUE} [install]${NONE} installing fastdeploy..."
168
168
cd $DIST_DIR
169
- find . -name " fastdeploy*.whl " | xargs ${python} -m pip install
169
+ ${python} -m pip install ./dist/fastdeploy * .whl --force-reinstall --no-cache-dir
170
170
if [ $? -ne 0 ]; then
171
171
cd ..
172
172
echo -e " ${RED} [FAIL]${NONE} install fastdeploy wheel failed"
@@ -228,9 +228,6 @@ if [ "$BUILD_WHEEL" -eq 1 ]; then
228
228
${BLUE} fastdeploy branch:${NONE} $EFFLLM_BRANCH ($EFFLLM_COMMIT )\n"
229
229
230
230
echo -e " ${GREEN} wheel saved under${NONE} ${RED}${BOLD} ./dist${NONE} "
231
-
232
- # install wheel
233
- ${python} -m pip install ./dist/fastdeploy* .whl
234
231
echo -e " ${GREEN} wheel install success${NONE} \n"
235
232
236
233
trap : 0
You can’t perform that action at this time.
0 commit comments