summaryrefslogtreecommitdiff
path: root/packages/sparse/hmatrix-sparse.cabal
blob: 55eb4242a1c888d83c0b4e23182dd0291c07c417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Name:               hmatrix-sparse
Version:            0.1.0
License:            BSD3
License-file:       LICENSE
Author:             Alberto Ruiz
Maintainer:         Alberto Ruiz <aruiz@um.es>
Stability:          experimental
Homepage:           https://github.com/albertoruiz/hmatrix
Synopsis:           Sparse linear solver
Description:        Interface to MKL direct sparse linear solver

-- cabal install --extra-include-dirs=$MKL --extra-lib-dirs=$MKL

Category:           Math
tested-with:        GHC ==7.8

cabal-version:      >=1.6
build-type:         Simple


library
    Build-Depends:      base, hmatrix>=0.16

    hs-source-dirs:     src

    Exposed-modules:    Numeric.LinearAlgebra.Sparse

    ghc-options:        -Wall

    c-sources:          src/Numeric/LinearAlgebra/sparse.c

    cc-options:         -O4 -Wall

    if arch(x86_64)
       cc-options:     -msse2

    if arch(i386)
       cc-options:     -msse2

    extra-libraries:    mkl_intel mkl_sequential mkl_core

source-repository head
    type:     git
    location: https://github.com/albertoruiz/hmatrix