-
Notifications
You must be signed in to change notification settings - Fork 8
/
hvx.cabal
101 lines (95 loc) · 3.44 KB
/
hvx.cabal
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
name : hvx
version : 0.3.0.1
synopsis : Solves convex optimization problems with subgradient methods.
license-file : LICENSE
author : Chris Copeland and Michael Haggblade
category : Math
build-type : Simple
cabal-version : >=1.20
tested-with : GHC == 8.2.1
library
exposed-modules : HVX
, HVX.Primitives
, HVX.Internal.Constraints
, HVX.Internal.DCP
, HVX.Internal.Matrix
, HVX.Internal.Primitives
, HVX.Internal.Solvers
, HVX.Internal.SymbolicSubgrad
, HVX.Internal.TestUtil
, HVX.Internal.Util
other-extensions : CPP
DataKinds
FlexibleContexts
GADTs
KindSignatures
TypeFamilies
-- closed type families need ghc>=7.8 which has base==4.7
build-depends : base < 5 && >= 4.7
, QuickCheck > 2.5
, hmatrix >= 0.18.0.1 && < 0.21
, deepseq >= 1.4.3.0 && < 1.6
hs-source-dirs : src
default-language : Haskell2010
ghc-options : -Wall
test-suite haskell-tests
type : exitcode-stdio-1.0
build-depends : base < 5
, QuickCheck > 2.5
, hspec
, hmatrix >= 0.18.0.1 && < 0.21
, deepseq >= 1.4.3.0 && < 1.6
hs-source-dirs : test, src
main-is : Spec.hs
other-modules : HVX
, HVX.BlackBoxTests.HuberTestSpec
, HVX.BlackBoxTests.ManyvarTestSpec
, HVX.Internal.Constraints
, HVX.Internal.DCP
, HVX.Internal.Matrix
, HVX.Internal.Primitives
, HVX.Internal.Solvers
, HVX.Internal.SymbolicSubgrad
, HVX.Internal.TestUtil
, HVX.Internal.Util
, HVX.Primitives
, HVX.SymbolicSubgradSpec
default-language : Haskell2010
ghc-options : -Wall
-- tests/SymbolicSubgradSpec.hs tests gradients of
-- functions that do not follow the hvx
-- rules. This cpp definition removes a constraint
-- that would cause a compile failure.
cpp-options : -DDISABLE_EXPR_CXT
test-suite shell-tests
type : exitcode-stdio-1.0
build-depends : base < 5
, directory
, process
, filepath
, hmatrix >= 0.18.0.1 && < 0.21
, deepseq >= 1.4.3.0 && < 1.6
hs-source-dirs : test
main-is : DcpTests.hs
default-language : Haskell2010
ghc-options : -Wall
executable demo
hs-source-dirs : examples
main-is : demo.hs
build-depends : base < 5 && >= 4.7
, QuickCheck > 2.5
, hmatrix >= 0.18.0.1 && < 0.21
, hvx
, deepseq >= 1.4.3.0 && < 1.6
default-language : Haskell2010
ghc-options : -Wall
executable subgrad
hs-source-dirs : examples
main-is : subgrad.hs
build-depends : base < 5 && >= 4.7
, QuickCheck > 2.5
, hmatrix >= 0.18.0.1 && < 0.21
, hvx
, deepseq >= 1.4.3.0 && < 1.6
default-language : Haskell2010
ghc-options : -Wall