You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Parallel builds don't work: Cabal (library) bug on configure? #84
When I have parallel builds on, the runhaskell Setup.hs build steps will sporadically fail about "need to configure", but if I set the number of Shake flags to 1, it works. We may want to conditionally set threads to 1 on Windows for an initial release, and then debug what's happening.
I suspect that this is a bug in the Cabal library. However, b511d70 introduces a resilient workaround. I'm going to move this to a later milestone for now, but may end up closing it completely.
The workaround is working reliably, and is documented as a hack in the codebase. Closing the issue, we can always research further in the future if desired.
changed the title [-]Parallel builds don't seem to work on Windows[/-][+]Parallel builds don't work: Cabal (library) bug on configure?[/+]on Dec 5, 2023
Activity
Use 1 thread on Windows #84
snoyberg commentedon May 27, 2015
Initial hack done, deferring to later milestone.
snoyberg commentedon May 28, 2015
This now appears to be occurring on Linux as well
Do one configure at a time #84
snoyberg commentedon May 28, 2015
I suspect that this is a bug in the Cabal library. However, b511d70 introduces a resilient workaround. I'm going to move this to a later milestone for now, but may end up closing it completely.
Allow parallel builds on Windows #84
snoyberg commentedon May 29, 2015
The workaround is working reliably, and is documented as a hack in the codebase. Closing the issue, we can always research further in the future if desired.
chrisdone commentedon May 29, 2015
So something to do with configuring indeed has a global dependency. Good to know...
snoyberg commentedon May 29, 2015
I bet if we crawled through the cabal-install code base long enough we'd find that they'd implemented the same hack somewhere.
mpilgrem commentedon Dec 5, 2023
It seems that, after eight years, something may have happened somewhere to cure the original problem that the workaround fixed. See #6361.
[-]Parallel builds don't seem to work on Windows[/-][+]Parallel builds don't work: Cabal (library) bug on configure?[/+]