-
Notifications
You must be signed in to change notification settings - Fork 13
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 12 #14
base: master
Are you sure you want to change the base?
Llvm 12 #14
Conversation
Thanks for this PR! Very glad you enjoyed the tutorial :) Just a couple questions:
|
Resolves #13 |
Thanks for your rsponses:
If you were ever thinking of adding to this project, you could see if you could implement a repl and use the Orc JIT compiler. The API has, however, changed in llvm 12, so you may want to wait for that. Here's an example https://lukelau.me/kaleidoscope/ |
Does the CI workflow try to install LLVM 12 currently? I skimmed the workflow file but I didn't find anything to indicate that it does. Could you try removing the travis CI so we can see what happens with the github actions run? Then we can integrate the ormolu action and reformat. |
Regarding the rts options failing, it's probably because the tests call |
No, the workflow actions only use the hackage versions for now. These are "out of the box" workflows. You could try them on the llvm-9 branch to validate them, I suppose. It may be worth using typed-process rather than process for invoking clang. I've struggled with process on Windows as it's hard under windows to get return codes back to the grandparent process. |
Oh. I meant llvm 12 the actual clang compiler. Not the haskell bindings.
… On May 10, 2021, at 5:03 PM, jrp2014 ***@***.***> wrote:
No, the workflow actions only use the hackage versions for now. These are "out of the box" workflows. You could try them on the llvm-9 branch to validate them, I suppose.
It may be worth using typed-process rather than process for invoking clang. I've struggled with process on Windows as it's hard under windows to get return codes back to the grandparent process.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
No, I don't think that it does. Not sure what the standard VMs provide. |
Hi, some unsolicited changes. These mainly update the cabal file, add a few explicit export lists and explicit stock derivings.
I'll have a further look. I suspect that some of the fields in data types could be made strict to further improve performance / reduce the chance of space leaks, eg.
This works with LLVM-12 and a
cabal.project
file to pull in the LLVM-12 branches of llvm-hs, pure and pretty.Many thanks for making this available.