[PATCH] D96958: sysroot.py: add support for darwin

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 07:23:31 PST 2021


thakis created this revision.
thakis added a reviewer: hans.
thakis requested review of this revision.
Herald added a project: LLVM.

This is a tiny bit messy because compiler-rt needs different sysroots for
macOS, iOS, etc. We want sysroot.py to create something that is a hermetic
representation of all build deps, so it needs to create a directory that
contains all needed SDKs, and these subdirectories are then passed to
cmake which passes each of these _subdirectories_ as different -isysroot
flags while building the runtime libraries.


https://reviews.llvm.org/D96958

Files:
  llvm/utils/gn/build/BUILD.gn
  llvm/utils/gn/build/mac_sdk.gni
  llvm/utils/gn/secondary/compiler-rt/BUILD.gn
  llvm/utils/sysroot.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96958.324627.patch
Type: text/x-patch
Size: 7948 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210218/10fd19a1/attachment.bin>


More information about the llvm-commits mailing list