[llvm] build_llvm_release.bat: Use absolute path when building the tarball (PR #169951)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 28 10:27:58 PST 2025
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/169951
The rest of the script uses an absolute path for the llvm source directory too.
>From 1c7bd33c87a2c88e30fe184880b835659799fcbb Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 28 Nov 2025 18:06:31 +0000
Subject: [PATCH] build_llvm_release.bat: Use absolute path when building the
tarball
The rest of the script uses an absolute path for the llvm source
directory too.
---
llvm/utils/release/build_llvm_release.bat | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index 3aeedaa3288a2..ec133032bf54f 100644
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -347,7 +347,7 @@ if "%arch%"=="amd64" (
set filename=clang+llvm-%version%-aarch64-pc-windows-msvc
)
cmake -GNinja %cmake_flags% %cmake_profile_flags% -DLLVM_INSTALL_TOOLCHAIN_ONLY=OFF ^
- -DCMAKE_INSTALL_PREFIX=%build_dir%/%filename% ..\llvm-project\llvm || exit /b 1
+ -DCMAKE_INSTALL_PREFIX=%build_dir%/%filename% %llvm_src%\llvm || exit /b 1
ninja install || exit /b 1
:: check llvm_config is present & returns something
%build_dir%/%filename%/bin/llvm-config.exe --bindir || exit /b 1
More information about the llvm-commits
mailing list