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

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Aug 3 07:01:09 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 921838e68fcd379ff779da0a3d9ebb6fc0fb96f8
      https://github.com/llvm/llvm-project/commit/921838e68fcd379ff779da0a3d9ebb6fc0fb96f8
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2020-08-03 (Mon, 03 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

(cherry picked from commit 21c165de2a1bcca9dceb452f637d9e8959fba113)




More information about the All-commits mailing list