Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cling] Fix build with MacOSX15.0.sdk #15900

Merged
merged 2 commits into from
Jun 24, 2024
Merged

Commits on Jun 21, 2024

  1. std_darwin.modulemap: Remove headers for MacOSX15.0.sdk

    Manually curating the modulemap is far from ideal because it requires
    updates for changes in the libc++ library shipped with the SDK, which
    must also work across all supported SDK versions. An alternative would
    be to locate the modulemap shipped with libc++ during configuration
    time, copy it and dynamically modify its contents to suit our needs.
    hahnjo committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    78f8f29 View commit details
    Browse the repository at this point in the history
  2. [Modules] textual headers in submodules never resolve their uses

    When an include from a textual header is resolved, the textual header's
    submodule is used as the requesting module. The submodule's uses are
    resolved, but that doesn't work because only top level modules have
    uses, and only the top level module uses are used for checking uses in
    Module::directlyUses. ModuleMap::resolveUses to resolve the top level
    module instead of the submodule.
    
    ---
    
    This fixes the build of std.pcm with MacOSX15.0.sdk.
    ian-twilightcoder authored and hahnjo committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    fbc9348 View commit details
    Browse the repository at this point in the history