Skip to content

Commit

Permalink
Win release packaging: Don't try to use rpmalloc for 32-bit x86 (llvm…
Browse files Browse the repository at this point in the history
…#106969)

because that doesn't work (results in `LINK : error LNK2001: unresolved
external symbol malloc`).
Based on the title of llvm#91862 it was only intended for use in 64-bit
builds.
  • Loading branch information
zmodem authored Sep 2, 2024
1 parent b0de7fa commit ef26afc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/utils/release/build_llvm_release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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% ^
Expand Down

0 comments on commit ef26afc

Please sign in to comment.