升级cmakeyum autoremove cmakewget https://cmake.org/files/v3.7/cmake-3.7.1.tar.gztar xzf cmake-3.7.1.tar.gzcd cmake-3.7.1./bootstrapgmake -j$(nproc)make installcd ..rm -fr cmake*安装依赖库yum-builddep -y llvm clangwget https://bootstrap.pypa.io/ez_setup.py -O - | pythoneasy_install pippip install distributewget http://llvm.org/releases/3.9.1/llvm-3.9.1.src.tar.xzwget http://llvm.org/releases/3.9.1/cfe-3.9.1.src.tar.xzwget http://llvm.org/releases/3.9.1/compiler-rt-3.9.1.src.tar.xzwget http://llvm.org/releases/3.9.1/clang-tools-extra-3.9.1.src.tar.xztar xf llvm-3.9.1.src.tar.xzmv llvm-3.9.1.src llvmcd llvm/toolstar xf ../../cfe-3.9.1.src.tar.xzmv cfe-3.9.1.src clangcd clang/toolstar xf ../../../../clang-tools-extra-3.9.1.src.tar.xzmv clang-tools-extra-3.9.1.src extracd ../../../projectstar xf ../../compiler-rt-3.9.1.src.tar.xzmv compiler-rt-3.9.1.src compiler-rtcd ../..mkdir llvm-buildcd llvm-buildcmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/data/software/clang3.9.1 -DLLVM_OPTIMIZED_TABLEGEN=1 ../llvmmake -j$(nproc)make install