[all-commits] [llvm/llvm-project] b206bf: Fix CLANG_BOOTSTRAP_TARGETS in Release.cmake (#106...
Konrad Kleine via All-commits
all-commits at lists.llvm.org
Thu Sep 5 01:41:40 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b206bf0952796cb93f1aca9e47d5764e474e1998
https://github.com/llvm/llvm-project/commit/b206bf0952796cb93f1aca9e47d5764e474e1998
Author: Konrad Kleine <kkleine at redhat.com>
Date: 2024-09-05 (Thu, 05 Sep 2024)
Changed paths:
M clang/cmake/caches/Release.cmake
Log Message:
-----------
Fix CLANG_BOOTSTRAP_TARGETS in Release.cmake (#106407)
# Problem
Before this patch you could not build the `stage2-LLVM` for example
because you first had to manually add it to `CLANG_BOOTSTRAP_TARGETS` in
the `Release.cmake` and also add it to
`LLVM_RELEASE_FINAL_STAGE_TARGETS` in the cmake configure run. Now you
can just use `-DLLVM_RELEASE_FINAL_STAGE_TARGETS="LLVM;clang"` on the
cmake CLI and be able to build the targets `stage2-LLVM` and
`stage2-clang` without further changes to the cache file.
# Solution
Take all `LLVM_RELEASE_FINAL_STAGE_TARGETS` elements and append them
prefixed with `stage2-` to `CLANG_BOOTSTRAP_TARGETS`. Afterwards all
duplicates are removed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list