-
Notifications
You must be signed in to change notification settings - Fork 20
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
stack exec basic
won't work after following llvm-hs installation
#12
Comments
When I run with cabal :
|
This is almost certainly a MacOS issue building the LLVM library itself, I would post on the homebrew-llvm tracker to see if anyone has encountered this before. Our support of Mac is best effort as most of the maintainers are Linux-only. |
@sdiehl this is definitely an llvm-hs problem; it won't get to trying to build llvm-hs until LLVM itself is installed.
@skasyn what is your Xcode / clang version? |
Thanks for replying . Everything should be up to date since I had to install Xcode in order to build llvm (
I must stress that using |
I encountered the same issue and the fix was to bump |
What I wanted
Install LLVM-9 and test it.
What I did
Ran
brew install llvm-hs/llvm/llvm-9
Ran
stack exec basic
Ran
stack build
What I expected
LLVM to be installed
Example running
What it did
llvm-...-9
instead of justllvm-....
stack exec basic
failed because it couldnt find the binarybasic
stack build
failed with a compilation errorInsight
Hi ! Sorry to bother, it's probably a mistake from my part but I don't find any documentation about this issue.
I followed llvm-hs install directions for mac OS (
brew install llvm-hs/llvm/llvm-9
). It installed a bunch of binaries such asllvm-...-9
.First of all, I don't have any
llvm-config
as you asked in the README. However, I do have allvm-config-9
. When I run it, it prints9.0.0
. Is that an issue I should be aware of ? (if you feel that I asked on the wrong repository, don't bother with this issue).Second of all, I ran
stack exec basic
. After a lot of installation, it printed me this error :I suppose I have to
stack build
even if it's now written in the README but when I do it, it gives me this error :I never met this issue before and I don't understand where installation could have failed, I literally just ran
brew install
.Do you have any idea of what could be wrong ? Should I post the issue on the llvm-hs repository ?
Thank for your attention.
The text was updated successfully, but these errors were encountered: