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

modify mac_whl_name (#49586)

上级 93f20a07
......@@ -3680,9 +3680,17 @@ function run_setup(){
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册