Skip to content

Commit fc0e2ac

Browse files
committed
Include lib dir when running llvm-config remotely
1 parent b4c5f34 commit fc0e2ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fixups/rustc_llvm/defs.bzl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
def _llvm_config_impl(ctx: AnalysisContext) -> list[Provider]:
22
llvm = ctx.attrs.llvm[DefaultInfo].default_outputs[0]
3-
llvm_config = llvm.project("bin/llvm-config")
3+
llvm_bin = llvm.project("bin")
4+
llvm_lib = llvm.project("lib")
5+
llvm_config = llvm_bin.project("llvm-config").with_associated_artifacts([llvm_lib])
46
return [
57
DefaultInfo(default_output = llvm_config),
68
RunInfo(llvm_config),

0 commit comments

Comments
 (0)