packages feed

keel-linalg-0.1.0.0: keel-linalg.cabal

cabal-version:      3.0
name:               keel-linalg
version:            0.1.0.0
synopsis:           CBLAS/LAPACKE over a runtime-loaded OpenBLAS
description:
    Dense linear algebra for Haskell with zero build-time native
    dependencies: CBLAS level-3 and LAPACKE drivers resolved at run time
    from an OpenBLAS shared library through keel-dyn, over Storable
    vectors.
    .
    The backend is located by the documented keel search policy
    (@KEEL_OPENBLAS@ env override, then the per-user keel data dir, then
    the system search path), probed for ILP64 misconfiguration via
    @openblas_get_config@, and pinned immutably in a 'Backend' handle —
    there is no global state and no backend swapping under a pure API.
license:            MIT
license-file:       LICENSE
author:             Zhe Zhang
maintainer:         Zhe Zhang
category:           Math, Numeric
build-type:         Simple
homepage:           https://github.com/skymanbp/keel
bug-reports:        https://github.com/skymanbp/keel/issues
extra-doc-files:
    CHANGELOG.md
    README.md
tested-with:        GHC ==9.10.3 || ==9.12.4 || ==9.14.1

source-repository head
    type:     git
    location: https://github.com/skymanbp/keel

common warnings
    ghc-options:      -Wall
    default-language: GHC2021

library
    import:           warnings
    exposed-modules:
        Keel.Linalg
        Keel.Linalg.Backend
    hs-source-dirs:   src
    build-depends:
        base >=4.20 && <4.23,
        keel-dyn >=0.1 && <0.2,
        vector >=0.13 && <0.14

test-suite keel-linalg-smoke
    import:           warnings
    type:             exitcode-stdio-1.0
    main-is:          Smoke.hs
    other-modules:    TestBackend
    hs-source-dirs:   test
    build-depends:
        base,
        keel-dyn >=0.1 && <0.2,
        keel-linalg >=0.1 && <0.2,
        process >=1.6 && <1.7,
        vector

test-suite keel-linalg-oracle
    import:           warnings
    type:             exitcode-stdio-1.0
    main-is:          Oracle.hs
    other-modules:    TestBackend
    hs-source-dirs:   test
    build-depends:
        base,
        keel-linalg >=0.1 && <0.2,
        process >=1.6 && <1.7,
        vector