summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2019-10-27 17:27:17 -0400
committerBen Gamari <ben@well-typed.com>2019-10-27 17:27:17 -0400
commit90d06fd04d7efeae337a6902887a5f67393755d7 (patch)
tree7271b7ce1143995c86658d7eae50339f73a3b537 /hadrian
parentfa0d48094afb8025bd85356a5d62d2bc96eb2124 (diff)
downloadhaskell-90d06fd04d7efeae337a6902887a5f67393755d7.tar.gz
hadrian: Silence output from Support SMP check
Previously we would allow the output from the check of SMP support introduced by 83655b06e6d3e93b2d15bb0fa250fbb113d7fe68 leak to stdout. Silence this. See #16873.
Diffstat (limited to 'hadrian')
-rwxr-xr-xhadrian/build.cabal.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/build.cabal.sh b/hadrian/build.cabal.sh
index 06dcb43ba2..c385542410 100755
--- a/hadrian/build.cabal.sh
+++ b/hadrian/build.cabal.sh
@@ -22,7 +22,7 @@ CABVERSTR=$("$CABAL" --numeric-version)
CABVER=( ${CABVERSTR//./ } )
build_failed() {
- ( ghc --info | grep -s '("Support SMP","YES")' ) \
+ ( ghc --info | grep -s '("Support SMP","YES")' > /dev/null ) \
|| cat <<EOF
Your compiler does not support the threaded runtime system.
Please disable the \`threaded\` Cabal flag in project.cabal.local