[all-commits] [llvm/llvm-project] ecfa2d: Add version to all LLVM cmake package

RoboTux via All-commits all-commits at lists.llvm.org
Fri Nov 25 13:58:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecfa2d3d9943a48411d04a4b3103c42b4653d9af
      https://github.com/llvm/llvm-project/commit/ecfa2d3d9943a48411d04a4b3103c42b4653d9af
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M clang/cmake/modules/CMakeLists.txt
    M clang/cmake/modules/ClangConfig.cmake.in
    A clang/cmake/modules/ClangConfigVersion.cmake.in
    M flang/cmake/modules/CMakeLists.txt
    M flang/cmake/modules/FlangConfig.cmake.in
    A flang/cmake/modules/FlangConfigVersion.cmake.in
    M lld/cmake/modules/CMakeLists.txt
    M lld/cmake/modules/LLDConfig.cmake.in
    A lld/cmake/modules/LLDConfigVersion.cmake.in
    M mlir/cmake/modules/CMakeLists.txt
    M mlir/cmake/modules/MLIRConfig.cmake.in
    A mlir/cmake/modules/MLIRConfigVersion.cmake.in
    M polly/cmake/CMakeLists.txt
    M polly/cmake/PollyConfig.cmake.in
    A polly/cmake/PollyConfigVersion.cmake.in

  Log Message:
  -----------
  Add version to all LLVM cmake package

Add a version to non-LLVM cmake package so that users needing an exact
version match can use the version parameter to find_package. Also adjust
the find_package(LLVM) to use an exact version match as well.

Reviewed By: arsenm, stellaraccident, mceier

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




More information about the All-commits mailing list