[PATCH] D151013: [CMake] Add option to link LLVM/subproject executables

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 00:52:24 PDT 2023


phosek added a comment.

I'm not against this approach, but keep in mind that we already discussed deprecating support for building runtimes with `LLVM_ENABLE_PROJECTS` at which point this approach is going to break. I'd be more interested in the alternative where we build a first stage Clang, then build libc as part of the runtimes build, and then build a second stage Clang and link against the libc built in the first stage. It's how we already build and link against other runtimes (builtins, libunwind, libc++abi, libc++) in our toolchain build.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151013



More information about the llvm-commits mailing list