-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve algorithm for choosing flags with './Setup configure'
Cabal previously tried all flag combinations, which was too slow. The new algorithm assigns one flag at a time, and backtracks when a flag introduces a dependency that is unavailable. This change also fixes a space leak.
- Loading branch information
Showing
1 changed file
with
35 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters