Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[Backport][PIP] add build target in cmake for osx compat (#19110) #19926

Merged
merged 1 commit into from
Feb 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tools/pip/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@
from setuptools import setup, find_packages

if platform.system() == 'Linux':
sys.argv.append('--universal')
sys.argv.append('--python-tag')
sys.argv.append('py3')
sys.argv.append('--plat-name=manylinux2014_x86_64')
elif platform.system() == 'Darwin':
sys.argv.append('--python-tag')
sys.argv.append('py3')
sys.argv.append('--plat-name=macosx_10_13_x86_64')

# We can not import `mxnet.info.py` in setup.py directly since mxnet/__init__.py
# Will be invoked which introduces dependences
Expand Down