cusolver 0.1.0.0 → 0.1.0.1
raw patch · 4 files changed
+30/−9 lines, 4 filessetup-changed
Files
- CHANGELOG.md +8/−1
- README.md +4/−1
- Setup.hs +12/−3
- cusolver.cabal +6/−4
CHANGELOG.md view
@@ -4,7 +4,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/). +## [0.1.0.1] - 2018-03-12+### Fixed+ * Build fix for Cabal-2.2 (ghc-8.4)+ ## 0.1.0.0 - 2017-08-24 -* First version. Released on an unsuspecting world.+ * First version. Released on an unsuspecting world.+++[0.1.0.1]: https://github.com/tmcdonell/cusparse/compare/0.1.0.0...0.1.0.1
README.md view
@@ -1,7 +1,10 @@ Haskell FFI Bindings to cuSolver ================================ -[](https://travis-ci.org/tmcdonell/cusolver)+[](https://travis-ci.org/tmcdonell/cusolver)+[](https://ci.appveyor.com/project/tmcdonell/cusolver)+[](https://stackage.org/lts/package/cusolver)+[](https://stackage.org/nightly/package/cusolver) [](https://hackage.haskell.org/package/cusolver) The cuSolver library provides useful LAPACK-like features implemented on NVIDIA
Setup.hs view
@@ -6,7 +6,6 @@ #endif import Distribution.PackageDescription-import Distribution.PackageDescription.Parse import Distribution.Simple import Distribution.Simple.Command import Distribution.Simple.LocalBuildInfo@@ -21,6 +20,11 @@ import Distribution.PackageDescription.PrettyPrint import Distribution.Version #endif+#if MIN_VERSION_Cabal(2,2,0)+import Distribution.PackageDescription.Parsec+#else+import Distribution.PackageDescription.Parse+#endif import Foreign.CUDA.Path import System.Directory@@ -181,7 +185,7 @@ notice verbosity $ printf "Provide a '%s' file to override this behaviour.\n" customBuildInfoFilePath readHookedBuildInfo verbosity generatedBuildInfoFilePath else- die $ printf "Unexpected failure. Neither the default %s nor custom %s exist.\n" generatedBuildInfoFilePath customBuildInfoFilePath+ die' verbosity $ printf "Unexpected failure. Neither the default %s nor custom %s exist.\n" generatedBuildInfoFilePath customBuildInfoFilePath -- Replicate the default C2HS preprocessor hook here, and inject a value for@@ -202,7 +206,7 @@ { platformIndependent = False , runPreProcessor = \(inBaseDir, inRelativeFile) (outBaseDir, outRelativeFile) verbosity ->- rawSystemProgramConf verbosity c2hsProgram (withPrograms lbi) . filter (not . null) $+ runDbProgram verbosity c2hsProgram (withPrograms lbi) . filter (not . null) $ maybe [] words (lookup "x-extra-c2hs-options" (customFieldsBI bi)) ++ ["--include=" ++ outBaseDir] ++ ["--cppopts=" ++ opt | opt <- getCppOptions bi lbi]@@ -240,5 +244,10 @@ #if MIN_VERSION_Cabal(1,25,0) versionBranch :: Version -> [Int] versionBranch = versionNumbers+#endif++#if !MIN_VERSION_Cabal(2,0,0)+die' :: Verbosity -> String -> IO a+die' _ = die #endif
cusolver.cabal view
@@ -1,5 +1,5 @@ name: cusolver-version: 0.1.0.0+version: 0.1.0.1 synopsis: FFI bindings to CUDA Solver, a LAPACK-like library description: The cuSolver library provides useful LAPACK-like features implemented on@@ -20,7 +20,7 @@ maintainer: Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> copyright: Copyright (c) [2017]. Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> category: Foreign-cabal-version: >=1.8+cabal-version: >=1.24 build-type: Custom extra-tmp-files: cusolver.buildinfo.generated@@ -32,7 +32,7 @@ custom-setup setup-depends: base >= 4.6- , Cabal >= 1.22+ , Cabal >= 1.24 , cuda >= 0.8 , directory >= 1.0 , filepath >= 1.0@@ -68,6 +68,8 @@ Foreign.CUDA.Solver.Internal.C2HS Foreign.CUDA.Solver.Internal.Types + default-language:+ Haskell2010 build-depends: base == 4.*@@ -94,6 +96,6 @@ source-repository this type: git location: https://github.com/tmcdonell/cusolver- tag: 0.1.0.0+ tag: 0.1.0.1 -- vim: nospell