From 7410497b25805005dbd8f531b4ab53c4aa9bdaee Mon Sep 17 00:00:00 2001 From: Leonard Lausen Date: Mon, 9 Nov 2020 21:57:54 +0000 Subject: [PATCH 1/2] Disable ENABLE_TESTCOVERAGE on CentOS 7 build Causes significant slowdown in connection with the system (devtoolset) provided OpenMP libraries. --- ci/docker/runtime_functions.sh | 1 - 1 file changed, 1 deletion(-) 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 \ From 8340dd18bba13094767dbe0d4cdf2ec86d0e11e6 Mon Sep 17 00:00:00 2001 From: Leonard Lausen Date: Mon, 9 Nov 2020 22:46:50 +0000 Subject: [PATCH 2/2] Fix Jenkins_steps.groovy --- ci/jenkins/Jenkins_steps.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {