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

[llvm-3.8] Support GHCi and TH #200

Open
wants to merge 2 commits into
base: llvm-3.8
Choose a base branch
from

Conversation

tmcdonell
Copy link

See comments in #199.

Enables llvm-general to be used out-of-the-box with GHCi and TemplateHaskell. Note that the LLVM shared library is only required if you use GHCi/TH; regular compiles work as usual. Since cabal dependencies can not specify flags, this also makes llvm-general easier to work with as a dependency.
extraGHCiLibs was introduced in Cabal-1.22. Before GHC-8.0 there is no direct way to test which wersion of the Cabal library we are compiling against, but we can work around this limitation with a little bit of TH trickery.
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.

1 participant