Tag Archives: LLVM

How to Install LLVM & Clang on Oracle Linux

1) Install CMake.

2) Install G++.

3) Install Subversion.

4) Checkout the LLVM & Clang projects:

svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
svn co http://llvm.org/svn/llvm-project/cfe/trunk llvm/tools/clang

5) Configure, build and install them:

cmake . llvm
cmake --build .
cmake --build . --target install

You can find more details here.