Skip to content

Commit

Permalink
cheribsd: use llvm-link from the SDK
Browse files Browse the repository at this point in the history
llvm-link is used by the kernel-c18n branch to generate an IR file of
the kernel.
  • Loading branch information
kwitaszczyk authored and jrtc27 committed Oct 22, 2024
1 parent 83a11f4 commit 52c1e5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pycheribuild/projects/cross/cheribsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,7 @@ def _setup_cross_toolchain_config(self) -> None:
XSTRINGS=cross_bindir / "llvm-strings",
XOBJCOPY=cross_bindir / "llvm-objcopy",
XRANLIB=cross_bindir / "llvm-ranlib",
XLLVM_LINK=cross_bindir / "llvm-link",
)
if xccinfo.is_clang and xccinfo.version < (10, 0):
# llvm-ranlib didn't support -D flag (see https://bugs.llvm.org/show_bug.cgi?id=41707)
Expand Down

0 comments on commit 52c1e5a

Please sign in to comment.