Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

Commit 02d50bc

Browse files
nickdesaulniersnathanchance
authored andcommitted
enable llvm-ar by default (#127)
* enable llvm-ar by default * add -9 suffixes * add missed -9 * remove lld-9 check
1 parent ecd6685 commit 02d50bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

driver.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ check_dependencies() {
145145
command -v timeout
146146
command -v unbuffer
147147
command -v clang-9
148+
command -v llvm-ar-9
148149
command -v "${LD:="${CROSS_COMPILE:-}"ld}"
149150
}
150151

@@ -154,7 +155,7 @@ mako_reactor() {
154155
KBUILD_BUILD_TIMESTAMP="Thu Jan 1 00:00:00 UTC 1970" \
155156
KBUILD_BUILD_USER=driver \
156157
KBUILD_BUILD_HOST=clangbuiltlinux \
157-
make -j"${jobs:-$(nproc)}" CC="${CC}" HOSTCC="${CC}" LD="${LD}" HOSTLD="${HOSTLD:-ld}" "${@}"
158+
make -j"${jobs:-$(nproc)}" CC="${CC}" HOSTCC="${CC}" LD="${LD}" HOSTLD="${HOSTLD:-ld}" AR="llvm-ar-9" "${@}"
158159
}
159160

160161
build_linux() {

0 commit comments

Comments
 (0)