Skip to content

Commit 52c1e5a

Browse files
kwitaszczykjrtc27
authored andcommitted
cheribsd: use llvm-link from the SDK
llvm-link is used by the kernel-c18n branch to generate an IR file of the kernel.
1 parent 83a11f4 commit 52c1e5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pycheribuild/projects/cross/cheribsd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,7 @@ def _setup_cross_toolchain_config(self) -> None:
10441044
XSTRINGS=cross_bindir / "llvm-strings",
10451045
XOBJCOPY=cross_bindir / "llvm-objcopy",
10461046
XRANLIB=cross_bindir / "llvm-ranlib",
1047+
XLLVM_LINK=cross_bindir / "llvm-link",
10471048
)
10481049
if xccinfo.is_clang and xccinfo.version < (10, 0):
10491050
# llvm-ranlib didn't support -D flag (see https://bugs.llvm.org/show_bug.cgi?id=41707)

0 commit comments

Comments
 (0)