Bug#1002308: lld-13: LLD is not found by a find_package cmake call

maxzor maxzor at maxzor.eu
Fri Dec 24 17:22:20 GMT 2021


The call is right after a clang call which works:

find_package(AMDDeviceLibs REQUIRED CONFIG)
find_package(Clang REQUIRED CONFIG)
find_package(LLD REQUIRED CONFIG)

I have installed :

liblld-13 liblld-13-dev lld-13

llvm-13 llvm-13-dev llvm-13-runtime llvm-13-tools llvm-13-linker-tools

libclang-13-dev clang-13

If I pass to cmake the flag -DLLD_DIR=/usr/lib/llvm-13/lib/cmake/lld I 
can build the project, but shouldn't it work right off the bat?



More information about the Pkg-llvm-team mailing list