Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some unnecessary recompilations of boot modules #1174

Open
wz1000 opened this issue Jan 8, 2021 · 2 comments
Open

Some unnecessary recompilations of boot modules #1174

wz1000 opened this issue Jan 8, 2021 · 2 comments
Labels
component: ghcide status: needs info Not actionable, because there's missing information type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@wz1000
Copy link
Collaborator

wz1000 commented Jan 8, 2021

When using on GHC, 15 boot modules are always recompiled on startup.

I think we are not setting the HscEnv properly via ghc session deps.

The recompilation reason is reported as "missing old home dependency" which stems from here: https://hackage.haskell.org/package/ghc-8.10.2/docs/src/MkIface.html#local-6989586621680922934

@wz1000 wz1000 changed the title There are some unneccesary recompilations of boot modules Some unneccesary recompilations of boot modules Jan 8, 2021
@Ailrun Ailrun added component: ghcide type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. labels Jan 8, 2021
@wz1000 wz1000 changed the title Some unneccesary recompilations of boot modules Some unnecessary recompilations of boot modules Jan 8, 2021
@Anton-Latukha
Copy link
Collaborator

Is this report connected to: #2316?

@jneira jneira added the status: needs info Not actionable, because there's missing information label Jan 31, 2022
@michaelpj
Copy link
Collaborator

@wz1000 is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ghcide status: needs info Not actionable, because there's missing information type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

No branches or pull requests

5 participants