X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-22.git;a=blobdiff_plain;f=advent-of-code22.cabal;h=5a5315da9d503c3ac3eb6a676e9454c160f7885d;hp=8a1b109a3c095313d03dd5acb3ff1e13ed866435;hb=refs%2Fheads%2Fmain;hpb=4087698696ed09477c3b5073f3d4d93d85c0a632 diff --git a/advent-of-code22.cabal b/advent-of-code22.cabal index 8a1b109..2301cd2 100644 --- a/advent-of-code22.cabal +++ b/advent-of-code22.cabal @@ -278,11 +278,42 @@ executable advent18 main-is: advent18/Main.hs build-depends: text, attoparsec, containers, linear, lens +executable advent19original + import: common-extensions, build-directives + main-is: advent19/MainOriginal.hs + build-depends: text, attoparsec, containers, pqueue, mtl, lens, multiset, parallel, deepseq + executable advent19 import: common-extensions, build-directives main-is: advent19/Main.hs build-depends: text, attoparsec, containers, pqueue, mtl, lens, multiset, parallel, deepseq +executable advent19prof + import: common-extensions, build-directives + main-is: advent19/Main.hs + build-depends: text, attoparsec, containers, pqueue, mtl, lens, multiset, parallel, deepseq + ghc-options: -O2 + -Wall + -threaded + -fprof-auto + -rtsopts "-with-rtsopts=-N -p -s -hT" + -- add -ls for generating the eventlog + +executable advent19excl + import: common-extensions, build-directives + main-is: advent19/MainExplicitClosed.hs + build-depends: text, attoparsec, containers, pqueue, mtl, lens, multiset, parallel, deepseq + +executable advent19exprof + import: common-extensions, build-directives + main-is: advent19/MainExplicitClosed.hs + build-depends: text, attoparsec, containers, pqueue, mtl, lens, multiset, parallel, deepseq + ghc-options: -O2 + -Wall + -threaded + -fprof-auto + -rtsopts "-with-rtsopts=-N -p -s -hT" + executable advent20 import: common-extensions, build-directives main-is: advent20/Main.hs