From 19c58438713d2fae596ae61c7747788fb0d46887 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Thu, 23 Apr 2020 11:40:23 +0200 Subject: Travis: change the spec we concretize on MacOS (#16256) Since CMake can't build with GCC on MacOS, choose a spec that doesn't have CMake in the DAG. --- share/spack/qa/run-unit-tests | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests index 01f564e5e1..4bd04bcbb9 100755 --- a/share/spack/qa/run-unit-tests +++ b/share/spack/qa/run-unit-tests @@ -37,7 +37,11 @@ bin/spack -h bin/spack help -a # Profile and print top 20 lines for a simple call to spack spec -spack -p --lines 20 spec mpileaks%gcc ^elfutils@0.170 +if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then + spack -p --lines 20 spec openmpi +else + spack -p --lines 20 spec mpileaks%gcc ^elfutils@0.170 +fi #----------------------------------------------------------- # Run unit tests with code coverage -- cgit v1.2.3-70-g09d2