aboutsummaryrefslogtreecommitdiff
path: root/helpers/llvm-env
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/llvm-env')
-rwxr-xr-xhelpers/llvm-env3
1 files changed, 3 insertions, 0 deletions
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