From a82094df97927612f766ff39143890b69278809f Mon Sep 17 00:00:00 2001 From: Aaron Markham Date: Mon, 28 Jan 2019 10:17:43 -0800 Subject: [PATCH] build docs with CPP package (#13983) --- docs/mxdoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/mxdoc.py b/docs/mxdoc.py index 54cda5f24ec8..fe3781ffe9cb 100644 --- a/docs/mxdoc.py +++ b/docs/mxdoc.py @@ -88,10 +88,10 @@ def generate_doxygen(app): def build_mxnet(app): """Build mxnet .so lib""" if not os.path.exists(os.path.join(app.builder.srcdir, '..', 'config.mk')): - _run_cmd("cd %s/.. && cp make/config.mk config.mk && make -j$(nproc) DEBUG=1 USE_MKLDNN=0" % + _run_cmd("cd %s/.. && cp make/config.mk config.mk && make -j$(nproc) DEBUG=1 USE_MKLDNN=0 USE_CPP_PACKAGE=1" % 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" % app.builder.srcdir) def build_r_docs(app):