HomePhabricator

[Modules] Add platform and environment features to requires clause

Description

[Modules] Add platform and environment features to requires clause

Allows module map writers to add build requirements based on
platform/os. This helps when target features and language dialects
aren't enough to conditionalize building a module, among other things,
it allow module maps for different platforms to live in the same file.

rdar://problem/43909745

Differential Revision: https://reviews.llvm.org/D51910

Details

Committed
brunoSep 18 2018, 10:11 AM
Differential Revision
D51910: [Modules] Add platform feature to requires clause
Branches
Unknown
Tags
Unknown