[llvm-branch-commits] [llvm] d9cb501 - Win release packaging: Don't try to use rpmalloc for 32-bit x86 (#106969)
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Sep 3 00:02:41 PDT 2024
Author: Hans
Date: 2024-09-03T09:02:01+02:00
New Revision: d9cb501ec0012de5d4e1c6310df55f4e8af011a9
URL: https://github.com/llvm/llvm-project/commit/d9cb501ec0012de5d4e1c6310df55f4e8af011a9
DIFF: https://github.com/llvm/llvm-project/commit/d9cb501ec0012de5d4e1c6310df55f4e8af011a9.diff
LOG: Win release packaging: Don't try to use rpmalloc for 32-bit x86 (#106969)
because that doesn't work (results in `LINK : error LNK2001: unresolved
external symbol malloc`).
Based on the title of #91862 it was only intended for use in 64-bit
builds.
(cherry picked from commit ef26afcb88dcb5f2de79bfc3cf88a8ea10f230ec)
Added:
Modified:
llvm/utils/release/build_llvm_release.bat
Removed:
################################################################################
diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index 64ae2d41ab2b02..3508748c1d5404 100755
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -193,6 +193,7 @@ REM Stage0 binaries directory; used in stage1.
set "stage0_bin_dir=%build_dir%/build32_stage0/bin"
set cmake_flags=^
%common_cmake_flags% ^
+ -DLLVM_ENABLE_RPMALLOC=OFF ^
-DLLDB_TEST_COMPILER=%stage0_bin_dir%/clang.exe ^
-DPYTHON_HOME=%PYTHONHOME% ^
-DPython3_ROOT_DIR=%PYTHONHOME% ^
More information about the llvm-branch-commits
mailing list