Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Remove -odir/-hidir, trust stack ghci to set them #557

Merged
merged 1 commit into from
May 24, 2018

Conversation

chrisdone
Copy link
Collaborator

@chrisdone chrisdone commented May 24, 2018

stack already sets the -odir and -hidir to a place in .stack-work which is stable and cacheable.

Removing this makes intero much faster at restarting on large projects, because all the object files are cached.

Here is a sample intero debug log, two intero-restart invocations: https://gist.github.com/chrisdone/35d870f02180793b132646f637373fe0

That is, once PR #4038 lands:

commercialhaskell/stack#4038

Until that lands the user won't notice a difference.

stack already sets the -odir and -hidir to a place in .stack-work which
is stable and cacheable.

Removing this makes intero much faster at restarting on large projects,
because all the object files are cached.

That is, once PR #4038 lands:

commercialhaskell/stack#4038
@chrisdone chrisdone merged commit f5d98e1 into master May 24, 2018
@chrisdone chrisdone deleted the remove_odir_hidir branch May 24, 2018 16:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant