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

Steven Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 19 12:57:22 PST 2023


steven_wu added a comment.

This breaks macOS bot too: https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/33839/

I think this changes might be more disruptive than expected. While it is encouraged to use `-isysroot` when building anything on Darwin platform, it is also perfectly "fine" to build without sysroot specified. Forcing a sysroot on users who are not specifying the isysroot will change the header/library search behavior.


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