[all-commits] [llvm/llvm-project] 177cbb: [CMake] Explicit bootstrap options override any pa...
Carlos Alberto Enciso via All-commits
all-commits at lists.llvm.org
Wed Aug 17 00:17:32 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 177cbb1c9b661b15a7db35e4ec9255adf502a6cb
https://github.com/llvm/llvm-project/commit/177cbb1c9b661b15a7db35e4ec9255adf502a6cb
Author: Carlos Alberto Enciso <carlos.alberto.enciso at gmail.com>
Date: 2022-08-17 (Wed, 17 Aug 2022)
Changed paths:
M clang/CMakeLists.txt
Log Message:
-----------
[CMake] Explicit bootstrap options override any passthrough ones.
The https://reviews.llvm.org/D53014 added CMAKE_BUILD_TYPE to
the list of BOOTSTRAP_DEFAULT_PASSTHROUGH variables.
The downside is that both stage-1 and stage-2 configurations
are the same. So it is not possible to build different stage
configurations.
This patch allow explicit bootstrap options to override any
passthrough ones.
For instance, the following settings would build:
stage-1 (Release) and stage-2(Debug)
-DCMAKE_BUILD_TYPE=Release -DBOOTSTRAP_CMAKE_BUILD_TYPE=Debug
Reviewed By: @beanz
Differential Revision: https://reviews.llvm.org/D131755
More information about the All-commits
mailing list