[all-commits] [llvm/llvm-project] f37e6f: [gn build] Use llvm-ar when clang_base_path is spe...

aeubanks via All-commits all-commits at lists.llvm.org
Wed May 11 10:41:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f37e6faf523d237a04b91fa3d736659a6ef8a9c6
      https://github.com/llvm/llvm-project/commit/f37e6faf523d237a04b91fa3d736659a6ef8a9c6
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-05-11 (Wed, 11 May 2022)

  Changed paths:
    M llvm/utils/gn/build/toolchain/BUILD.gn

  Log Message:
  -----------
  [gn build] Use llvm-ar when clang_base_path is specified

Only applies linux for now.

This prevents warnings with use_thinlto like
  bfd plugin: LLVM gold plugin has failed to create LTO module: Not an int attribute (Producer: 'LLVM15.0.0git' Reader: 'LLVM 13.0.1')

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D125399




More information about the All-commits mailing list