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

Commit

Permalink
fix Jenkins pack libs
Browse files Browse the repository at this point in the history
  • Loading branch information
ashokei committed Sep 25, 2018
1 parent 24c4fb6 commit c6e2149
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mx_cmake_lib = 'build/libmxnet.so, build/libmxnet.a, build/3rdparty/dmlc-core/li
mx_cmake_lib_debug = 'build/libmxnet.so, build/libmxnet.a, build/3rdparty/dmlc-core/libdmlc.a, build/tests/mxnet_unit_tests'
mx_cmake_mkldnn_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, build/3rdparty/mkldnn/src/libmkldnn.so.0'
mx_mkldnn_lib = 'lib/libmxnet.so, lib/libmxnet.a, lib/libiomp5.so, lib/libmkldnn.so.0, lib/libmklml_intel.so, 3rdparty/dmlc-core/libdmlc.a, 3rdparty/tvm/nnvm/lib/libnnvm.a'
mx_ngraph_lib = 'lib/libmxnet.so, lib/libmxnet.a, lib/libiomp5.so, lib/libmkldnn.so.0, lib/libmklml_intel.so, lib/libcpu_backend.so, lib/libinterpreter_backend.so, lib/libngraph.so, lib/libtbb.so, 3rdparty/dmlc-core/libdmlc.a, 3rdparty/tvm/nnvm/lib/libnnvm.a'
mx_ngraph_lib = 'lib/libmxnet.so, lib/libmxnet.a, lib/libiomp5.so, lib/libmkldnn.so.0, lib/libmklml_intel.so, lib/libcpu_backend.so.0.7, lib/libngraph.so.0.7, lib/libtbb.so.2, 3rdparty/dmlc-core/libdmlc.a, 3rdparty/tvm/nnvm/lib/libnnvm.a'
mx_tensorrt_lib = 'lib/libmxnet.so, lib/libnvonnxparser_runtime.so.0, lib/libnvonnxparser.so.0, lib/libonnx_proto.so, lib/libonnx.so'
mx_lib_cpp_examples = 'lib/libmxnet.so, lib/libmxnet.a, 3rdparty/dmlc-core/libdmlc.a, 3rdparty/tvm/nnvm/lib/libnnvm.a, 3rdparty/ps-lite/build/libps.a, deps/lib/libprotobuf-lite.a, deps/lib/libzmq.a, build/cpp-package/example/lenet, build/cpp-package/example/alexnet, build/cpp-package/example/googlenet, build/cpp-package/example/lenet_with_mxdataiter, build/cpp-package/example/resnet, build/cpp-package/example/mlp, build/cpp-package/example/mlp_cpu, build/cpp-package/example/mlp_gpu, build/cpp-package/example/test_score, build/cpp-package/example/test_optimizer'
mx_lib_cpp_examples_cpu = 'build/libmxnet.so, build/cpp-package/example/mlp_cpu'
Expand Down Expand Up @@ -679,7 +679,7 @@ core_logic: {
utils.docker_run('ubuntu_cpu', 'unittest_ubuntu_cpu_ngraph', false)
utils.publish_test_coverage()
} finally {
utils.collect_test_results_unix('nosetests_ngraph.xml', 'nosetests_python3_ngraph_cpu.xml')
utils.collect_test_results_unix('nosetests_unittest.xml', 'nosetests_python3_ngraph_cpu.xml')
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,12 @@ build_ubuntu_cpu_ngraph() {
USE_MKLDNN=0 \
USE_NGRAPH=1 \
-j$(nproc)
cp lib/libmkldnn.so.0.* lib/libmkldnn.so.0.tmp
mv lib/libmkldnn.so.0.tmp lib/libmkldnn.so.0
cp lib/libcpu_backend.so.0.7.0* lib/libcpu_backend.so.0.7.tmp
mv lib/libcpu_backend.so.0.7.tmp lib/libcpu_backend.so.0.7
cp lib/libngraph.so.0.7.0* lib/libngraph.so.0.7.tmp
mv lib/libngraph.so.0.7.tmp lib/libngraph.so.0.7
}

build_ubuntu_gpu() {
Expand Down

0 comments on commit c6e2149

Please sign in to comment.