[PATCH] D136315: [clang][Darwin] Try to guess the SDK root with xcrun when unspecified

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 18 18:48:31 PST 2023


thakis added a comment.

This breaks oodles of tests for me: http://45.33.8.238/macm1/52994/step_7.txt

Is anyone else seeing this?

Also, independently of that, shouldn't this check that the _host_ os is macOS as well? Doesn't the current code try to run `xcrun` if I do `clang --target=arm64-apple-macos -x c -c /dev/null` on Linux? (Or am I misreading that?)


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