-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
version of llvm should not be hardcoded #582
Conversation
- The "from sources" direction mention `brew install --with-llvm` which installs `llvm` as `llvm`, not with a version suffix - So lets try all the options until we find a working `llvm`
Aren't there major API changes between LLVM versions? |
The docs all mention 3.5.1, and it seems to work for me. If 3.6 is required then the docs need to be updated to say so and it probably should not fail with an obscure error if it's obvious 3.6 is not even installed. |
Look at the Travis script. If you want to compile compiler, you would need
|
It compiles (and compiles itself) just fine with 3.5.1 it seems. |
You're basically saying these directions are entirely wrong: http://crystal-lang.org/docs/installation/from_source_repository.html Yes? |
I don't know for sure. But if you look to contributing.md guide, it says, Best Regards, 2015-04-27 15:04 GMT+02:00 Josh Goebel notifications@github.com:
|
For me, even with the patched LLVM, I get a segfault on the size_of specs. Using llvm36, everything is fine.
|
For me all specs pass (master @ c816cfa) with LLVM 3.5.1 + patch on Mac OS X. |
#624 might also be relevant here. |
We finally decided that to compile the (compiled) compiler you need to have LLVM in your path, and all the required libraries. |
brew install --with-llvm
whichinstalls
llvm
asllvm
, not with a version suffixllvm