somemo's diary

プログラマ、雑記、プログラミング関係はLinkから、数式はこっちでまとめていることが多い

llvmインストールのメモ

% brew install llvm --all-targets --with-clang
==> Downloading http://llvm.org/releases/3.3/llvm-3.3.src.tar.gz
Already downloaded: /Library/Caches/Homebrew/llvm-3.3.tar.gz
==> Downloading http://llvm.org/releases/3.3/cfe-3.3.src.tar.gz
Already downloaded: /Library/Caches/Homebrew/clang-3.3.tar.gz
==> ./configure --prefix=/usr/local/Cellar/llvm/3.3 --enable-optimized --disable-bindings --enable-targets=all --enable-shared
==> make VERBOSE=1
==> make VERBOSE=1 install
==> Caveats
This formula only provide library components of LLVM. To use full
featured LLVM please try the llvm* formulae in homebrew-versions tap,
for instance:

    brew tap homebrew/versions
    brew install llvm33

Extra tools are installed in /usr/local/Cellar/llvm/3.3/share/llvm and /usr/local/Cellar/llvm/3.3/share/clang.

If you already have LLVM installed, then "brew upgrade llvm" might not work.
Instead, try:
    brew rm llvm && brew install llvm
==> Summary
?  /usr/local/Cellar/llvm/3.3: 1143 files, 184M, built in 35.9 minutes