提交 e2a287c2 编写于 作者: H huzhiqiang 提交者: GitHub

[Python] change python version of python lib (#3652)

上级 ad9fe8cd
......@@ -383,8 +383,8 @@ function make_x86 {
-DLITE_WITH_XTCL=$BUILD_XTCL \
-DXPU_SDK_ROOT=$XPU_SDK_ROOT \
-DCMAKE_BUILD_TYPE=Release \
-DPY_VERSION=$PY_VERSION \
$PYTHON_EXECUTABLE_OPTION
make publish_inference -j$NUM_PROC
cd -
}
......@@ -518,6 +518,10 @@ function main {
PYTHON_EXECUTABLE_OPTION="-DPYTHON_EXECUTABLE=${i#*=}"
shift
;;
--python_version=*)
PY_VERSION="${i#*=}"
shift
;;
--build_apu=*)
BUILD_APU="${i#*=}"
shift
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册