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

Improve LLVM configuration on Mac OS X #18727

Merged
merged 3 commits into from
Nov 16, 2021

Commits on Nov 15, 2021

  1. Add isysroot argument even for system llvm

    This appears to be necessary on Mac OS X 11.6.1 with
    Homebrew llvm version 11.1.0.
    
    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    fe9c15e View commit details
    Browse the repository at this point in the history
  2. Link clang statically for Mac OS X with system LLVM

    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    5afa861 View commit details
    Browse the repository at this point in the history
  3. Add -I and -L paths according to sysroot

    This seems to be necessary on Mac OS 11.6 and newer.
    See https://developer.apple.com/forums/thread/666700
    for some background in this area.
    
    ---
    Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
    mppf committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    a833f3f View commit details
    Browse the repository at this point in the history