New submission from Andrew C. Morrow <andrew.c.mor...@gmail.com>:
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. Please see https://github.com/Homebrew/homebrew-core/pull/70177 for additional background. ---------- components: Build messages: 386174 nosy: acmorrow priority: normal severity: normal status: open title: When using Apple Clang, --with-lto builds should not check for llvm-ar type: enhancement versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43109> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com