From d46dc96f349092be8eebb6293ec8f512c11c0418 Mon Sep 17 00:00:00 2001 From: Leonard Lausen Date: Tue, 10 Nov 2020 15:38:25 +0000 Subject: [PATCH] Disable ENABLE_TESTCOVERAGE on CentOS 7 build (#19507) Causes significant slowdown in connection with the system (devtoolset) provided OpenMP libraries. intgemm USE_OPENMP appears to pull in system openmp https://github.com/apache/incubator-mxnet/commit/13936020d4cc3ccb2d4192adccaa282cef509193 --- ci/docker/runtime_functions.sh | 1 - ci/jenkins/Jenkins_steps.groovy | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh index 40405b96163e..9babde6585a9 100755 --- a/ci/docker/runtime_functions.sh +++ b/ci/docker/runtime_functions.sh @@ -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 \ diff --git a/ci/jenkins/Jenkins_steps.groovy b/ci/jenkins/Jenkins_steps.groovy index 20b03e9f6b4a..d7623f9a7ea3 100644 --- a/ci/jenkins/Jenkins_steps.groovy +++ b/ci/jenkins/Jenkins_steps.groovy @@ -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) } } } @@ -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 {