[all-commits] [llvm/llvm-project] 3001d0: [CMake] Use write_basic_package_version_file for LLVM

Alex Reinking via All-commits all-commits at lists.llvm.org
Sat Mar 27 14:03:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3001d080c813da20b329303bf8f45451480e5905
      https://github.com/llvm/llvm-project/commit/3001d080c813da20b329303bf8f45451480e5905
  Author: Alex Reinking <alex.reinking at gmail.com>
  Date:   2021-03-27 (Sat, 27 Mar 2021)

  Changed paths:
    M llvm/cmake/modules/CMakeLists.txt
    R llvm/cmake/modules/LLVMConfigVersion.cmake.in

  Log Message:
  -----------
  [CMake] Use write_basic_package_version_file for LLVM

Use the CMake 3.13 features of CMakeConfigPackageHelpers to generate
LLVMConfigVersion.cmake with proper architecture detection, major+minor
version matching, etc.

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




More information about the All-commits mailing list