2022-06-07 06:20:13 +00:00
|
|
|
Cabal-Version: 2.2
|
2021-08-04 14:29:12 +00:00
|
|
|
Name: primitive
|
2022-06-07 06:20:13 +00:00
|
|
|
Version: 0.7.3.0
|
|
|
|
x-revision: 2
|
2021-08-04 14:29:12 +00:00
|
|
|
License: BSD-3-Clause
|
|
|
|
License-File: LICENSE
|
|
|
|
|
|
|
|
Author: Roman Leshchinskiy <rl@cse.unsw.edu.au>
|
|
|
|
Maintainer: libraries@haskell.org
|
|
|
|
Copyright: (c) Roman Leshchinskiy 2009-2012
|
|
|
|
Homepage: https://github.com/haskell/primitive
|
|
|
|
Bug-Reports: https://github.com/haskell/primitive/issues
|
|
|
|
Category: Data
|
|
|
|
Synopsis: Primitive memory-related operations
|
|
|
|
Build-Type: Simple
|
|
|
|
Description: This package provides various primitive memory-related operations.
|
|
|
|
|
|
|
|
Extra-Source-Files: changelog.md
|
|
|
|
test/*.hs
|
|
|
|
test/LICENSE
|
|
|
|
|
|
|
|
Tested-With:
|
|
|
|
GHC == 7.10.3,
|
|
|
|
GHC == 8.0.2,
|
|
|
|
GHC == 8.2.2,
|
|
|
|
GHC == 8.4.4,
|
|
|
|
GHC == 8.6.5,
|
2022-06-07 06:20:13 +00:00
|
|
|
GHC == 8.8.4,
|
|
|
|
GHC == 8.10.7
|
2021-08-04 14:29:12 +00:00
|
|
|
|
|
|
|
Library
|
|
|
|
Default-Language: Haskell2010
|
|
|
|
Other-Extensions:
|
|
|
|
BangPatterns, CPP, DeriveDataTypeable,
|
|
|
|
MagicHash, TypeFamilies, UnboxedTuples, UnliftedFFITypes
|
|
|
|
|
|
|
|
Exposed-Modules:
|
|
|
|
Control.Monad.Primitive
|
|
|
|
Data.Primitive
|
|
|
|
Data.Primitive.MachDeps
|
|
|
|
Data.Primitive.Types
|
|
|
|
Data.Primitive.Array
|
|
|
|
Data.Primitive.ByteArray
|
|
|
|
Data.Primitive.PrimArray
|
|
|
|
Data.Primitive.SmallArray
|
|
|
|
Data.Primitive.Ptr
|
|
|
|
Data.Primitive.MutVar
|
|
|
|
Data.Primitive.MVar
|
|
|
|
|
|
|
|
Other-Modules:
|
|
|
|
Data.Primitive.Internal.Operations
|
|
|
|
|
2022-06-07 06:20:13 +00:00
|
|
|
Build-Depends: base >= 4.8 && < 4.17
|
2021-08-04 14:29:12 +00:00
|
|
|
, deepseq >= 1.1 && < 1.5
|
2022-06-07 06:20:13 +00:00
|
|
|
, transformers >= 0.4.2 && < 0.7
|
2021-08-04 14:29:12 +00:00
|
|
|
if !impl(ghc >= 8.0)
|
|
|
|
Build-Depends: fail == 4.9.*
|
|
|
|
|
|
|
|
Ghc-Options: -O2
|
|
|
|
|
|
|
|
Include-Dirs: cbits
|
|
|
|
Install-Includes: primitive-memops.h
|
|
|
|
includes: primitive-memops.h
|
|
|
|
c-sources: cbits/primitive-memops.c
|
|
|
|
if !os(solaris)
|
|
|
|
cc-options: -ftree-vectorize
|
|
|
|
if arch(i386) || arch(x86_64)
|
|
|
|
cc-options: -msse2
|
|
|
|
|
|
|
|
test-suite test-qc
|
|
|
|
Default-Language: Haskell2010
|
|
|
|
hs-source-dirs: test
|
|
|
|
test/src
|
|
|
|
main-is: main.hs
|
|
|
|
Other-Modules: PrimLaws
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
build-depends: base
|
|
|
|
, base-orphans
|
|
|
|
, ghc-prim
|
|
|
|
, primitive
|
2022-06-07 06:20:13 +00:00
|
|
|
, quickcheck-classes-base >= 0.6 && <0.7
|
2021-08-04 14:29:12 +00:00
|
|
|
, QuickCheck >= 2.13 && < 2.15
|
2022-06-07 06:20:13 +00:00
|
|
|
, tasty ^>= 1.2 || ^>= 1.3 || ^>= 1.4
|
2021-08-04 14:29:12 +00:00
|
|
|
, tasty-quickcheck
|
|
|
|
, tagged
|
2022-06-07 06:20:13 +00:00
|
|
|
, transformers >= 0.4
|
2021-08-04 14:29:12 +00:00
|
|
|
, transformers-compat
|
2022-06-07 06:20:13 +00:00
|
|
|
if !impl(ghc >= 8.0)
|
|
|
|
build-depends: semigroups
|
2021-08-04 14:29:12 +00:00
|
|
|
|
2022-06-07 06:20:13 +00:00
|
|
|
cpp-options: -DHAVE_UNARY_LAWS
|
2021-08-04 14:29:12 +00:00
|
|
|
ghc-options: -O2
|
|
|
|
|
2022-06-07 06:20:13 +00:00
|
|
|
benchmark bench
|
|
|
|
Default-Language: Haskell2010
|
|
|
|
hs-source-dirs: bench
|
|
|
|
main-is: main.hs
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
ghc-options: -O2
|
|
|
|
other-modules:
|
|
|
|
Array.Traverse.Closure
|
|
|
|
Array.Traverse.Unsafe
|
|
|
|
ByteArray.Compare
|
|
|
|
PrimArray.Compare
|
|
|
|
PrimArray.Traverse
|
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, primitive
|
|
|
|
, deepseq
|
|
|
|
, tasty-bench
|
|
|
|
, transformers >= 0.3
|
2021-08-04 14:29:12 +00:00
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/haskell/primitive
|