-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbits-extra.cabal
108 lines (97 loc) · 4.29 KB
/
bits-extra.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
cabal-version: 2.2
name: bits-extra
version: 0.0.2.3
synopsis: Useful bitwise operations
description: Please see the README on Github at <https://github.com/haskell-works/bits-extra#readme>
category: Data, Bit
homepage: https://github.com/haskell-works/bits-extra#readme
bug-reports: https://github.com/haskell-works/bits-extra/issues
author: John Ky
maintainer: [email protected]
copyright: 2018-2021 John Ky
license: BSD-3-Clause
license-file: LICENSE
tested-with: GHC == 9.12.1, GHC == 9.10.1, GHC == 9.8.4, GHC == 9.6.6, GHC == 9.4.8, GHC == 9.2.8, GHC == 9.0.2, GHC == 8.10.7
build-type: Simple
extra-source-files: ChangeLog.md
README.md
source-repository head
type: git
location: https://github.com/haskell-works/bits-extra
flag bmi2
description: Enable bmi2 instruction set
manual: False
default: False
common base { build-depends: base >= 4.11 && < 5 }
common criterion { build-depends: criterion >= 1.3 && < 1.7 }
common doctest { build-depends: doctest >= 0.16.2 && < 0.25 }
common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 }
common ghc-prim { build-depends: ghc-prim >= 0.5 && < 0.14 }
common hedgehog { build-depends: hedgehog >= 0.5.3 && < 1.6 }
common hspec { build-depends: hspec >= 2.4 && < 3 }
common hw-hedgehog { build-depends: hw-hedgehog >= 0.1 && < 0.2 }
common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog >= 0.1 && < 0.2 }
common vector { build-depends: vector >= 0.12 && < 0.14 }
common config
default-language: Haskell2010
ghc-options: -Wall
if (flag(bmi2)) && (impl(ghc >= 8.4.1))
ghc-options: -mbmi2 -msse4.2
cpp-options: -DBMI2_ENABLED
common bits-extra
build-depends: bits-extra
library
import: base, config
, ghc-prim
, vector
hs-source-dirs: src
ghc-options: -O2
autogen-modules: Paths_bits_extra
exposed-modules: Data.Bits.BitSize
Data.Bits.Pdep
Data.Bits.Pdep.Slow
Data.Bits.Pext
Data.Bits.Pext.Slow
other-modules: Data.Bits.Pdep.Prim
Data.Bits.Pext.Prim
Paths_bits_extra
test-suite bits-extra-test
import: base, config
, ghc-prim
, hedgehog
, hspec
, hw-hedgehog
, hw-hspec-hedgehog
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
autogen-modules: Paths_bits_extra
build-depends: bits-extra
build-tool-depends: hspec-discover:hspec-discover
other-modules: Data.Bits.PdepSpec
Data.Bits.PextSpec
Paths_bits_extra
benchmark bench
import: base, config
, criterion
, ghc-prim
, vector
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Paths_bits_extra
autogen-modules: Paths_bits_extra
hs-source-dirs: bench
ghc-options: -O2
build-depends: bits-extra
test-suite doctest
import: base, config
, doctest
, doctest-discover
, bits-extra
default-language: Haskell2010
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