aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-update.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xllvm-update.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm-update.sh b/llvm-update.sh
new file mode 100755
index 0000000..be164cc
--- /dev/null
+++ b/llvm-update.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+cd $(dirname $0)
+REVISION=$(svn info http://llvm.org/svn/llvm-project/llvm/trunk | grep Revision | gawk 'BEGIN{FS=": "}{print $2}')
+cd ~/extra/llvm-clang-4/llvm
+svn up -r$REVISION
+(cd ./projects/compiler-rt; svn up -r$REVISION)
+(cd ./projects/libcxx; svn up -r$REVISION)
+(cd ./projects/libcxxabi; svn up -r$REVISION)
+#(cd ./tools/lldb; svn up -r$REVISION)
+(cd ./tools/clang; svn up -r$REVISION)
+(cd ./tools/clang/tools/extra; svn up -r$REVISION)