未验证 提交 494431c6 编写于 作者: R risemeup1 提交者: GitHub

modify mac-python3 whl name (#46824)

上级 dd480273
......@@ -3961,12 +3961,20 @@ function run_setup_mac(){
ccache -z
cd ..
if [ "${PYTHON_EXECUTABLE}" != "" ];then
${PYTHON_EXECUTABLE} setup.py $2;build_error=$?
if [ "$SYSTEM" == "Darwin" ]; then
${PYTHON_EXECUTABLE} setup.py $2 --plat-name=macosx_10_9_x86_64;build_error=$?
else
${PYTHON_EXECUTABLE} setup.py $2;build_error=$?
fi
else
python setup.py $2;build_error=$?
if [ "$SYSTEM" == "Darwin" ]; then
python setup.py $2 --plat-name=macosx_10_9_x86_64;build_error=$?
else
python setup.py $2;build_error=$?
fi
fi
# ci will collect ccache hit rate
collect_ccache_hits
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册