summaryrefslogtreecommitdiff
path: root/ghc-gc-hook.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'ghc-gc-hook.cabal')
-rw-r--r--ghc-gc-hook.cabal33
1 files changed, 33 insertions, 0 deletions
diff --git a/ghc-gc-hook.cabal b/ghc-gc-hook.cabal
new file mode 100644
index 0000000..6f21e56
--- /dev/null
+++ b/ghc-gc-hook.cabal
@@ -0,0 +1,33 @@
+cabal-version: 2.0
+name: ghc-gc-hook
+synopsis: GHC garbage collection hook
+version: 0.1.0.0
+license: MIT
+author: Tom Smeding
+maintainer: tom@tomsmeding.com
+build-type: Simple
+
+library
+ exposed-modules:
+ GHC.GC_Hook
+ c-sources: cbits/hook.c
+ build-depends:
+ base >= 4.13 && < 4.17
+ hs-source-dirs: src
+ default-language: Haskell2010
+ cc-options: -Wall -O2
+ ghc-options: -Wall -O2
+
+test-suite test
+ type: exitcode-stdio-1.0
+ main-is: Main.hs
+ hs-source-dirs: test
+ build-depends:
+ base >= 4.13 && < 4.17,
+ ghc-gc-hook
+ default-language: Haskell2010
+ ghc-options: -Wall -threaded
+
+source-repository head
+ type: git
+ location: https://git.tomsmeding.com/ghc-gc-hook