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

Julia build fail on 10.7.5. #32

Closed
sbos opened this issue Jun 25, 2013 · 3 comments
Closed

Julia build fail on 10.7.5. #32

sbos opened this issue Jun 25, 2013 · 3 comments

Comments

@sbos
Copy link

sbos commented Jun 25, 2013

Here is the full build log: https://gist.github.com/sbos/5859327

@Lenskiy
Copy link

Lenskiy commented Jun 25, 2013

The problem is in llvm version. LLVM 3.2 installs headers to
/usr/local//Cellar_/llvm/3.2/include/llvm/
however the newer version 3.3 installs to
/usr/local//Cellar/llvm/3.3/include/llvm/IR/

Easiest solution is to install llvm 3.2

brew uninstall llvm
cd /usr/local/
brew versions llvm
git checkout f8f4ca1 Library/Formula/llvm.rb
brew install llvm

The other solution is to modify #include directives in the code.

Maybe Elliot has a better idea.

@staticfloat
Copy link
Owner

Ah, I didn't realize that Homebrew had added llvm3.3 already! Julia is not compatible with llvm3.3 yet, although we will be soon! @Lenskiy's solution should work, I would do the following:

brew uninstall llvm
cd $(brew --prefix)
brew versions llvm
git checkout f8f4ca1 Library/Formula/llvm.rb
brew install llvm

and then try again. Hopefully, we'll get llvm 3.3 support in the next few days.

@sbos
Copy link
Author

sbos commented Jun 25, 2013

Thank you for answering, guys! That worked

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

No branches or pull requests

3 participants