[libcxx-commits] [libcxxabi] [libunwind] [libcxxabi][libunwind] Support for using LLVM libc (PR #101688)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 5 11:51:43 PDT 2024
ldionne wrote:
> @ldionne I'm starting to think that we should have a generic module in https://github.com/llvm/llvm-project/tree/main/cmake/Modules that would be controlled by `LLVM_USE_LIBC` and define `libc-headers`, `libc-static` and `libc-shared`. That way we could avoid duplicating this logic in every subproject. What do you think?
I agree, but I might put it in `runtimes/cmake/Modules` where we already have some stuff. I also wonder if we want to use `LLVM_USE_LIBC` or `RUNTIMES_USE_LIBC` or something else. Historically, `LLVM_FOO` settings are mostly things that we've inherited from `<monorepo>/llvm/CMakeLists.txt` and tried to move away from.
https://github.com/llvm/llvm-project/pull/101688
More information about the libcxx-commits
mailing list