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

fix native cd builds #18337

Merged
merged 1 commit into from
May 17, 2020
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
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