提交 7a7af8d7 编写于 作者: M Megvii Engine Team

fix(scripts): fix error of building whl with py310

GitOrigin-RevId: e25dad310d842dcf2681f830f1194816002e4456
上级 9d397727
...@@ -38,7 +38,7 @@ SRC_DIR=$($READLINK -f "`dirname $0`/../../../") ...@@ -38,7 +38,7 @@ SRC_DIR=$($READLINK -f "`dirname $0`/../../../")
source ${SRC_DIR}/scripts/whl/utils/utils.sh source ${SRC_DIR}/scripts/whl/utils/utils.sh
ALL_PYTHON=${ALL_PYTHON} ALL_PYTHON=${ALL_PYTHON}
FULL_PYTHON_VER="3.6.10 3.7.7 3.8.3 3.9.4 3.10.1" FULL_PYTHON_VER="3.6.10 3.7.7 3.8.3 3.9.4"
if [[ -z ${ALL_PYTHON} ]] if [[ -z ${ALL_PYTHON} ]]
then then
ALL_PYTHON=${FULL_PYTHON_VER} ALL_PYTHON=${FULL_PYTHON_VER}
......
...@@ -74,7 +74,7 @@ function patch_elf_depend_lib_megenginelite() { ...@@ -74,7 +74,7 @@ function patch_elf_depend_lib_megenginelite() {
SRC_DIR=$(readlink -f "`dirname $0`/../../../") SRC_DIR=$(readlink -f "`dirname $0`/../../../")
source ${SRC_DIR}/scripts/whl/utils/utils.sh source ${SRC_DIR}/scripts/whl/utils/utils.sh
SUPPORT_ALL_VERSION="36m 37m 38 39 310" SUPPORT_ALL_VERSION="36m 37m 38 39"
ALL_PYTHON=${ALL_PYTHON} ALL_PYTHON=${ALL_PYTHON}
if [[ -z ${ALL_PYTHON} ]] if [[ -z ${ALL_PYTHON} ]]
then then
......
...@@ -26,7 +26,7 @@ SRC_DIR=$(READLINK -f "`dirname $0`/../../../") ...@@ -26,7 +26,7 @@ SRC_DIR=$(READLINK -f "`dirname $0`/../../../")
source ${SRC_DIR}/scripts/whl/utils/utils.sh source ${SRC_DIR}/scripts/whl/utils/utils.sh
ALL_PYTHON=${ALL_PYTHON} ALL_PYTHON=${ALL_PYTHON}
FULL_PYTHON_VER="3.6.8 3.7.7 3.8.3 3.9.4 3.10.1" FULL_PYTHON_VER="3.6.8 3.7.7 3.8.3 3.9.4"
if [[ -z ${ALL_PYTHON} ]] if [[ -z ${ALL_PYTHON} ]]
then then
ALL_PYTHON=${FULL_PYTHON_VER} ALL_PYTHON=${FULL_PYTHON_VER}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册