aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/llvm-build2
-rwxr-xr-xhelpers/llvm-env3
2 files changed, 4 insertions, 1 deletions
diff --git a/helpers/llvm-build b/helpers/llvm-build
index 40c42e2..7e00b2b 100755
--- a/helpers/llvm-build
+++ b/helpers/llvm-build
@@ -13,7 +13,7 @@ safe_run verify_env
## CMD line options and defaults
CPUs=`grep -c proc /proc/cpuinfo`
build_dir=$LLVM_BLD
-install_dir=$LLVM_BLD/../../install
+install_dir=$LLVM_INSTALL
build_type=Release
shared=
targets=
diff --git a/helpers/llvm-env b/helpers/llvm-env
index f293adb..50c4c81 100755
--- a/helpers/llvm-env
+++ b/helpers/llvm-env
@@ -123,6 +123,8 @@ if $debug_build; then
llvm_build_dir=$LLVM_ROOT/$branch/debug
fi
+llvm_install_dir=$LLVM_ROOT/$branch/install
+
if [ "$clean" = true ]; then
.llvm-env-remove $llvm_dir $llvm_worktree_dir
else
@@ -146,6 +148,7 @@ fi
export LLVM_SRC=$llvm_worktree_dir
export LLVM_BLD=$llvm_build_dir
+export LLVM_INSTALL=$llvm_install_dir
export LLVM_DEBUG=$debug_build # For llvm-build to know
# Make it possible to undo changes to the PATH: we export an LLVM_OLD_PATH, and