mesonbuild/meson

Support b_lto with clang-cl and lld-link

クローズ

#13,095 opened on 2024/04/15

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (1,465 件のフォーク)batch import
OS:windowscompilersenhancementgood first issue

Repository metrics

Stars
 (4,978 個のスター)
PR merge metrics
 (平均マージ 139d 13h) (30d で 51 merged PRs)

説明

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

コントリビューターガイド