[PATCH] D136315: [clang][Darwin] Try to guess the SDK root with xcrun when unspecified
Caleb Zulawski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 19 15:16:32 PST 2023
calebzulawski added a comment.
One thing to throw into the mix: Apple's clang has a default sysroot configured, so with the default system compiler, there is no way to replicate this "build without a sysroot" scenario as far as I can tell. For the system compiler, I believe this behavior is a strict improvement.
Looking at all of the errors, it looks like the common thread is that when a sysroot is present, the version in the target triple (e.g. `x86_64-apple-macos10`) isn't respected. If this is true, I think this possibly uncovered an existing bug...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136315/new/
https://reviews.llvm.org/D136315
More information about the cfe-commits
mailing list