[llvm] Win release packaging: Don't try to use rpmalloc for 32-bit x86 (PR #106969)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 2 03:56:45 PDT 2024
https://github.com/zmodem created https://github.com/llvm/llvm-project/pull/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.
>From fe9b9724ec39422e1fb44d89dc83ab927b540949 Mon Sep 17 00:00:00 2001
From: Hans Wennborg <hans at chromium.org>
Date: Mon, 2 Sep 2024 12:54:07 +0200
Subject: [PATCH] Win release packaging: Don't try to use rpmalloc for 32-bit
x86
---
llvm/utils/release/build_llvm_release.bat | 1 +
1 file changed, 1 insertion(+)
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-commits
mailing list