Revert "build: adjust ThinLTO's memory usage for non-Android"
This reverts commit 0e9a0b02. Reason for revert: Breaks Linux CFI bot, see https://crbug.com/997103 Original change's description: > build: adjust ThinLTO's memory usage for non-Android > > In the linked bug, we discovered that clean Chrome links with ThinLTO > enabled consume quite a bit of memory. In my measurements, Chrome OS x64 > links take around 49GB, and a standard Linux ThinLTO link takes around > 46GB. > > Build command: > $ /usr/bin/time -v ninja chrome > [snip] > Maximum resident set size (kbytes): 46337504 > [snip] > $ cat args.gn > target_os = "linux" > target_cpu = "x64" > use_goma = true > is_official_build = true > is_chrome_branded = true > clang_use_default_sample_profile = true > use_thin_lto = true > > (the last two args should be redundant in this case) > > Measured similarly, Android's build takes 8-9GB on ARM, so it gets to > stay at 10GB. > > Bug: 988364 > Change-Id: Ia1bbf6b441dcb9219a37842060e72eebe7ec687e > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1755189 > Reviewed-by: Peter Collingbourne <pcc@chromium.org> > Reviewed-by: Nico Weber <thakis@chromium.org> > Commit-Queue: George Burgess <gbiv@chromium.org> > Cr-Commit-Position: refs/heads/master@{#689090} TBR=thakis@chromium.org,pcc@chromium.org,gbiv@chromium.org,inglorion@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 988364 Change-Id: Icfab0c6b2bd4d08b524d6c32a456026af15543bf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768816Reviewed-by:Nico Weber <thakis@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#689904}
Showing
Please register or sign in to comment