name: blas
version: 0.5
homepage: http://stat.stanford.edu/~patperry/code/blas
synopsis: Bindings to the BLAS library
description:
The BLAS (Basic Linear Algebra Subprograms) are routines that provide
standard building blocks for performing basic vector and matrix operations.
The Level 1 BLAS perform scalar, vector and vector-vector operations, the
Level 2 BLAS perform matrix-vector operations, and the Level 3 BLAS perform
matrix-matrix operations. Because the BLAS are efficient, portable, and
widely available, they are commonly used in the development of high quality
linear algebra software, LAPACK for example.
.
For more information, see the Netlib BLAS webpage:
.
category: Math
license: BSD3
license-file: LICENSE
copyright: (c) 2008. Patrick Perry
author: Patrick Perry
maintainer: Patrick Perry
cabal-version: >= 1.2.0
build-type: Custom
tested-with: GHC == 6.8.2
extra-source-files: INSTALL
NEWS
tests/Makefile
tests/Banded.hs
tests/Diag.hs
tests/Matrix.hs
tests/Perm.hs
tests/HermMatrix.hs
tests/HermBanded.hs
tests/TriBanded.hs
tests/TriMatrix.hs
tests/Vector.hs
-- Below are the flags for specifying which CBLAS to link with. If no flag
-- is specified, the default is to use ATLAS. To use the "custom" flag, you
-- must edit the section at the end of the file with the name and location
-- of the CBLAS library you want to use.
flag atlas
description: Link with ATLAS.
default: False
flag gsl
description: Link with GSL unoptimized CBLAS.
default: False
flag mkl
description: Link with Intel MKL.
default: False
flag veclib
description: Link with Mac OS X vecLib.
default: False
flag custom
description: Link with a custom CBLAS.
default: False
-- You must edit this file below to use this option.
library
exposed-modules: BLAS.Access
BLAS.C
BLAS.C.Level1
BLAS.C.Level2
BLAS.C.Level3
BLAS.C.Types
BLAS.Elem
BLAS.Elem.Base
BLAS.Internal
BLAS.Matrix
BLAS.Matrix.Base
BLAS.Matrix.Immutable
BLAS.Matrix.ReadOnly
BLAS.Matrix.Solve
BLAS.Matrix.Solve.Immutable
BLAS.Matrix.Solve.ReadOnly
BLAS.Tensor
BLAS.Tensor.Base
BLAS.Tensor.Dense
BLAS.Tensor.Dense.Immutable
BLAS.Tensor.Dense.ReadOnly
BLAS.Tensor.Immutable
BLAS.Tensor.ReadOnly
BLAS.Tensor.Mutable
BLAS.Tensor.Scalable
BLAS.Types
BLAS.Vector
Data.Matrix.Banded
Data.Matrix.Banded.IO
Data.Matrix.Banded.Internal
Data.Matrix.Banded.Operations
Data.Matrix.Diag
Data.Matrix.Dense
Data.Matrix.Dense.IO
Data.Matrix.Dense.Internal
Data.Matrix.Dense.Operations
Data.Matrix.Perm
Data.Matrix.Herm
Data.Matrix.Herm.Banded
Data.Matrix.Herm.Dense
Data.Matrix.Tri
Data.Matrix.Tri.Banded
Data.Matrix.Tri.Dense
Data.Vector.Dense
Data.Vector.Dense.IO
Data.Vector.Dense.Internal
Data.Vector.Dense.Operations
Test.QuickCheck.Complex
Test.QuickCheck.Permutation
Test.QuickCheck.Vector
Test.QuickCheck.Vector.Dense
Test.QuickCheck.Matrix
Test.QuickCheck.Matrix.Banded
Test.QuickCheck.Matrix.Dense
Test.QuickCheck.Matrix.Diag
Test.QuickCheck.Matrix.Perm
Test.QuickCheck.Matrix.Herm.Banded
Test.QuickCheck.Matrix.Herm.Dense
Test.QuickCheck.Matrix.Tri.Banded
Test.QuickCheck.Matrix.Tri.Dense
other-modules: BLAS.C.Double
BLAS.C.Zomplex
ghc-options: -Wall
extensions: BangPatterns, EmptyDataDecls, FlexibleContexts,
FlexibleInstances, ForeignFunctionInterface,
FunctionalDependencies, MultiParamTypeClasses
build-depends: base, ieee, permutation, storable-complex, QuickCheck
if flag(atlas)
extra-libraries: cblas atlas
if flag(gsl)
extra-libraries: gslcblas
if flag(mkl)
if arch(x86_64)
extra-libraries: mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core
else
extra-libraries: mkl_lapack mkl_intel mkl_sequential mkl_core
if flag(veclib)
extra-libraries: cblas
if flag(custom)
-- CUSTOM CBLAS LIBS GO HERE
extra-libraries:
-- PATH TO CUSTOM LIB DIR GOES HERE
extra-lib-dirs:
-- fall back to ATLAS if no flag is specified
if !flag(atlas) && !flag(gsl) && !flag(mkl) && !flag(veclib) && !flag(custom)
extra-libraries: cblas atlas