-
Notifications
You must be signed in to change notification settings - Fork 4
/
primitive-unaligned.cabal
47 lines (42 loc) · 1.38 KB
/
primitive-unaligned.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
cabal-version: 2.2
name: primitive-unaligned
version: 0.1.1.2
synopsis: Unaligned access to primitive arrays
description: Unaligned access to primitive arrays. The offsets are given in bytes rather than elements.
homepage: https://github.com/haskell-primitive/primitive-unaligned
bug-reports: https://github.com/haskell-primitive/primitive-unaligned/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: Andrew Martin <[email protected]>
copyright: 2019 Andrew Martin
category: Data
tested-with: GHC == 8.6.4
library
exposed-modules:
Data.Primitive.ByteArray.Unaligned
other-modules:
Data.Primitive.Unaligned.Mach
build-depends:
, base >=4.12.0.0 && <5
, primitive >=0.6.4 && < 0.10
hs-source-dirs: src
if arch(aarch64) || arch(alpha) || arch(ia64) || arch(ppc64) || arch(x86_64)
hs-source-dirs: src-64
if arch(arm) || arch(hppa) || arch(i386) || arch(m68k) || arch(mips) || arch(rs6000) || arch(s390) || arch(sparc) || arch(vax)
hs-source-dirs: src-32
ghc-options: -Wall -O2
default-language: Haskell2010
test-suite unit
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Unit.hs
build-depends:
, base
, primitive-unaligned
, primitive
ghc-options: -Wall -O2
default-language: Haskell2010
source-repository head
type: git
location: git://github.com/haskell-primitive/primitive-unaligned.git