From e6ca9f166c5af915946bb8ae5ed7e5a42f40b8bd Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 21 Apr 2022 00:28:51 +0200 Subject: Initial --- ghc-gc-hook.cabal | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ghc-gc-hook.cabal (limited to 'ghc-gc-hook.cabal') 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 -- cgit v1.2.3-54-g00ecf