Skip to content
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

Pass dynamic flag for dynamic GHC #287

Merged
merged 2 commits into from
Feb 25, 2021
Merged

Pass dynamic flag for dynamic GHC #287

merged 2 commits into from
Feb 25, 2021

Conversation

berberman
Copy link
Contributor

We need reflect the dynamic flag to default cradle and direct cradle, otherwise users are required to write an explicit hie.yaml to pass the dynamic flag. We don't want to pass the flag to stack cradle or cabal cradle, since I think we can assume that users have already configured the dynamic flag manually in their build tools.

By adding this, most of ghcide's tests can pass on Arch Linux.

Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@fendor
Copy link
Collaborator

fendor commented Feb 24, 2021

Acutally, I think it would be a good idea to add documentation about the -dynamic flags to the cradle types. E.g. we need this when ghc is dynamically linked or something

Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@fendor fendor merged commit b5402c9 into haskell:master Feb 25, 2021
@berberman berberman deleted the dyn2 branch February 25, 2021 15:21
@berberman berberman mentioned this pull request Feb 26, 2021
berberman added a commit to berberman/hie-bios that referenced this pull request Mar 9, 2021
jneira added a commit that referenced this pull request Mar 9, 2021
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.

None yet

2 participants