This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhw-prim-bits.cabal
93 lines (82 loc) · 3.58 KB
/
hw-prim-bits.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
cabal-version: 2.4
name: hw-prim-bits
version: 0.1.0.5
synopsis: Primitive support for bit manipulation
description: Primitive support for bit manipulation. Please see README.md
homepage: https://github.com/githubuser/hw-prim-bits#readme
license: BSD-3-Clause
license-file: LICENSE
author: John Ky
maintainer: newhoggy@gmail.com
copyright: 2017-2021 John Ky
category: Data
tested-with: GHC == 9.0.1, GHC == 8.10.7, GHC == 8.8.4, GHC == 8.6.5
build-type: Simple
extra-source-files: README.md
source-repository head
type: git
location: https://github.com/haskell-works/hw-prim-bits
common base { build-depends: base >= 4 && < 5 }
common criterion { build-depends: criterion }
common doctest { build-depends: doctest >= 0.16.2 && < 0.19 }
common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 }
common hedgehog { build-depends: hedgehog }
common hspec { build-depends: hspec }
common hw-hedgehog { build-depends: hw-hedgehog >= 0.1.0.1 }
common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog }
common QuickCheck { build-depends: QuickCheck }
common vector { build-depends: vector }
common config
default-language: Haskell2010
common hw-prim-bits
build-depends: hw-prim-bits
library
import: base, config
hs-source-dirs: src
exposed-modules: HaskellWorks.Prim.Bits
, HaskellWorks.Prim.Bits.Emul
, HaskellWorks.Prim.Bits.Fast
, HaskellWorks.Prim.Bits.Slow
C-sources: cbits/bits.c
Include-dirs: cbits
Install-includes: bits.h
executable hw-prim-bits-exe
import: base, config
, hw-prim-bits
hs-source-dirs: app
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
test-suite hw-prim-bits-test
import: base, config
, hedgehog
, hspec
, hw-hedgehog
, hw-hspec-hedgehog
, hw-prim-bits
, QuickCheck
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: HaskellWorks.Prim.BitsSpec
build-tool-depends: hspec-discover:hspec-discover
ghc-options: -threaded -rtsopts -with-rtsopts=-N
benchmark bench
import: base, config
, criterion
, hw-prim-bits
, vector
Type: exitcode-stdio-1.0
HS-Source-Dirs: bench
Main-Is: Main.hs
GHC-Options: -Wall -O2
test-suite doctest
import: base, config
, doctest
, doctest-discover
, hw-prim-bits
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