Posted to tcl by jima at Fri Feb 16 22:05:17 GMT 2018view raw
- export tisLlvmVer=RELEASE_381
- export tisBuiPlatFlav_llvm=$tisBuiPlatFlav/llvm
- export tisInsPlatFlav_llvm=$tisInsPlatFlav/$tisTgtdir
- if [ ! -d $tisBuiPlatFlav_llvm ]; then
- echo creating $tisBuiPlatFlav_llvm
- mkdir $tisBuiPlatFlav_llvm
- fi
- cd $tisBuiPlatFlav_llvm
- svn co http://llvm.org/svn/llvm-project/llvm/tags/${tisLlvmVer}/final llvm
- cd $tisBuiPlatFlav_llvm
- cd llvm/tools
- svn co http://llvm.org/svn/llvm-project/cfe/tags/${tisLlvmVer}/final clang
- cd $tisBuiPlatFlav_llvm
- cd llvm/projects
- svn co http://llvm.org/svn/llvm-project/compiler-rt/tags/${tisLlvmVer}/final compiler-rt
- cd $tisBuiPlatFlav_llvm
- mkdir build
- cd build
- ../llvm/configure --prefix=$tisInsPlatFlav_llvm --enable-optimized --enable-assertions
- make
- make check-all
- make install