[all-commits] [llvm/llvm-project] eccd47: Add CMAKE_BUILD_TYPE to the list of BOOTSTRAP_DEFA...

Sylvestre Ledru via All-commits all-commits at lists.llvm.org
Tue Sep 21 01:45:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eccd477ce312c54e317876ca714c661325f3e318
      https://github.com/llvm/llvm-project/commit/eccd477ce312c54e317876ca714c661325f3e318
  Author: Sylvestre Ledru <sylvestre at debian.org>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M clang/CMakeLists.txt

  Log Message:
  -----------
  Add CMAKE_BUILD_TYPE to the list of BOOTSTRAP_DEFAULT_PASSTHROUGH variables

When building clang in stage2, when -DCMAKE_BUILD_TYPE=RelWithDebInfo is set,
the developer can expect that the stage2 clang is built using the same mode.
Especially as the performances are much worst in debug mode.
(Principle of least astonishment)

Differential Revision: https://reviews.llvm.org/D53014




More information about the All-commits mailing list