# Note: depends on cmake # Note: depends on Python2 wget -c http://llvm.org/releases/6.0.0/llvm-6.0.0.src.tar.xz tar -xJf llvm-6.0.0.src.tar.xz cd llvm-6.0.0.src mkdir -p build cd build cmake .. -DCMAKE_INSTALL_PREFIX="/usr" -DBUILD_SHARED_LIBS=ON make # Doesn't mind -j# make install