on master help sign in
Only build criterion for GHC 7.8 and later (due to binary package issues)
commit9107082031016aee7dd569db0268f536703a2721 authorMichael Snoyman <michael@snoyman.com> dateWed 30 Jul 2014, 07:17 (12 years ago) parent3e76eaf
1 file changed+4−1
Stackage/Config.hs+4−1
Stackage/Config.hs+4−1
@@ -223,7 +223,6 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
223223 , "base16-bytestring convertible"
224224 , "compdata hybrid-vectors"
225225 , "executable-path formatting"
226− , "criterion"
227226 ]
228227 when (ghcVer < GhcMajorVersion 7 8) $ do -- No GHC 7.8 support
229228 mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
@@ -231,6 +230,10 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do
231230 , "threepenny-gui unification-fd"
232231 ]
233232 addRange "FP Complete <michael@fpcomplete.com>" "compdata" "< 0.8"
233+ when (ghcVer >= GhcMajorVersion 7 8) $
234+ mapM_ (add "FP Complete <michael@fpcomplete.com>") $ words =<<
235+ [ "criterion"
236+ ]
234237
235238 -- Deprecated version
236239 addRange "FP Complete <michael@fpcomplete.com>" "persistent-mongoDB" "< 1.3.1 || > 1.3.1"