[PATCH] D124153: [CMake] Change default CMAKE_BUILD_TYPE to Release

Nicolas Abram via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 12:43:54 PDT 2022


nico-abram added a comment.

In D124153#3468447 <https://reviews.llvm.org/D124153#3468447>, @zero9178 wrote:

> - A debug build on Windows using MSVC can take around 70 to roughly 100 GB of storage space, which are always surprising and may also lead to out of disk space errors. Release builds are comparatively just a few Gigabytes. I believe they are also multiply tens of Gigabytes on other OSs

As someone who recently did his first patch, this was very surprising. I had a ~155 GB VS2022 generator debug build folder, which was a lot more than 15-20 GB mentioned on https://llvm.org/docs/GettingStarted.html


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124153/new/

https://reviews.llvm.org/D124153



More information about the llvm-commits mailing list