Skip to content

Fix space leak in ./Setup configure - #3076

Merged
23Skidoo merged 1 commit into
haskell:masterfrom
sebright:setup-configure-space-leak
Jan 26, 2016
Merged

23Skidoo merged 1 commit into
haskell:masterfrom
sebright:setup-configure-space-leak

Conversation

@sebright

Copy link
Copy Markdown
Collaborator

This commit fixes the space leak in #2777 without modifying the logic for choosing flags. It is a lot simpler than #2925, though I think an improvement to the algorithm like in #2925 is still needed. I tested the practicality of solving for more flags by running ./Setup configure on git-annex with 3 of the 21 flags removed. Most of the dependencies were missing, which meant that Setup had to try all 2^18 flag combinations. It took 13 minutes.

/cc @joeyh

@23Skidoo

Copy link
Copy Markdown
Member

Travis failure is unrelated to your change (see #3003).

@joeyh

joeyh commented Jan 26, 2016

Copy link
Copy Markdown

Incidentally, git-annex HEAD is down to 16 flags;
under 10 minutes worst case for Setup configure is fine by me.

see shy jo

@23Skidoo

Copy link
Copy Markdown
Member

LGTM, merging. Sorry for taking so long!

23Skidoo added a commit that referenced this pull request Jan 26, 2016
@23Skidoo
23Skidoo merged commit 500ccce into haskell:master Jan 26, 2016
@sebright

Copy link
Copy Markdown
Collaborator Author

@23Skidoo No problem. Thanks for merging it.

@sebright
sebright deleted the setup-configure-space-leak branch January 27, 2016 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants