Skip to content

Commit

Permalink
Fix tools/pip/setup.py (apache#19726)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekkuncer authored and Rohit Kumar Srivastava committed Feb 22, 2021
1 parent 9b0f4c7 commit 805f0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pip/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def skip_markdown_comments(md):

package_data = {'mxnet': [os.path.join('mxnet', os.path.basename(LIB_PATH[0]))],
'dmlc_tracker': []}
if variant != 'NATIVE':
if Features().is_enabled("MKLDNN"):
shutil.copytree(os.path.join(CURRENT_DIR, 'mxnet-build/3rdparty/mkldnn/include'),
os.path.join(CURRENT_DIR, 'mxnet/include/mkldnn'))
if platform.system() == 'Linux':
Expand Down

0 comments on commit 805f0e4

Please sign in to comment.