Upgrade testing infrastructure to haskell-ci
[packages/hoopl.git] / hoopl.cabal
1 Name:                hoopl
2 Version:             3.10.2.3
3 -- NOTE: Don't forget to update ./changelog.md
4 Description:
5   Higher-order optimization library
6   .
7   See /Norman Ramsey, Joao Dias, and Simon Peyton Jones./
8   <http://research.microsoft.com/en-us/um/people/simonpj/Papers/c--/hoopl-haskell10.pdf "Hoopl: A Modular, Reusable Library for Dataflow Analysis and Transformation"> /(2010)/ for more details.
9
10 License:             BSD3
11 License-File:        LICENSE
12 Author:              Norman Ramsey, Joao Dias, Simon Marlow and Simon Peyton Jones
13 Maintainer:          Ning Wang <email@ningwang.org>, Michal Terepeta <michal.terepeta@gmail.com>, Norman Ramsey <nr@cs.tufts.edu>
14 Homepage:            https://github.com/haskell/hoopl
15 Bug-Reports:         https://github.com/haskell/hoopl/issues/
16 Build-Type:          Simple
17 Cabal-Version:       >=1.10
18 Synopsis:            A library to support dataflow analysis and optimization
19 Category:            Compilers/Interpreters
20 Tested-With:         GHC>=7.0.1
21 Extra-Source-Files:  README.md, changelog.md,
22                      testing/tests/if-test,  testing/tests/if-test.expected,
23                      testing/tests/if-test2, testing/tests/if-test2.expected,
24                      testing/tests/if-test3, testing/tests/if-test3.expected,
25                      testing/tests/if-test4, testing/tests/if-test4.expected,
26                      testing/tests/test1, testing/tests/test1.expected,
27                      testing/tests/test2, testing/tests/test2.expected,
28                      testing/tests/test3, testing/tests/test3.expected,
29                      testing/tests/test4, testing/tests/test4.expected,
30                      testing/tests/test5, testing/tests/test5.expected,
31                      testing/tests/test6, testing/tests/test6.expected,
32                      testing/tests/test7, testing/tests/test7.expected
33 tested-with:         GHC == 7.0.4,
34                      GHC == 7.2.2,
35                      GHC == 7.4.2,
36                      GHC == 7.6.3,
37                      GHC == 7.8.4,
38                      GHC == 7.10.3,
39                      GHC == 8.0.2,
40                      GHC == 8.2.2,
41                      GHC == 8.4.3
42
43 Source-repository head
44   Type:       git
45   Location:   http://git.haskell.org/packages/hoopl.git
46
47 Library
48   Default-Language:  Haskell2010
49   Other-Extensions:  CPP
50                      FlexibleContexts
51                      FlexibleInstances
52                      GADTs
53                      LiberalTypeSynonyms
54                      MultiParamTypeClasses
55                      RankNTypes
56                      ScopedTypeVariables
57                      TypeFamilies
58                      TypeSynonymInstances
59   If impl(ghc>=7.2)
60     Other-Extensions: Safe Trustworthy
61
62   Hs-Source-Dirs:    src
63   Build-Depends:     base >= 4.3 && < 4.12,
64                      containers >= 0.5 && < 0.6
65   Exposed-Modules:   Compiler.Hoopl,
66                      Compiler.Hoopl.Internals,
67                      Compiler.Hoopl.Wrappers,
68                      Compiler.Hoopl.Passes.Dominator,
69                      Compiler.Hoopl.Passes.DList
70
71   -- The remaining modules are hidden *provisionally*
72   Other-modules:     Compiler.Hoopl.Checkpoint,
73                      Compiler.Hoopl.Collections,
74                      Compiler.Hoopl.Combinators,
75                      Compiler.Hoopl.Dataflow,
76                      Compiler.Hoopl.Debug,
77                      Compiler.Hoopl.Block,
78                      Compiler.Hoopl.Graph,
79                      Compiler.Hoopl.Label,
80                      Compiler.Hoopl.MkGraph,
81                      Compiler.Hoopl.Fuel,
82                      Compiler.Hoopl.Pointed,
83                      Compiler.Hoopl.Shape,
84                      Compiler.Hoopl.Show,
85                      Compiler.Hoopl.Unique,
86                      Compiler.Hoopl.XUtil
87
88   Ghc-Options:       -Wall -fno-warn-name-shadowing
89
90 Test-Suite hoopl-test
91   Default-Language:  Haskell2010
92   Type:              exitcode-stdio-1.0
93   Main-Is:           Main.hs
94   Other-modules:     Ast
95                      Ast2ir
96                      ConstProp
97                      Eval
98                      EvalMonad
99                      Expr
100                      IR
101                      Ir2ast
102                      Live
103                      OptSupport
104                      Parse
105                      PP
106                      Simplify
107                      Test
108   Hs-Source-Dirs:    testing
109   Build-Depends:     base >= 4.3 && < 4.12,
110                      containers >= 0.5 && < 0.6,
111                      filepath,
112                      hoopl,
113                      mtl >= 2.1.3.1,
114                      parsec >= 3.1.7,
115                      test-framework < 0.9,
116                      test-framework-hunit < 0.4