Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 22 lines (19 sloc) 0.404 kB
9a670c8 @avsm add shell script to build our modified llvm/clang toolchain
avsm authored
1 #!/bin/sh
2 # Build our patched LLVM/CLANG
3 # Run from ctsrd.svn/tesla/trunk
4
5 if [ ! -d llvm ]; then
d451a3f @sjmurdoch Update build script to use the new location of TESLA clang/llvm
sjmurdoch authored
6 git clone http://github.com/CTSRD-TESLA/llvm.git
9a670c8 @avsm add shell script to build our modified llvm/clang toolchain
avsm authored
7 cd llvm/tools
d451a3f @sjmurdoch Update build script to use the new location of TESLA clang/llvm
sjmurdoch authored
8 git clone http://github.com/CTSRD-TESLA/clang
9a670c8 @avsm add shell script to build our modified llvm/clang toolchain
avsm authored
9 cd ../../
fce6338 @sjmurdoch If build_clang is given --no-update, do not pull in updates
sjmurdoch authored
10 elif [ "$1" != "--no-update" ]; then
ef3eca8 @avsm in this fast-paced world of ever-changing code, lets also git-pull in…
avsm authored
11 cd llvm
12 git pull
13 cd tools/clang
14 git pull
15 cd ../../..
9a670c8 @avsm add shell script to build our modified llvm/clang toolchain
avsm authored
16 fi
17
18 mkdir -p build
19 cd build
20 cmake -j5 -DCLANG_BUILD_EXAMPLES=true ../llvm
21 make
Something went wrong with that request. Please try again.