mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Updated instruction of installation of clang: added useful tool [#CLICKHOUSE-2].
This commit is contained in:
parent
2c424c7989
commit
02a0317db6
@ -9,20 +9,29 @@ THREADS=$(grep -c ^processor /proc/cpuinfo)
|
||||
|
||||
cd ~
|
||||
sudo apt-get install -y subversion cmake3
|
||||
|
||||
mkdir llvm
|
||||
cd llvm
|
||||
svn co "http://llvm.org/svn/llvm-project/llvm/${BRANCH}" llvm
|
||||
|
||||
cd llvm/tools
|
||||
svn co "http://llvm.org/svn/llvm-project/cfe/${BRANCH}" clang
|
||||
svn co "http://llvm.org/svn/llvm-project/lld/${BRANCH}" lld
|
||||
svn co "http://llvm.org/svn/llvm-project/polly/${BRANCH}" polly
|
||||
|
||||
cd clang/tools
|
||||
svn co "http://llvm.org/svn/llvm-project/clang-tools-extra/${BRANCH}" extra
|
||||
|
||||
git clone https://github.com/include-what-you-use/include-what-you-use.git
|
||||
echo 'add_subdirectory(include-what-you-use)' >> CMakeLists.txt
|
||||
sudo apt-get install libncurses5-dev
|
||||
|
||||
cd ../../../..
|
||||
cd llvm/projects/
|
||||
svn co "http://llvm.org/svn/llvm-project/compiler-rt/${BRANCH}" compiler-rt
|
||||
svn co "http://llvm.org/svn/llvm-project/libcxx/${BRANCH}" libcxx
|
||||
svn co "http://llvm.org/svn/llvm-project/libcxxabi/${BRANCH}" libcxxabi
|
||||
|
||||
cd ../..
|
||||
mkdir build
|
||||
cd build/
|
||||
|
Loading…
Reference in New Issue
Block a user