Delete deprecated operations
[darcs-mirrors/primitive.git] / primitive.cabal
1 Name:           primitive
2 Version:        0.4.9
3 License:        BSD3
4 License-File:   LICENSE
5 Author:         Roman Leshchinskiy <rl@cse.unsw.edu.au>
6 Maintainer:     Roman Leshchinskiy <rl@cse.unsw.edu.au>
7 Copyright:      (c) Roman Leshchinskiy 2009-2010
8 Homepage:       http://code.haskell.org/primitive
9 Category:       Data
10 Synopsis:       Wrappers for primitive operations
11 Description:
12         .
13         This package provides wrappers for primitive array operations from
14         GHC.Prim.
15         .
16         Changes in version 0.5
17         .
18         * Efficient block fill operations: @setByteArray@, @setAddr@
19         .
20         Changes in version 0.4.1
21         .
22         * New module "Data.Primitive.MutVar"
23         .
24         Changes in version 0.4.0.1
25         .
26         * Critical bug fix in @fillByteArray@
27         .
28         Changes in version 0.4
29         .
30         * Support for GHC 7.2 array copying primitives
31         .
32         * New in "Data.Primitive.ByteArray": @copyByteArray@,
33           @copyMutableByteArray@, @moveByteArray@, @fillByteArray@
34         .
35         * Deprecated in "Data.Primitive.ByteArray": @memcpyByteArray@,
36           @memcpyByteArray'@, @memmoveByteArray@, @memsetByteArray@
37         .
38         * New in "Data.Primitive.Array": @copyArray@, @copyMutableByteArray@
39         .
40         * New in "Data.Primitive.Addr": @copyAddr@, @moveAddr@
41         .
42         * Deprecated in "Data.Primitive.Addr": @memcpyAddr@
43         .
44
45 Cabal-Version:  >= 1.2
46 Build-Type:     Simple
47
48 Library
49   Extensions: CPP
50   Exposed-Modules:
51         Control.Monad.Primitive
52         Data.Primitive
53         Data.Primitive.MachDeps
54         Data.Primitive.Types
55         Data.Primitive.Array
56         Data.Primitive.ByteArray
57         Data.Primitive.Addr
58         Data.Primitive.MutVar
59
60   Other-Modules:
61         Data.Primitive.Internal.Compat
62         Data.Primitive.Internal.Operations
63
64   Build-Depends: base >= 4 && < 5, ghc-prim
65
66   Ghc-Options: -O2
67
68   Include-Dirs: cbits
69   Install-Includes: primitive-memops.h
70   includes: primitive-memops.h
71   c-sources: cbits/primitive-memops.c
72   cc-options: -O3 -ftree-vectorize -fomit-frame-pointer
73   if arch(i386) || arch(x86_64) {
74     cc-options: -msse2
75   }
76