-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhw-rankselect.cabal
194 lines (181 loc) · 9.17 KB
/
hw-rankselect.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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
cabal-version: 2.2
name: hw-rankselect
version: 0.13.4.1
synopsis: Rank-select
description: Please see README.md
category: Data, Bit, Succinct Data Structures, Data Structures
homepage: http://github.com/haskell-works/hw-rankselect#readme
bug-reports: https://github.com/haskell-works/hw-rankselect/issues
author: John Ky
maintainer: [email protected]
copyright: 2016-2021 John Ky
license: BSD-3-Clause
license-file: LICENSE
tested-with: GHC == 9.2.2, GHC == 9.0.2, GHC == 8.10.7, GHC == 8.8.4, GHC == 8.6.5
build-type: Simple
extra-source-files: README.md
data/README.md
data/sample-000.idx
source-repository head
type: git
location: https://github.com/haskell-works/hw-rankselect
flag bmi2
description: Enable bmi2 instruction set
manual: False
default: False
common base { build-depends: base >= 4.11 && < 5 }
common QuickCheck { build-depends: QuickCheck >= 2.10 && < 2.15 }
common bytestring { build-depends: bytestring >= 0.10 && < 0.13 }
common conduit { build-depends: conduit >= 1.2 && < 1.4 }
common criterion { build-depends: criterion >= 1.1 && < 1.7 }
common deepseq { build-depends: deepseq >= 1.4 && < 1.6 }
common directory { build-depends: directory >= 1.2 && < 1.4 }
common doctest { build-depends: doctest >= 0.16.2 && < 0.23 }
common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 }
common generic-lens { build-depends: generic-lens >= 1.2.0.1 && < 2.3 }
common hedgehog { build-depends: hedgehog >= 1.0 && < 1.5 }
common hspec { build-depends: hspec >= 2.4 && < 3 }
common hw-balancedparens { build-depends: hw-balancedparens >= 0.2.2.0 && < 0.5 }
common hw-bits { build-depends: hw-bits >= 0.4.0.0 && < 0.8 }
common hw-fingertree { build-depends: hw-fingertree >= 0.1.1.0 && < 1.2 }
common hw-hedgehog { build-depends: hw-hedgehog >= 0.1.0.1 && < 0.2 }
common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog >= 0.1 && < 0.2 }
common hw-prim { build-depends: hw-prim >= 0.6.2.23 && < 0.7 }
common hw-rankselect-base { build-depends: hw-rankselect-base >= 0.2.0.0 && < 0.4 }
common lens { build-depends: lens >= 4 && < 6 }
common mmap { build-depends: mmap >= 0.5 && < 0.6 }
common mtl { build-depends: mtl >= 2.2 && < 3 }
common optparse-applicative { build-depends: optparse-applicative >= 0.11 && < 0.19 }
common resourcet { build-depends: resourcet >= 1.1 && < 1.4 }
common transformers { build-depends: transformers >= 0.4 && < 0.7 }
common vector { build-depends: vector >= 0.12 && < 0.14 }
common config
default-language: Haskell2010
if (impl(ghc >= 8.0.1))
ghc-options: -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
if (flag(bmi2)) && (impl(ghc >=8.4.1))
ghc-options: -mbmi2
cpp-options: -DBMI2_ENABLED
if (impl(ghc > 8.2.2))
ghc-options: -O2 -Wall -msse4.2
common hw-rankselect
build-depends: hw-rankselect
library
import: base, config
, deepseq
, hw-balancedparens
, hw-bits
, hw-fingertree
, hw-prim
, hw-rankselect-base
, vector
exposed-modules: HaskellWorks.Data.RankSelect.BitSeq
HaskellWorks.Data.RankSelect.CsPoppy
HaskellWorks.Data.RankSelect.CsPoppy0
HaskellWorks.Data.RankSelect.CsPoppy1
HaskellWorks.Data.RankSelect.CsPoppy.Internal.Alpha0
HaskellWorks.Data.RankSelect.CsPoppy.Internal.Alpha1
HaskellWorks.Data.RankSelect.CsPoppy.Internal.CsInterleaved
HaskellWorks.Data.RankSelect.CsPoppy.Internal.Lookup
HaskellWorks.Data.RankSelect.CsPoppy.Internal.Nice
HaskellWorks.Data.RankSelect.CsPoppy.Internal.Reference
HaskellWorks.Data.RankSelect.CsPoppy.Internal.Vector
HaskellWorks.Data.RankSelect.Internal.BitSeq
HaskellWorks.Data.RankSelect.Internal.List
HaskellWorks.Data.RankSelect.Internal.Word
HaskellWorks.Data.RankSelect.Poppy512
other-modules: Paths_hw_rankselect
autogen-modules: Paths_hw_rankselect
hs-source-dirs: src
library hw-rankselect-gen
import: base, config
, deepseq
, hedgehog
, hspec
, hw-prim
, vector
exposed-modules: HaskellWorks.Data.RankSelect.Gen
build-depends: hw-rankselect
hs-source-dirs: gen
executable hw-rankselect
import: base, config
, directory
, generic-lens
, hw-bits
, hw-prim
, hw-rankselect
, hw-rankselect-base
, lens
, mmap
, mtl
, optparse-applicative
, vector
main-is: Main.hs
other-modules: App.Commands
App.Commands.Build
App.Commands.Options.Type
App.Commands.SelectAll
App.Commands.UnitTest
App.Commands.Validate
hs-source-dirs: app
default-extensions: OverloadedStrings TupleSections
ghc-options: -threaded -rtsopts -with-rtsopts=-N
test-suite hw-rankselect-test
import: base, config
, QuickCheck
, directory
, hedgehog
, hspec
, hw-bits
, hw-hedgehog
, hw-hspec-hedgehog
, hw-prim
, hw-rankselect
, hw-rankselect-base
, mmap
, transformers
, vector
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules: HaskellWorks.Data.RankSelect.BasicGen
HaskellWorks.Data.RankSelect.BinarySearchSpec
HaskellWorks.Data.RankSelect.BitSeqSpec
HaskellWorks.Data.RankSelect.CsPoppy.InternalSpec
HaskellWorks.Data.RankSelect.CsPoppySpec
HaskellWorks.Data.RankSelect.Gen
HaskellWorks.Data.RankSelect.InternalSpec
HaskellWorks.Data.RankSelect.Poppy512Spec
HaskellWorks.Data.RankSelect.SimpleSpec
HaskellWorks.Data.RankSelect.SpecCommon
HaskellWorks.Data.RankSelect.ValidateSpec
Test.Common
hs-source-dirs: test
build-tool-depends: hspec-discover:hspec-discover
ghc-options: -threaded -rtsopts -with-rtsopts=-N
benchmark bench
import: base, config
, bytestring
, conduit
, criterion
, directory
, hw-bits
, hw-prim
, hw-rankselect-base
, mmap
, resourcet
, vector
build-depends: hw-rankselect
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
ghc-options: -threaded -rtsopts -with-rtsopts=-N
test-suite doctest
import: base, config
, doctest
, doctest-discover
, hw-rankselect
type: exitcode-stdio-1.0
ghc-options: -threaded -rtsopts -with-rtsopts=-N
main-is: DoctestDriver.hs
HS-Source-Dirs: doctest
build-tool-depends: doctest-discover:doctest-discover