Daniel Gröber (dxld)
Daniel Gröber (dxld)
Also relevant maybe: https://github.com/chrisdone/haskell-docs
`ts "%.s"` adds timestamps to stuff
``` $ (echo begin; ghc-mod -v7 check src/GHCMod.hs 2>&1; echo done) | ts "%.s" > log # compute deltas $ cat log | awk 'NR==1 { last=$1 }; { printf...
Huh, looks like the problem is in GHC after all, I'm not getting any stable BCOs and it's just recompiling everything.. probably something to do with us changing the dynflags...
HAHA! The fix turned out to be downright trivial. I forgot to update `world` in legacyInteractiveLoop if it changed and there's a race condition with the thread that updates the...
@kazu-yamamoto `check` should be reasonably fast again now.
``` 1442460186.796361 begin 1442460186.992353 DEBUG: reading cache: /home/aaron/sites-programs/snowdrift/.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/setup-config.ghc-mod.cabal-components 1442460187.020864 DEBUG: resolveEntrypoint: 1442460187.021804 ["-i","-i.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build","-i.","-i.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen","-I.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen","-I.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build","-optP-DDEVELOPMENT","-optP-include","-optP.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen/cabal_macros.h"] 1442460187.047359 DEBUG: resolveEntrypoint: 1442460187.048597 ["-i","-i.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/Snowdrift/Snowdrift-tmp","-iapp","-i.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen","-I.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen","-I.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/Snowdrift/Snowdrift-tmp","-optP-include","-optP.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen/cabal_macros.h"] 1442460187.058970 DEBUG: resolveEntrypoint: 1442460187.060365 ["-i","-i.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/SnowdriftProcessPayments/SnowdriftProcessPayments-tmp","-iapp","-i.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen","-I.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen","-I.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/SnowdriftProcessPayments/SnowdriftProcessPayments-tmp","-optP-include","-optP.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen/cabal_macros.h"] 1442460187.079739 DEBUG: resolveEntrypoint: 1442460187.081054 ["-i","-i.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/SnowdriftEmailDaemon/SnowdriftEmailDaemon-tmp","-iapp","-i.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen","-I.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen","-I.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/SnowdriftEmailDaemon/SnowdriftEmailDaemon-tmp","-optP-include","-optP.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/autogen/cabal_macros.h"] 1442460187.103256 DEBUG:...
@parsonsmatt Please open a separate issue about that problem.
Some progress: https://github.com/kazu-yamamoto/ghc-mod/commit/89b1ac2d1ed70bd8f042f9bc4c8ee8b22984acfe :D
The stack vs cabal-install warning only shows up on startup anyways so it's fine for now I guess