Skip to content

Avoid deduplication of GHC options that can break builds (rebase of #5368) - #5369

Merged
23Skidoo merged 5 commits into
haskell:masterfrom
23Skidoo:roman-kashitsyn-master
Jun 10, 2018
Merged

23Skidoo merged 5 commits into
haskell:masterfrom
23Skidoo:roman-kashitsyn-master

Conversation

@23Skidoo

@23Skidoo 23Skidoo commented Jun 9, 2018 •

Copy link
Copy Markdown
Member

This is #5368, but rebased against master to make history cleaner.

Please include the following checklist in your PR:

  • Patches conform to the coding conventions.
  • Any changes that could be relevant to users have been recorded in the changelog.
  • The documentation has been updated, if necessary.
  • If the change is docs-only, [ci skip] is used to avoid triggering the build bots.

Please also shortly describe how you tested your change. Bonus points for added tests!

Roman Kashitcyn added 2 commits June 9, 2018 14:18
We still enable deduplication for some options, e.g. list of modules
or list of paths to search for includes/libraries.

Fixes haskell#4449.
@23Skidoo

23Skidoo commented Jun 9, 2018 •

Copy link
Copy Markdown
Member Author

@roman-kashitsyn Code LGTM, I'll merge this once the CI is green.

@23Skidoo

23Skidoo commented Jun 9, 2018

Copy link
Copy Markdown
Member Author

/cc @qnikst

@qnikst

qnikst commented Jun 9, 2018

Copy link
Copy Markdown
Collaborator

It seems that ghcOptGHCiScripts are affected by this problem as well, should I prepare PR for that?

@23Skidoo

23Skidoo commented Jun 9, 2018

Copy link
Copy Markdown
Member Author

@qnikst Sure, please do. I think you should be able to push directly to this branch.

@qnikst

qnikst commented Jun 9, 2018

Copy link
Copy Markdown
Collaborator

I've added a commit with the fix for -ghci-script

@23Skidoo

23Skidoo commented Jun 9, 2018

Copy link
Copy Markdown
Member Author

Fixed the test case.

@23Skidoo

Copy link
Copy Markdown
Member Author

So CI failed because GHCs < 7.10 don't support -trust... fixing.

@23Skidoo 23Skidoo changed the title Rebased #5368 Avoid deduplication of GHC options that can break builds (rebase of #5368) Jun 10, 2018
@23Skidoo
23Skidoo merged commit b8c4ce3 into haskell:master Jun 10, 2018
@23Skidoo
23Skidoo deleted the roman-kashitsyn-master branch June 10, 2018 14:20
@23Skidoo

Copy link
Copy Markdown
Member Author

@roman-kashitsyn Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants