Skip to content

llvm-wasm: include lld-cmake-exports + lld-headers in DIST.#71

Merged
vgvassilev merged 1 commit into
compiler-research:mainfrom
vgvassilev:llvm-wasm-add-lld-cmake-exports
May 12, 2026
Merged

llvm-wasm: include lld-cmake-exports + lld-headers in DIST.#71
vgvassilev merged 1 commit into
compiler-research:mainfrom
vgvassilev:llvm-wasm-add-lld-cmake-exports

Conversation

@vgvassilev
Copy link
Copy Markdown
Contributor

The wasm install tree shipped liblldCommon.a / liblldWasm.a / liblldELF.a (picked up by _walk_built_libs) but no LLDConfig.cmake under lib/cmake/lld/. CppInterOp's wasm consumer passes -DLLD_DIR=$LLVM_BUILD_DIR/lib/cmake/lld and find_package(LLD) fails configure with "Could not find a package configuration file provided by LLD".

Add lld-cmake-exports (writes lib/cmake/lld/LLDConfig.cmake) and lld-headers (writes include/lld/) to the wasm DIST set, mirroring how clang-cmake-exports + clang-headers cover the clang side. The corresponding install rules already exist in LLVM's lld/ tree; they just weren't listed in our DIST so ninja install-distribution skipped them.

The wasm install tree shipped liblldCommon.a / liblldWasm.a /
liblldELF.a (picked up by `_walk_built_libs`) but no LLDConfig.cmake
under lib/cmake/lld/. CppInterOp's wasm consumer passes
`-DLLD_DIR=$LLVM_BUILD_DIR/lib/cmake/lld` and find_package(LLD)
fails configure with "Could not find a package configuration file
provided by LLD".

Add `lld-cmake-exports` (writes lib/cmake/lld/LLDConfig.cmake) and
`lld-headers` (writes include/lld/) to the wasm DIST set, mirroring
how `clang-cmake-exports` + `clang-headers` cover the clang side.
The corresponding install rules already exist in LLVM's lld/ tree;
they just weren't listed in our DIST so `ninja install-distribution`
skipped them.
@vgvassilev vgvassilev merged commit 6eefc18 into compiler-research:main May 12, 2026
33 checks passed
@vgvassilev vgvassilev deleted the llvm-wasm-add-lld-cmake-exports branch May 12, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant