diff options
Diffstat (limited to 'helpers/llvm-projs')
-rwxr-xr-x | helpers/llvm-projs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/helpers/llvm-projs b/helpers/llvm-projs index e0ff2da..ac20999 100755 --- a/helpers/llvm-projs +++ b/helpers/llvm-projs @@ -8,7 +8,7 @@ prog=`basename $0` syntax() { - echo "Syntax: $prog {+/-}[clang|rt|libs|tools|test]" + echo "Syntax: $prog {+/-}[clang|cextra|rt|libs|tools|test]" echo " noarg: list linked projects" echo " {+/-}: link / unlik projects (default: link)" } @@ -16,6 +16,8 @@ syntax() { # Dirs and links into LLVM clang_dir=clang clang_link=tools/clang +clang_extra_dir=clang-tools-extra +clang_extra_link=tools/clang/tools/extra rt_dir=compiler-rt rt_link=projects/compiler-rt libcxx_dir=libcxx @@ -63,6 +65,7 @@ update() { list_all() { echo "Projects linked:" has $clang_link && echo " + Clang" + has $clang_extra_link && echo " + Clang Tools Extra" has $rt_link && echo " + Compiler-RT" has $libcxx_link && echo " + LibC++" has $libcxxabi_link && echo " + LibC++abi" @@ -83,6 +86,7 @@ fi # Need/not need clang=`init $clang_link` +clang_extra=`init $clang_extra_link` rt=`init $rt_link` libcxx=`init $libcxx_link` libcxxabi=`init $libcxxabi_link` @@ -108,6 +112,9 @@ while ! test -z $1; do clang) clang=$flag ;; + cextra) + clang_extra=$flag + ;; rt) rt=$flag ;; @@ -147,4 +154,5 @@ update $libcxxabi_dir $libcxxabi_link $libcxxabi update $libcxx_dir $libcxx_link $libcxx update $rt_dir $rt_link $rt update $clang_dir $clang_link $clang +update $clang_extra_dir $clang_extra_link $clang_extra list_all |