Skip to content

Conversation

@jkloetzke
Copy link
Member

When cross-compiling llvm, the devel::llvm-host-tools package is built with the host-compat-toolchain. In contrast to other packages, the llvm tools are still linked shared. That is, libLLVM.so and friends need to be available when executing these tools. Fortunately, the llvm build system sets a proper RPATH so that we just have to install the shared libraries.

When cross-compiling llvm, the devel::llvm-host-tools package is built
with the host-compat-toolchain. In contrast to other packages, the llvm
tools are still linked shared. That is, libLLVM.so and friends need to
be available when executing these tools. Fortunately, the llvm build
system sets a proper RPATH so that we just have to install the shared
libraries.
@jkloetzke jkloetzke merged commit 23358c4 into BobBuildTool:master Dec 17, 2025
3 checks passed
@jkloetzke jkloetzke deleted the fix-llvm-cross branch December 17, 2025 13:34
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