mesonbuild/meson

Support b_lto with clang-cl and lld-link

已关闭

#13,095 创建于 2024年4月15日

 (1 条评论) (0 个反应) (0 位负责人)Python (1,465 个派生)batch import
OS:windowscompilersenhancementgood first issue

仓库指标

星标
 (4,978 个星标)
PR 合并指标
 (平均合并 139天 13小时) (30 天内合并 51 个 PR)

描述

Describe the bug When using clang-cl and lld-link, b_lto is not recognized by meson.

$ meson configure -Db_lto=true

ERROR: Unknown options: "b_lto"

Expected behavior clang-cl and lld-link supporting link-time optimization, meson should be able to plug it in too.

system parameters

  • Windows 11, using CC=clang-cl; CXX=clang-cl (lld-link is set as the default linker)
  • Python 3.11.2
  • meson 1.4.0

贡献者指南