[all-commits] [llvm/llvm-project] c39892: [CMake][runtimes] Check LLVM_ENABLE_PROJECTS for l...
Petr Hosek via All-commits
all-commits at lists.llvm.org
Thu Jan 4 12:14:46 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c398923f32ff5373964e1288d9de37403c2399dd
https://github.com/llvm/llvm-project/commit/c398923f32ff5373964e1288d9de37403c2399dd
Author: Petr Hosek <phosek at google.com>
Date: 2024-01-04 (Thu, 04 Jan 2024)
Changed paths:
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[CMake][runtimes] Check LLVM_ENABLE_PROJECTS for libc (#76845)
Only some targets may be building llvm-libc in which case the top-level
LLVM_ENABLE_RUNTIMES variable won't contain libc. Rather, we can check
LLVM_ENABLE_PROJECTS since libc is required to be included there for
libc-hdrgen to be built (and when LLVM_ENABLE_RUNTIMES contains libc, we
automatically include libc in LLVM_ENABLE_PROJECTS as well).
More information about the All-commits
mailing list