-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbv.cabal
77 lines (66 loc) · 2.15 KB
/
bv.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
Name: bv
Version: 0.5
Synopsis: Bit-vector arithmetic library
Description: Bit-vectors implemented as a thin wrapper over integers.
Homepage: https://github.com/iagoabal/haskell-bv
Bug-reports: https://github.com/iagoabal/haskell-bv/issues
License: BSD3
License-file: LICENSE
Author: Iago Abal <[email protected]>
Maintainer: Iago Abal <[email protected]>
Copyright: 2012-2016 Iago Abal
Category: Data, Bit Vectors
Build-type: Simple
Cabal-version: >=1.6
Extra-source-files: README.md CHANGES.md
source-repository head
type: git
location: https://github.com/iagoabal/haskell-bv.git
Flag gmp
Description: Using Integer GMP backend.
Default: True
Flag test
Description: Build the test suite, and an executable to run it.
Default: False
Manual: True
Flag check-bounds
Description: Bounds checking.
Default: True
Manual: True
Flag dev
Description: Development options.
Default: False
Manual: True
Library
Exposed-modules: Data.BitVector
-- Other-modules:
Hs-Source-Dirs: src
if flag(check-bounds)
cpp-options: -DCHECK_BOUNDS
ghc-options: -Wall -O2
if flag(dev)
ghc-options: -Werror
Extensions: CPP
Other-Extensions: BangPatterns, DeriveDataTypeable, MagicHash,
DeriveGeneric, DeriveAnyClass
Build-depends: base >=4.6 && <5,
deepseq
if impl(ghc) && flag(gmp)
Build-depends: integer-gmp >=0.5.1,
ghc-prim
Executable bv-tester
if flag(test)
Buildable: True
Build-depends: base >=4.6 && <5,
QuickCheck >=2.4,
test-framework-quickcheck2 >=0.3,
test-framework-th >=0.2
else
Buildable: False
Main-Is: Properties.hs
Hs-Source-Dirs: src, test
ghc-options: -Wall
if flag(dev)
ghc-options: -Werror
Extensions: CPP
Other-Extensions: BangPatterns, DeriveDataTypeable, MagicHash