diff options
Diffstat (limited to 'helpers/llvm-projs')
-rwxr-xr-x | helpers/llvm-projs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/helpers/llvm-projs b/helpers/llvm-projs index ae8ac22..bbcaf0a 100755 --- a/helpers/llvm-projs +++ b/helpers/llvm-projs @@ -46,13 +46,14 @@ llvmtool=$progdir/../scripts/llvm.py # Grab the environment name from $LLVM_SRC . llvm-common verify_env -env=$(basename $(dirname $LLVM_SRC)) +repos=$LLVM_ROOT/repos +env=$(dirname $LLVM_SRC) # No args, list if [ "$1" = "" ]; then echo "Use $prog -h for options" echo - safe_run python3 $llvmtool $env projects + safe_run python3 $llvmtool --repos $repos --env $env projects exit fi @@ -102,7 +103,7 @@ case $opt in shift ;; list) - python $llvmtool projects + safe_run python3 $llvmtool --repos $repos --env $env projects exit ;; -h) @@ -200,7 +201,6 @@ update "libcxxabi" $libcxxabi update "libcxx" $libcxx update "compiler-rt" $rt update "clang" $clang -update "clang-tools-extra" $clang_extra if [ "$add" != "" ]; then add="-a $add" @@ -210,4 +210,4 @@ if [ "$remove" != "" ]; then remove="-r $remove" fi -safe_run python3 $llvmtool $env projects $add $remove +safe_run python3 $llvmtool --repos $repos --env $env projects $add $remove |