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.
Details
Details
- Reviewers
hans - Commits
- rG0ec448194e29: sysroot.py: add support for darwin
Diff Detail
Diff Detail
This is moving down next to the other sysroots. It's basically unchanged, except that the conditional grows a || sysroot != "".