[all-commits] [llvm/llvm-project] 91f3f0: lld/cmake: Drop use of llvm-config for LLVM instal...
Tom Stellard via All-commits
all-commits at lists.llvm.org
Sat Aug 6 13:24:16 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 91f3f0bf31d6fdcbbd750670840e22f9b2b36625
https://github.com/llvm/llvm-project/commit/91f3f0bf31d6fdcbbd750670840e22f9b2b36625
Author: Tom Stellard <tstellar at redhat.com>
Date: 2022-08-06 (Sat, 06 Aug 2022)
Changed paths:
M lld/CMakeLists.txt
Log Message:
-----------
lld/cmake: Drop use of llvm-config for LLVM install discovery
This has been deprecated since D116492 earlier in 2022.
That seems recent, but with the recent cut of LLVM 15 that is still two releases (14 and 15). Meanwhile Clang has deprecated `llvm-config` for a lot longer, and since it is likely that LLD users are also Clang users, this serves as an extra "heads up" that `llvm-config` is on its way out.
Remove it in favor of using CMake's find_package() function.
Reviewed By: MaskRay, mgorny
Differential Revision: https://reviews.llvm.org/D131144
More information about the All-commits
mailing list