Skip to content

Commit

Permalink
Disable ENABLE_TESTCOVERAGE on CentOS 7 build (apache#19507)
Browse files Browse the repository at this point in the history
Causes significant slowdown in connection with the system (devtoolset) provided
OpenMP libraries. intgemm USE_OPENMP appears to pull in system openmp
apache@1393602
  • Loading branch information
leezu authored and Vidya Sagar Ravipati committed Nov 11, 2020
1 parent 83eb768 commit 57b7287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ build_centos7_cpu() {
export CXXFLAGS="-fabi-version=11 -fabi-compat-version=7"
cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DENABLE_TESTCOVERAGE=ON \
-DUSE_MKL_IF_AVAILABLE=OFF \
-DUSE_MKLDNN=OFF \
-DUSE_DIST_KVSTORE=ON \
Expand Down
4 changes: 2 additions & 2 deletions ci/jenkins/Jenkins_steps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def compile_centos7_cpu(lib_name) {
timeout(time: max_time, unit: 'MINUTES') {
utils.init_git()
utils.docker_run('centos7_cpu', 'build_centos7_cpu', false)
utils.pack_lib(lib_name, mx_lib, true)
utils.pack_lib(lib_name, mx_lib)
}
}
}
Expand Down Expand Up @@ -866,7 +866,7 @@ def test_centos7_python3_cpu(lib_name) {
ws('workspace/build-centos7-cpu') {
timeout(time: max_time, unit: 'MINUTES') {
try {
utils.unpack_and_init(lib_name, mx_lib, true)
utils.unpack_and_init(lib_name, mx_lib)
utils.docker_run('centos7_cpu', 'unittest_centos7_cpu', false)
utils.publish_test_coverage()
} finally {
Expand Down

0 comments on commit 57b7287

Please sign in to comment.