You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee='https://github.com/ned-deily'closed_at=<Date2021-05-25.10:58:37.915>created_at=<Date2021-02-02.22:52:49.269>labels= ['OS-mac', 'build', '3.9', '3.10', '3.11', 'type-feature']
title='When using Apple Clang, --with-lto builds should not check for llvm-ar'updated_at=<Date2021-05-25.10:58:37.914>user='https://github.com/acmorrow'
When building with --with-lto, an explicit check for llvm-ar is performed as part of the configure step. However, Apple does not ship llvm-ar as part of Xcode, so when building with Apple Clang this check fails and prevents using --with-lto.
However, using the builtin ar seems to work just fine, and it can be selected by passing LLVM_AR=/path/to/ar to configure. It would be nice to see the configure script updated to know that system ar is sufficient when using Apple Clang on macOS.