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

build docs with CPP package #13983

Merged
merged 1 commit into from
Jan 28, 2019
Merged

build docs with CPP package #13983

merged 1 commit into from
Jan 28, 2019

Conversation

aaronmarkham
Copy link
Contributor

@aaronmarkham aaronmarkham commented Jan 24, 2019

Description

Fixes #13920
This PR will generate docs for the functions in op.h which is created only if you build MXNet with USE_CPP_PACKAGE=1.

Comments

This generates a lot of warnings, but C++ pipeline hasn't been cleaned up yet anyway, so it's not a big deal at the moment. Having the APIs documented is more important than getting a bunch of warnings. That being said, it would be great if someone familiar with the C++ code can figure out why Doxygen is not happy with the op.h's docstrings.

Preview

http:https://34.201.8.176/versions/c_op/doxygen/op_8h.html

@aaronmarkham aaronmarkham added C++ Related to C++ Website labels Jan 24, 2019
app.builder.srcdir)
else:
_run_cmd("cd %s/.. && make -j$(nproc) DEBUG=1 USE_MKLDNN=0" %
_run_cmd("cd %s/.. && make -j$(nproc) DEBUG=1 USE_MKLDNN=0 USE_CPP_PACKAGE=1" %
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to build with DEBUG=1 if we're only interested in documentation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's always been there. Not sure of the impact of removing it. Maybe I can test it out and remove it in another PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That'd be great :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember that I added the DEBUG flag quite some time ago, but that was to build with debug symbols. Probably some copy&paste leftover. It doubles the buildtime though if I remember correctly

@aaronmarkham aaronmarkham merged commit a82094d into apache:master Jan 28, 2019
jlcontreras pushed a commit to jlcontreras/incubator-mxnet that referenced this pull request Feb 14, 2019
stephenrawls pushed a commit to stephenrawls/incubator-mxnet that referenced this pull request Feb 16, 2019
haohuanw pushed a commit to haohuanw/incubator-mxnet that referenced this pull request Jun 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C++ Related to C++ Website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants