提交 5d9af3ec 编写于 作者: M Megvii Engine Team 提交者: “wenjuan”

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

GitOrigin-RevId: e25dad310d842dcf2681f830f1194816002e4456
上级 c6a350b1
...@@ -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.
先完成此消息的编辑!
想要评论请 注册