summaryrefslogtreecommitdiff
path: root/word64-map/word64-map.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'word64-map/word64-map.cabal')
-rw-r--r--word64-map/word64-map.cabal21
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
4name: word64-map 4name: word64-map
5version: 0.1.0.0 5version: 0.1.0.0
6-- synopsis: 6synopsis: 64-bit Version of IntMap
7-- description: 7description: 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.
8license: BSD3 14license: BSD3
9license-file: LICENSE 15license-file: LICENSE
10author: James Crayne 16author: James Crayne
11maintainer: jim.crayne@gmail.com 17maintainer: James Crayne <jim.crayne@gmail.com>
12-- copyright: 18-- copyright:
13-- category: 19-- category:
14build-type: Simple 20build-type: Simple
15extra-source-files: CHANGELOG.md 21extra-source-files: CHANGELOG.md
16cabal-version: >=1.10 22cabal-version: >=1.10
17 23
24
18library 25library
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