diff options
author | Tom Smeding <tom@tomsmeding.com> | 2022-04-21 00:28:51 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2022-04-21 00:28:51 +0200 |
commit | e6ca9f166c5af915946bb8ae5ed7e5a42f40b8bd (patch) | |
tree | f7f6af4edca512c2a6de0aed094aec5d5d10582f /ghc-gc-hook.cabal |
Initial
Diffstat (limited to 'ghc-gc-hook.cabal')
-rw-r--r-- | ghc-gc-hook.cabal | 33 |
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 |