[libc] [llvm] [libc][cmake][linux] require new LLVM_LIBC_USE_HOST_KERNEL_HEADERS or LIBC_KERNEL_HEADERS (PR #123820)

Michael Jones via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 16:46:45 PST 2025


================
@@ -216,6 +216,27 @@ if (LIBC_TARGET_OS_IS_WINDOWS AND LLVM_LIBC_FULL_BUILD)
   message(FATAL_ERROR "Windows does not support full mode build.")
 endif ()
 
+if (LIBC_TARGET_OS_IS_LINUX)
----------------
michaelrj-google wrote:

Would it make sense to automatically set `LLVM_LIBC_USE_HOST_KERNEL_HEADERS` for overlay builds?

https://github.com/llvm/llvm-project/pull/123820


More information about the llvm-commits mailing list