summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2020-04-23 11:40:23 +0200
committerGitHub <noreply@github.com>2020-04-23 11:40:23 +0200
commit19c58438713d2fae596ae61c7747788fb0d46887 (patch)
tree596138fb2fb7be43d865d66ccd35f6ac5ecead07
parentb1133cb5db3b1d0d6a65ac9954330fb2c550d058 (diff)
downloadspack-19c58438713d2fae596ae61c7747788fb0d46887.tar.gz
spack-19c58438713d2fae596ae61c7747788fb0d46887.tar.bz2
spack-19c58438713d2fae596ae61c7747788fb0d46887.tar.xz
spack-19c58438713d2fae596ae61c7747788fb0d46887.zip
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.
-rwxr-xr-xshare/spack/qa/run-unit-tests6
1 files changed, 5 insertions, 1 deletions
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