Skip to content

Commit ef26afc

Browse files
authored
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.
1 parent b0de7fa commit ef26afc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/utils/release/build_llvm_release.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ REM Stage0 binaries directory; used in stage1.
193193
set "stage0_bin_dir=%build_dir%/build32_stage0/bin"
194194
set cmake_flags=^
195195
%common_cmake_flags% ^
196+
-DLLVM_ENABLE_RPMALLOC=OFF ^
196197
-DLLDB_TEST_COMPILER=%stage0_bin_dir%/clang.exe ^
197198
-DPYTHON_HOME=%PYTHONHOME% ^
198199
-DPython3_ROOT_DIR=%PYTHONHOME% ^

0 commit comments

Comments
 (0)