Skip to content

Commit

Permalink
Fix missing MKLDNN headers (apache#18310)
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu authored and AntiZpvoh committed Jul 6, 2020
1 parent c36f3df commit e4a5b6e
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 @@ -149,7 +149,7 @@ def skip_markdown_comments(md):

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

0 comments on commit e4a5b6e

Please sign in to comment.