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

Commit

Permalink
[PIP] add build target in cmake for osx compat (#19110) (#19926)
Browse files Browse the repository at this point in the history
* add build target in cmake for osx compat

* update wheel tags

Co-authored-by: Sheng Zha <[email protected]>
  • Loading branch information
access2rohit and szha authored Feb 22, 2021
1 parent ff92b03 commit c97e89c
Showing 1 changed file with 6 additions and 1 deletion.
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

0 comments on commit c97e89c

Please sign in to comment.