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
"Setting up GHC" slowdown when going from GHC 9.0 to 9.4 #2710
Comments
Perhaps same as #2684 ? |
And maybe the same as martijnbastiaan/doctest-parallel#78.. |
Is the executable dynamically linked? |
@gergoerdi This is the same issue as |
Stupid question but -- how do I tell? |
OK so with |
FWIW I can confirm this. |
According to more
Nothing immediately jumps at me that would set |
I was only asking whether the executable was dynamically linked, because I know that the clash binaries have a very slow startup time when they are statically linked (on non-Windows platforms) to Haskell libraries. So if you're saying that your binary is dynamically linked to other Haskell libraries, than that is not the issue. I think you confirmed that the issue doesn't show itself with GHC 9.4.7, which suggests it's the same issue that was hurting |
I'm trying to upgrade Pong to use Clash 1.8 with a recent version of GHC. I've managed to upgrade to Clash 1.8/GHC 9.0, but then when I try to switch to GHC 9.4, I start getting problems in Clashilator.
I'll need to investigate some of them on my side first, but one thing I noticed is that with GHC 9.0, the "Setting up GHC" step takes <1s and on GHC 9.4 it takes almost a minute. You can try it on this temporary branch just running
stack build --flag clash-pong:verilator
:The text was updated successfully, but these errors were encountered: