-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.yaml
145 lines (132 loc) · 2.98 KB
/
package.yaml
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
name: madlib
version: 0.24.1
github: "madlib-lang/madlib"
license: BSD3
author: "Arnaud Boeglin, Brekk Bockrath"
maintainer: "fpopensorcerers@gmail.com"
copyright: "2021 Arnaud Boeglin, 2021 Brekk Bockrath"
extra-source-files:
- README.md
- ChangeLog.md
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/madlib-lang/madlib#readme>
dependencies:
- base >= 4.7 && < 5
- pretty-show
- array >= 0.5.4.0
- containers >= 0.6.2.1
- hpc-lcov
- hpc-codecov
- mtl
- transformers
- exceptions
- either
- filepath
- hspec
- hspec-golden
- text
- optparse-applicative >= 0.16.1.0
- directory == 1.3.6.0
- aeson == 1.5.6.0
- bytestring
- MissingH >= 1.4.3.0
- executable-path >= 0.0.3.1
- regex-tdfa
- process >= 1.6.9.0
- ansi-wl-pprint >= 0.6.9
- utf8-string
- process-extras
- groupBy
- cryptohash-md5
- aeson-pretty
- Glob >= 0.10.2
- prettyprinter >= 1.6.2
- parallel-io == 0.3.5
- Cabal == 3.6.2.0
- rock == 0.3.*
- dependent-sum-template == 0.1.*
- some == 1.*
- hashable
- template-haskell
- data-default == 0.7.1.1
- stm == 2.5.0.2
- unordered-containers == 0.2.16.0
- lsp
- transformers-base == 0.4.6
- lifted-base == 0.2.3.12
- dependent-sum == 0.7.1.0
- monad-control == 1.0.3.1
- constraints-extras == 0.3.2.0
- dependent-hashmap == 0.1.0.1
- time == 1.9.3
- fold-debounce == 0.2.0.9
- fsnotify == 0.3.0.1
- ansi-terminal == 0.5.0
- async == 2.2.4
- random == 1.2.1
- diagnose
- prettyprinter-ansi-terminal
- silently
- haskeline == 0.8.2.1
_exe-defs: &exe-defaults
ghc-options:
- -threaded
- -funbox-strict-fields
- -O3
- -optc-O3
- -fsimpl-tick-factor=500
- -rtsopts
- -fexcess-precision
- -optc-ffast-math
- -funfolding-use-threshold=16
# warnings
# - -Wunused-do-bind
- -Wunused-binds
- -Wunused-local-binds
- -Wunused-matches
- -Wunused-pattern-binds
- -Wunused-top-binds
- -Wunused-type-patterns
executables:
madlib:
<<: *exe-defaults
main: Main.hs
source-dirs: compiler/app
dependencies:
- madlib
when:
- condition: flag(static)
ld-options: -static
library:
<<: *exe-defaults
dependencies:
- llvm-hs == 12.0.0
- llvm-hs-pure == 12.0.0
# - llvm-hs-pretty == 12.0.0
- common
source-dirs: compiler/main
internal-libraries:
common:
<<: *exe-defaults
source-dirs: compiler/common
dependencies:
- llvm-hs-pure == 12.0.0
tests:
madlib-test:
main: Spec.hs
source-dirs:
- compiler/test
dependencies:
- hspec >= 2.7.2
- madlib
- common
flags:
static:
description: Pass -static to ghc.
manual: true
default: false