Cabal 1.22.7.0 → 1.22.8.0
raw patch · 4 files changed
+13/−8 lines, 4 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Distribution.Compat.ReadP: infixr 5 <++
+ Distribution.Version: instance Data.Binary.Class.Binary Data.Version.Version
Files
- Cabal.cabal +1/−1
- Distribution/Simple/GHC.hs +7/−6
- Distribution/Simple/Setup.hs +0/−1
- changelog +5/−0
Cabal.cabal view
@@ -1,5 +1,5 @@ name: Cabal-version: 1.22.7.0+version: 1.22.8.0 copyright: 2003-2006, Isaac Jones 2005-2011, Duncan Coutts license: BSD3
Distribution/Simple/GHC.hs view
@@ -542,12 +542,13 @@ } odir = fromFlag (ghcOptObjDir vanillaCcOpts) createDirectoryIfMissingVerbose verbosity True odir- needsRecomp <- checkNeedsRecompilation filename vanillaCcOpts- when needsRecomp $ do- runGhcProg vanillaCcOpts- unless forRepl $- whenSharedLib forceSharedLib (runGhcProg sharedCcOpts)- unless forRepl $ whenProfLib (runGhcProg profCcOpts)+ let runGhcProgIfNeeded ccOpts = do+ needsRecomp <- checkNeedsRecompilation filename ccOpts+ when needsRecomp $ runGhcProg ccOpts+ runGhcProgIfNeeded vanillaCcOpts+ unless forRepl $+ whenSharedLib forceSharedLib (runGhcProgIfNeeded sharedCcOpts)+ unless forRepl $ whenProfLib (runGhcProgIfNeeded profCcOpts) | filename <- cSources libBi] -- TODO: problem here is we need the .c files built first, so we can load them
Distribution/Simple/Setup.hs view
@@ -2099,7 +2099,6 @@ _ -> case reads s of [(n, "")] | n < 1 -> Left "The number of jobs should be 1 or more."- | n > 64 -> Left "You probably don't want that many jobs." | otherwise -> Right (Just n) _ -> Left "The jobs value should be a number or '$ncpus'"
changelog view
@@ -1,3 +1,8 @@+1.22.8.0 Ryan Thomas <ryan@ryant.org> March 2016+ * Distribution.Simple.Setup: remove job cap. Fixes #3191.+ * Check all object file suffixes for recompilation. Fixes #3128.+ * Move source files under 'src/'. Fixes #3003.+ 1.22.7.0 Ryan Thomas <ryan@ryant.org> January 2016 * Backport #3012 to the 1.22 branch * Cabal.cabal: change build-type to Simple