提交 bfd9eba0 编写于 作者: Y yonip

Add flag to setup.py call so skbuild doesn't default to osx 10.6

上级 09fecca8
......@@ -10,6 +10,14 @@ function build_wheel {
build_bdist_wheel $@
}
function bdist_wheel_cmd {
# copied from multibuild's common_utils.sh
# add osx deployment target so it doesnt default to 10.6
local abs_wheelhouse=$1
python setup.py bdist_wheel -- -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.7
cp dist/*.whl $abs_wheelhouse
}
if [ -n "$IS_OSX" ]; then
echo " > OSX environment "
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册