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

Commit

Permalink
Add unit test stage for mxnet cpu in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
larroy authored and Pedro Larroy committed Aug 1, 2018
1 parent 394e5cc commit 6053264
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,17 @@ try {
}
}
},
'CPU: Openblas, debug': {
node('mxnetlinux-cpu') {
ws('workspace/build-cpu-openblas') {
timeout(time: max_time, unit: 'MINUTES') {
init_git()
docker_run('ubuntu_cpu', 'build_ubuntu_cpu_cmake_debug', false)
pack_lib('cpu_debug', mx_cmake_lib)
}
}
}
},
'CPU: Clang 3.9': {
node('mxnetlinux-cpu') {
ws('workspace/build-cpu-clang39') {
Expand Down Expand Up @@ -574,6 +585,20 @@ try {
}
}
},
'Python3: CPU debug': {
node('mxnetlinux-cpu') {
ws('workspace/ut-python3-cpu') {
try {
init_git()
unpack_lib('cpu_debug')
python3_ut('ubuntu_cpu')
} finally {
collect_test_results_unix('nosetests_unittest.xml', 'nosetests_python3_cpu_unittest.xml')
collect_test_results_unix('nosetests_quantization.xml', 'nosetests_python3_cpu_quantization.xml')
}
}
}
},
'Python2: GPU': {
node('mxnetlinux-gpu') {
ws('workspace/ut-python2-gpu') {
Expand Down
19 changes: 19 additions & 0 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,25 @@ build_ubuntu_cpu_openblas() {
report_ccache_usage
}

build_ubuntu_cpu_cmake_debug() {
set -ex
pushd .
cd /work/build
cmake \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DUSE_CUDA=OFF \
-DUSE_MKL_IF_AVAILABLE=OFF \
-DUSE_OPENMP=OFF \
-DUSE_OPENCV=ON \
-DCMAKE_BUILD_TYPE=Debug \
-G Ninja \
/work/mxnet

ninja -v
popd
}

build_ubuntu_cpu_clang39() {
set -ex

Expand Down

0 comments on commit 6053264

Please sign in to comment.