[PATCH] D138274: Add version to all LLVM cmake package
Thomas Preud'homme via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 18 02:38:34 PST 2022
thopre created this revision.
thopre added reviewers: smeenai, arsenm, stella.stamenova, stellaraccident, Ericson2314, pmccormick, beanz.
Herald added a reviewer: bollu.
Herald added subscribers: Moerafaat, zero9178, bzcheeseman, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini.
Herald added a reviewer: sscalpone.
Herald added projects: Flang, All.
thopre requested review of this revision.
Herald added subscribers: cfe-commits, stephenneuendorffer, nicolasvasilache, jdoerfert, wdng.
Herald added projects: clang, MLIR.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D138274
Files:
clang/cmake/modules/CMakeLists.txt
clang/cmake/modules/ClangConfig.cmake.in
clang/cmake/modules/ClangConfigVersion.cmake.in
flang/cmake/modules/CMakeLists.txt
flang/cmake/modules/FlangConfig.cmake.in
flang/cmake/modules/FlangConfigVersion.cmake.in
lld/cmake/modules/CMakeLists.txt
lld/cmake/modules/LLDConfig.cmake.in
lld/cmake/modules/LLDConfigVersion.cmake.in
mlir/cmake/modules/CMakeLists.txt
mlir/cmake/modules/MLIRConfig.cmake.in
mlir/cmake/modules/MLIRConfigVersion.cmake.in
polly/cmake/CMakeLists.txt
polly/cmake/PollyConfig.cmake.in
polly/cmake/PollyConfigVersion.cmake.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138274.476397.patch
Type: text/x-patch
Size: 12155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221118/8596506f/attachment-0001.bin>
More information about the cfe-commits
mailing list