[all-commits] [llvm/llvm-project] 0ec448: sysroot.py: add support for darwin
Nico Weber via All-commits
all-commits at lists.llvm.org
Thu Feb 18 07:48:46 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0ec448194e2928a3d1dc2eceeb764c6e19bcec3e
https://github.com/llvm/llvm-project/commit/0ec448194e2928a3d1dc2eceeb764c6e19bcec3e
Author: Nico Weber <thakis at chromium.org>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M llvm/utils/gn/build/BUILD.gn
M llvm/utils/gn/build/mac_sdk.gni
M llvm/utils/gn/secondary/compiler-rt/BUILD.gn
M llvm/utils/sysroot.py
Log Message:
-----------
sysroot.py: add support for darwin
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.
Differential Revision: https://reviews.llvm.org/D96958
More information about the All-commits
mailing list