[all-commits] [llvm/llvm-project] 21c165: [CMake] Pass bugreport URL to standalone clang build

Michał Górny via All-commits all-commits at lists.llvm.org
Sat Aug 1 23:33:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 21c165de2a1bcca9dceb452f637d9e8959fba113
      https://github.com/llvm/llvm-project/commit/21c165de2a1bcca9dceb452f637d9e8959fba113
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2020-08-02 (Sun, 02 Aug 2020)

  Changed paths:
    M clang/CMakeLists.txt
    M llvm/cmake/modules/LLVMConfig.cmake.in

  Log Message:
  -----------
  [CMake] Pass bugreport URL to standalone clang build

BUG_REPORT_URL is currently used both in LLVM and in Clang but declared
only in the latter.  This means that it's missing in standalone clang
builds and the driver ends up outputting:

  PLEASE submit a bug report to  and include [...]

(note the missing URL)

To fix this, include LLVM_PACKAGE_BUGREPORT in LLVMConfig.cmake
(similarly to how we pass PACKAGE_VERSION) and use it to fill
BUG_REPORT_URL when building clang standalone.

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




More information about the All-commits mailing list