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
|
cabal-version: 2.2
name: primitive-unaligned
version: 0.1.1.2
x-revision: 1
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 <andrew.thaddeus@gmail.com>
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.9
hs-source-dirs: src
if arch(aarch64) || arch(alpha) || arch(ia64) || arch(ppc64) || arch(powerpc64) || arch(powerpc64le) || arch(riscv64) || arch(s390x) || arch(sparc64) || arch(x86_64) || arch(mips64el) || arch(loongarch64)
hs-source-dirs: src-64
if arch(arm) || arch(hppa) || arch(hppa1_1) || arch(i386) || arch(m68k) || arch(mips) || arch(mipseb) || arch(mipsel) || arch(nios2) || arch(powerpc) || arch(riscv32) || arch(rs6000) || arch(s390) || arch(sh4) || 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
|