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

Commit

Permalink
Fixing build for gluon estimator test, including libtvm in pack libs (#…
Browse files Browse the repository at this point in the history
…16148)

* Fixing build for gluon estimator test, including libtvm in pack libs

* Fixing html build for nightly
  • Loading branch information
Vikas-kum authored and anirudh2290 committed Sep 12, 2019
1 parent 61e8347 commit 5b42065
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion docs/mxdoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,13 @@ def copy_artifacts(app):
def setup(app):
# If MXNET_DOCS_BUILD_MXNET is set something different than 1
# Skip the build step
if os.getenv('MXNET_DOCS_BUILD_MXNET') == '1'or _MXNET_DOCS_BUILD_MXNET:
env_build_mxnet = os.getenv('MXNET_DOCS_BUILD_MXNET', default=None)
should_build_mxnet = _MXNET_DOCS_BUILD_MXNET
if env_build_mxnet is not None:
print("env MXNET_DOCS_BUILD_MXNET is set to " + str(env_build_mxnet))
should_build_mxnet = (env_build_mxnet == '1')

if should_build_mxnet:
print("Building MXNet!")
app.connect("builder-inited", build_mxnet)
if _DOXYGEN_DOCS:
Expand Down
4 changes: 2 additions & 2 deletions tests/nightly/JenkinsfileForBinaries
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
//
//This is a Jenkinsfile for nightly tests. The format and some functions have been picked up from the top-level Jenkinsfile

mx_lib = 'lib/libmxnet.so, lib/libmxnet.a, 3rdparty/dmlc-core/libdmlc.a, 3rdparty/tvm/nnvm/lib/libnnvm.a'
mx_cmake_lib = 'build/libmxnet.so, build/libmxnet.a, build/3rdparty/dmlc-core/libdmlc.a, build/tests/mxnet_unit_tests, build/3rdparty/openmp/runtime/src/libomp.so'
mx_lib = 'lib/libmxnet.so, lib/libmxnet.a, lib/libtvm_runtime.so, lib/libtvmop.so, 3rdparty/dmlc-core/libdmlc.a, 3rdparty/tvm/nnvm/lib/libnnvm.a'
mx_cmake_lib = 'build/libmxnet.so, build/libmxnet.a, build/3rdparty/tvm/libtvm_runtime.so, build/libtvmop.so, build/3rdparty/dmlc-core/libdmlc.a, build/tests/mxnet_unit_tests, build/3rdparty/openmp/runtime/src/libomp.so'

node('utility') {
// Loading the utilities requires a node context unfortunately
Expand Down

0 comments on commit 5b42065

Please sign in to comment.