Last active
August 29, 2015 14:10
-
-
Save godfat/ecdb9ba0191bcaa6e67d to your computer and use it in GitHub Desktop.
rubinius on mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mv /usr/include/c++ /usr/include/c++.bak # avoid conflicting, might not be needed | |
brew install --HEAD ruby-install | |
brew tap homebrew/versions | |
brew install llvm35 --with-libcxx --with-clang --with-lld --all-targets --rtti | |
env CC=clang-3.5 CXX=clang++-3.5 CXXFLAGS=-stdlib=libc++ LDFLAGS='-L/usr/local/lib/llvm-3.5/usr/lib -lc++' ruby-install rbx -- --llvm-config llvm-config-3.5 | |
sudo mv /usr/include/c++.bak /usr/include/c++ # restore g++ headers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment