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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s