From 488e513e849ca8e7181ba6e7459dfa15a6e86be8 Mon Sep 17 00:00:00 2001
From: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Date: Fri, 14 Dec 2018 17:43:04 +0100
Subject: [PATCH] Turn on verbose output for MPICH builds in Travis (#10105)

Lately many CI runs for PRs are failing due to the `mpich` build that
times out on Travis (10 mins. without output). As the timeout seems to
happen consistently during the build phase, increasing the verbosity of
that test can help working around the issue.
---
 share/spack/qa/run-build-tests | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/share/spack/qa/run-build-tests b/share/spack/qa/run-build-tests
index 315c0b8e99..5e340d4578 100755
--- a/share/spack/qa/run-build-tests
+++ b/share/spack/qa/run-build-tests
@@ -33,8 +33,12 @@ if [ -z "$SPEC" ]; then
     exit 1
 fi
 
+if [ "${SPEC}" = "mpich" ] ; then
+    OPTIONS="-v"
+fi
+
 # Print compiler information
 spack config get compilers
 
 # Run some build smoke tests, potentially with code coverage
-${coverage_run} bin/spack install ${SPEC}
+${coverage_run} bin/spack install ${OPTIONS} ${SPEC}
-- 
GitLab