summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-04-22 20:23:37 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-04-22 20:23:37 -0400
commit4e6a7b130d5fdd5ee04fcec7f1286b4a6aaf82af (patch)
treefe829c77eb84ea0e4cd0f0c87b72af232ea7bf87
parent1b357ef128e8d3322ece1484c090c81bac53ee70 (diff)
Revert "add debugging for odd OOM or hang on 5 architectures, all where configure runs sha224sum"
This reverts commit dbc01939f3da3653df51f1fe8b2d5da891ea8828. The OOM was cabal's way of telling us it couldn't resolve dependencies.
-rw-r--r--Build/Configure.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/Build/Configure.hs b/Build/Configure.hs
index c5e3b9735..116a44215 100644
--- a/Build/Configure.hs
+++ b/Build/Configure.hs
@@ -7,7 +7,6 @@ import Control.Applicative
import System.Environment (getArgs)
import Control.Monad.IfElse
import Control.Monad
-import System.IO
import Build.TestConfig
import Build.Version
@@ -63,11 +62,7 @@ shaTestCases l = map make l
key = "sha" ++ show n
search [] = return Nothing
search (c:cmds) = do
- putStr $ "(" ++ c
- hFlush stdout
sha <- externalSHA c n "/dev/null"
- putStr $ ":" ++ show sha ++ ")"
- hFlush stdout
if sha == Right knowngood
then return $ Just c
else search cmds