aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-update.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-05-14 18:14:50 +0000
committerterminaldweller <thabogre@gmail.com>2021-05-14 18:14:50 +0000
commit6e528248414e330c9e25e81596ab47b8b8a5b701 (patch)
treee1aa41a7f3198eeac187e6177ec7d4a33db229d3 /llvm-update.sh
downloadscripts-6e528248414e330c9e25e81596ab47b8b8a5b701.tar.gz
scripts-6e528248414e330c9e25e81596ab47b8b8a5b701.zip
first commitmaster
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)