X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-22.git;a=blobdiff_plain;f=advent-of-code22.cabal;fp=advent-of-code22.cabal;h=2301cd28bdc69a561ceeba7271e6c84bf898cee8;hp=8a1b109a3c095313d03dd5acb3ff1e13ed866435;hb=9d0577cc4c0de3b9904ed8e5fceea6e33f149f75;hpb=bba4f9d2ff41717e66141cd75799f7384cf4235a 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