mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-02-02 17:40:26 +01:00
GHC 7.10 testing changes DO NOT MERGE
This commit is contained in:
parent
e62226e92c
commit
46f95d8ddb
@ -168,6 +168,7 @@ performBuild' pb@PerformBuild {..} = withBuildDir $ \builddir -> do
|
|||||||
$ \ClosedStream Inherited Inherited -> return ()
|
$ \ClosedStream Inherited Inherited -> return ()
|
||||||
pbLog $ encodeUtf8 "Copying built-in Haddocks\n"
|
pbLog $ encodeUtf8 "Copying built-in Haddocks\n"
|
||||||
copyBuiltInHaddocks (pbDocDir pb)
|
copyBuiltInHaddocks (pbDocDir pb)
|
||||||
|
pbLog $ encodeUtf8 "Finished copying built-in Haddocks\n"
|
||||||
|
|
||||||
sem <- atomically $ newTSem pbJobs
|
sem <- atomically $ newTSem pbJobs
|
||||||
active <- newTVarIO (0 :: Int)
|
active <- newTVarIO (0 :: Int)
|
||||||
@ -288,7 +289,7 @@ singleBuild pb@PerformBuild {..} SingleBuild {..} =
|
|||||||
log' t = do
|
log' t = do
|
||||||
i <- readTVarIO sbActive
|
i <- readTVarIO sbActive
|
||||||
errs <- readTVarIO sbErrsVar
|
errs <- readTVarIO sbErrsVar
|
||||||
pbLog $ encodeUtf8 $ concat
|
when False $ pbLog $ encodeUtf8 $ concat
|
||||||
[ t
|
[ t
|
||||||
, " (pending: "
|
, " (pending: "
|
||||||
, tshow i
|
, tshow i
|
||||||
@ -367,7 +368,6 @@ singleBuild pb@PerformBuild {..} SingleBuild {..} =
|
|||||||
args = "haddock"
|
args = "haddock"
|
||||||
: "--hyperlink-source"
|
: "--hyperlink-source"
|
||||||
: "--html"
|
: "--html"
|
||||||
: "--hoogle"
|
|
||||||
: "--html-location=../$pkg-$version/"
|
: "--html-location=../$pkg-$version/"
|
||||||
: hfsOpts
|
: hfsOpts
|
||||||
|
|
||||||
@ -416,12 +416,15 @@ singleBuild pb@PerformBuild {..} SingleBuild {..} =
|
|||||||
warn t = atomically $ modifyTVar sbWarningsVar (. (t:))
|
warn t = atomically $ modifyTVar sbWarningsVar (. (t:))
|
||||||
|
|
||||||
updateErrs exc = do
|
updateErrs exc = do
|
||||||
log' $ concat
|
case exc' of
|
||||||
[ display (piName sbPackageInfo)
|
DependencyFailed _ -> return ()
|
||||||
, ": "
|
_ -> do
|
||||||
, tshow exc
|
log' $ concat
|
||||||
]
|
[ display (piName sbPackageInfo)
|
||||||
atomically $ modifyTVar sbErrsVar $ insertMap (piName sbPackageInfo) exc'
|
, ": "
|
||||||
|
, tshow exc
|
||||||
|
]
|
||||||
|
atomically $ modifyTVar sbErrsVar $ insertMap (piName sbPackageInfo) exc'
|
||||||
where
|
where
|
||||||
exc' =
|
exc' =
|
||||||
case fromException exc of
|
case fromException exc of
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
packages:
|
packages:
|
||||||
"Michael Snoyman michael@snoyman.com @snoyberg":
|
"Michael Snoyman michael@snoyman.com @snoyberg":
|
||||||
- bzlib-conduit
|
- bzlib-conduit
|
||||||
- cabal-install < 1.19 # GHC 7.10 bumpd to 1.22
|
- cabal-install
|
||||||
- cabal-src
|
- cabal-src
|
||||||
- case-insensitive
|
- case-insensitive
|
||||||
- classy-prelude-yesod
|
- classy-prelude-yesod
|
||||||
@ -264,7 +264,7 @@ packages:
|
|||||||
- monad-products
|
- monad-products
|
||||||
- monad-st
|
- monad-st
|
||||||
- monad-st
|
- monad-st
|
||||||
- mtl < 2.2 # GHC 7.10 bump
|
- mtl
|
||||||
- nats
|
- nats
|
||||||
- numeric-extras
|
- numeric-extras
|
||||||
- parsers
|
- parsers
|
||||||
@ -596,7 +596,7 @@ packages:
|
|||||||
- hasql-backend
|
- hasql-backend
|
||||||
- hasql-postgres
|
- hasql-postgres
|
||||||
- list-t
|
- list-t
|
||||||
- mtl-prelude < 2 # GHC 7.10 bump
|
- mtl-prelude
|
||||||
- neat-interpolation
|
- neat-interpolation
|
||||||
- partial-handler
|
- partial-handler
|
||||||
- postgresql-binary
|
- postgresql-binary
|
||||||
@ -705,10 +705,6 @@ packages:
|
|||||||
|
|
||||||
"Stackage upper bounds":
|
"Stackage upper bounds":
|
||||||
|
|
||||||
# Force a specific version that's compatible with transformers 0.3
|
|
||||||
- transformers-compat == 0.3.3.3
|
|
||||||
- mtl-compat < 0.2 # https://github.com/fpco/stackage/issues/446
|
|
||||||
|
|
||||||
# https://github.com/fpco/stackage/issues/291
|
# https://github.com/fpco/stackage/issues/291
|
||||||
- random < 1.0.1.3
|
- random < 1.0.1.3
|
||||||
|
|
||||||
@ -769,24 +765,12 @@ package-flags:
|
|||||||
simplelocalnet: true
|
simplelocalnet: true
|
||||||
p2p: true
|
p2p: true
|
||||||
|
|
||||||
# GHC 7.10: Remove this
|
|
||||||
# Note that the flag is lower-cased, because that's what Cabal does
|
|
||||||
# Perhaps the codebase should automatically lower case flag names?
|
|
||||||
storable-complex:
|
|
||||||
instanceinbase: false
|
|
||||||
|
|
||||||
logfloat:
|
logfloat:
|
||||||
splitbase: true
|
splitbase: true
|
||||||
|
|
||||||
curl:
|
curl:
|
||||||
new-base: true
|
new-base: true
|
||||||
|
|
||||||
# GHC 7.10 remove
|
|
||||||
aeson:
|
|
||||||
old-locale: true
|
|
||||||
tttool:
|
|
||||||
old-locale: true
|
|
||||||
|
|
||||||
hxt:
|
hxt:
|
||||||
network-uri: true
|
network-uri: true
|
||||||
hxt-http:
|
hxt-http:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user