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

Commit

Permalink
[PIP] update manifest to include lib_api.cc (#19850)
Browse files Browse the repository at this point in the history
* update manifest to include lib_api.cc

Signed-off-by: Sheng Zha <zhasheng@amazon.com>

* add cc

Signed-off-by: Sheng Zha <zhasheng@amazon.com>

* fix lib_api.cc packaging

Signed-off-by: Sheng Zha <zhasheng@amazon.com>
  • Loading branch information
szha authored and Rohit Kumar Srivastava committed Feb 17, 2021
1 parent cda168b commit 9ef0fe9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/pip/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ recursive-include mxnet *_LICENSE
recursive-include mxnet *.h
recursive-include mxnet *.hpp
recursive-include mxnet *.cuh
recursive-include mxnet *.cc
recursive-include mxnet *.cpp
recursive-include dmlc_tracker *.py
1 change: 1 addition & 0 deletions tools/pip/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def has_ext_modules(self):
os.path.join(CURRENT_DIR, 'mxnet/include/nnvm'))

# copy cc file for mxnet extensions
os.mkdir(os.path.join(CURRENT_DIR, 'mxnet/src'))
shutil.copy(os.path.join(CURRENT_DIR, 'mxnet-build/src/lib_api.cc'),
os.path.join(CURRENT_DIR, 'mxnet/src'))

Expand Down

0 comments on commit 9ef0fe9

Please sign in to comment.