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

Commit

Permalink
fix native cd builds (#18337)
Browse files Browse the repository at this point in the history
  • Loading branch information
mseth10 authored May 17, 2020
1 parent 09224c4 commit 9482728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/pip/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ def skip_markdown_comments(md):
elif variant.startswith('CU92'):
libraries.append('CUDA-9.2')

if variant != 'native':
if variant != 'NATIVE':
libraries.append('MKLDNN')

short_description += ' This version uses {0}.'.format(' and '.join(libraries))

package_data = {'mxnet': [os.path.join('mxnet', os.path.basename(LIB_PATH[0]))],
'dmlc_tracker': []}
if variant != 'native':
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 9482728

Please sign in to comment.