petrhosek wrote:

> The runtimes build already builds the toolchain and then builds the runtimes 
> with the just-built toolchain. Can we build the LTO-optimized libc++ as part 
> of stage1 and have stage2 be what the current stage3 is, to avoid any 
> redundancy? I really like the direction here otherwise.

That's exactly what we do in Fuchsia, we build runtimes in [stage 
1](https://github.com/llvm/llvm-project/blob/2b9e947d4346ad03328a31f90b9056837c042d1b/clang/cmake/caches/Fuchsia.cmake)
 and then use them in [stage 
2](https://github.com/llvm/llvm-project/blob/2b9e947d4346ad03328a31f90b9056837c042d1b/clang/cmake/caches/Fuchsia-stage2.cmake).

https://github.com/llvm/llvm-project/pull/117802
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to