Bump version
[darcs-mirrors/primitive.git] / primitive.cabal
1 Name:           primitive
2 Version:        0.5
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-2012
8 Homepage:       http://code.haskell.org/primitive
9 Category:       Data
10 Synopsis:       Primitive memory-related operations
11 Description:
12         .
13         This package provides various primitive memory-related operations.
14         .
15         Changes in version 0.5
16         .
17         * New in "Data.Primitive.MutVar": @atomicModifyMutVar@
18         .
19         * Efficient block fill operations: @setByteArray@, @setAddr@
20         .
21
22 Cabal-Version:  >= 1.2
23 Build-Type:     Simple
24
25 Library
26   Extensions: CPP
27   Exposed-Modules:
28         Control.Monad.Primitive
29         Data.Primitive
30         Data.Primitive.MachDeps
31         Data.Primitive.Types
32         Data.Primitive.Array
33         Data.Primitive.ByteArray
34         Data.Primitive.Addr
35         Data.Primitive.MutVar
36
37   Other-Modules:
38         Data.Primitive.Internal.Compat
39         Data.Primitive.Internal.Operations
40
41   Build-Depends: base >= 4 && < 5, ghc-prim
42
43   Ghc-Options: -O2
44
45   Include-Dirs: cbits
46   Install-Includes: primitive-memops.h
47   includes: primitive-memops.h
48   c-sources: cbits/primitive-memops.c
49   cc-options: -O3 -ftree-vectorize -fomit-frame-pointer
50   if arch(i386) || arch(x86_64) {
51     cc-options: -msse2
52   }
53