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.
This commit is contained in:
Massimiliano Culpo 2020-04-23 11:40:23 +02:00 committed by GitHub
parent b1133cb5db
commit 19c5843871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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