diff options
Diffstat (limited to 'word64-map/word64-map.cabal')
-rw-r--r-- | word64-map/word64-map.cabal | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/word64-map/word64-map.cabal b/word64-map/word64-map.cabal index 938d2e22..576046e8 100644 --- a/word64-map/word64-map.cabal +++ b/word64-map/word64-map.cabal | |||
@@ -3,18 +3,25 @@ | |||
3 | 3 | ||
4 | name: word64-map | 4 | name: word64-map |
5 | version: 0.1.0.0 | 5 | version: 0.1.0.0 |
6 | -- synopsis: | 6 | synopsis: 64-bit Version of IntMap |
7 | -- description: | 7 | description: This is a wrapper around 'Data.IntMap', from the containers package, but with a |
8 | guaranteed bitwidth of 64 bits. | ||
9 | |||
10 | On 32 bit platforms, this is currently accomplished simply by composing two IntMaps. | ||
11 | |||
12 | On obvious 64 bit platforms(platform name as shown by System.Info.arch ends in 64) | ||
13 | it is simply a newtype of IntMap. | ||
8 | license: BSD3 | 14 | license: BSD3 |
9 | license-file: LICENSE | 15 | license-file: LICENSE |
10 | author: James Crayne | 16 | author: James Crayne |
11 | maintainer: jim.crayne@gmail.com | 17 | maintainer: James Crayne <jim.crayne@gmail.com> |
12 | -- copyright: | 18 | -- copyright: |
13 | -- category: | 19 | -- category: |
14 | build-type: Simple | 20 | build-type: Simple |
15 | extra-source-files: CHANGELOG.md | 21 | extra-source-files: CHANGELOG.md |
16 | cabal-version: >=1.10 | 22 | cabal-version: >=1.10 |
17 | 23 | ||
24 | |||
18 | library | 25 | library |
19 | exposed-modules: Data.Word64Map | 26 | exposed-modules: Data.Word64Map |
20 | -- other-modules: | 27 | -- other-modules: |
@@ -24,3 +31,11 @@ library | |||
24 | , containers | 31 | , containers |
25 | hs-source-dirs: src | 32 | hs-source-dirs: src |
26 | default-language: Haskell2010 | 33 | default-language: Haskell2010 |
34 | if arch(x86_64) | ||
35 | Cpp-options: -DKNOWN64 | ||
36 | if arch(ppc64) | ||
37 | Cpp-options: -DKNOWN64 | ||
38 | if arch(ia64) | ||
39 | Cpp-options: -DKNOWN64 | ||
40 | if arch(arm64) | ||
41 | Cpp-options: -DKNOWN64 | ||