fast-arithmetic 0.1.0.2 → 0.1.0.3
raw patch · 4 files changed
+9/−6 lines, 4 filessetup-changed
Files
- Setup.hs +6/−3
- cbits/number-theory.c +1/−1
- cbits/numerics.c +1/−1
- fast-arithmetic.cabal +1/−1
Setup.hs view
@@ -8,6 +8,7 @@ import Codec.Compression.GZip (decompress) import Control.Concurrent.ParallelIO.Global import Control.Monad (unless, when)+import Data.List import Distribution.Simple import Distribution.Simple.Setup import Distribution.Types.GenericPackageDescription@@ -39,16 +40,18 @@ putStrLn "Setting up ATS dependencies..." - let libs = zipWith3 buildHelper+ let libs = zipWith4 buildHelper ["ats2-postiats-0.3.8-prelude", "atscntrb-hs-intinf-1.0.6", "atscntrb-libgmp-1.0.4"] ["ats-deps/prelude", "ats-deps/contrib/atscntrb-hx-intinf", "ats-deps/contrib/atscntrb-libgmp"]+ ["ats-deps/prelude/ATS2-Postiats-include-0.3.8/prelude", "ats-deps/contrib/atscntrb-hx-intinf", "ats-deps/contrib/atscntrb-libgmp/SATS"] ["https://downloads.sourceforge.net/project/ats2-lang/ats2-lang/ats2-postiats-0.3.8/ATS2-Postiats-include-0.3.8.tgz", "https://registry.npmjs.org/atscntrb-hx-intinf/-/atscntrb-hx-intinf-1.0.6.tgz", "https://registry.npmjs.org/atscntrb-libgmp/-/atscntrb-libgmp-1.0.4.tgz" ] parallel_ libs >> stopGlobalPool pure emptyHookedBuildInfo -buildHelper libName dirName url = do+buildHelper libName dirName needed url = do + -- FIXME not discerning enough! needsSetup <- not <$> doesDirectoryExist dirName when needsSetup $ do@@ -65,5 +68,5 @@ needsMove <- doesDirectoryExist (dirName ++ "/package") when needsMove $ do renameDirectory (dirName ++ "/package") "tempdir"- removeDirectoryRecursive dirName+ removeDirectory dirName renameDirectory "tempdir" dirName
cbits/number-theory.c view
@@ -1,7 +1,7 @@ /* ** ** The C code is generated by [ATS/Postiats-0-3-8]-** The starting compilation time is: 2018-1-4: 2h:26m+** The starting compilation time is: 2018-1-4: 9h: 3m ** */
cbits/numerics.c view
@@ -1,7 +1,7 @@ /* ** ** The C code is generated by [ATS/Postiats-0-3-8]-** The starting compilation time is: 2018-1-4: 2h:26m+** The starting compilation time is: 2018-1-4: 9h: 3m ** */
fast-arithmetic.cabal view
@@ -1,5 +1,5 @@ name: fast-arithmetic-version: 0.1.0.2+version: 0.1.0.3 synopsis: Fast number-theoretic functions. description: Fast number-theoretic code with a high level of safety guaranteed by ATS. homepage: https://github.com/vmchale/fast-arithmetic#readme