e5c0ed5ef8
libclc's native build needs a COMPLETE host LLVM dev tree (host clang + llvm-as/opt/llc/llvm-link + LLVMConfig/LLVMExports.cmake + the static component libs they reference). The redoxer runtime toolchain ships only libLLVM.so + clang, so find_package(LLVM) failed on missing static libs; the cross llvm21.dev is the wrong (Redox-targeted) LLVM. - deps: clang21/llvm21(+.dev) -> llvm-native(+.dev). Using ONLY llvm-native avoids staging two conflicting usr/lib/cmake/llvm trees (host vs cross) into the same sysroot path. - script: resolve HOST_LLVM_PREFIX=$COOKBOOK_SYSROOT/usr; point CMAKE_C/CXX/ASM_COMPILER + AR/NM/RANLIB at llvm-native's host binaries and LLVM_DIR at its host cmake tree; add staged-file guards with diagnostics. Unblocks the FULL graphics stack (mesa->qt->kf6->sddm). Cook-validated when FULL reaches libclc (cooks llvm-native first — a full host LLVM build). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>