Skip to content

Commit 5a37071

Browse files
committed
build: install lld as a separate package
Apparently brew now ships this as a separate package. Signed-off-by: d-tatianin <[email protected]>
1 parent 61ae864 commit 5a37071

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
],
4848
"brew": [
4949
"llvm",
50+
"lld",
5051
"xorriso",
5152
"mtools",
5253
"gdisk",

tests/kernel/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ cmake_minimum_required(VERSION 3.16)
33
if (APPLE)
44
execute_process(
55
COMMAND
6-
brew --prefix llvm
6+
brew --prefix lld
77
OUTPUT_VARIABLE
8-
BREW_LLVM_PREFIX
8+
BREW_LLD_PREFIX
99
OUTPUT_STRIP_TRAILING_WHITESPACE
1010
)
11-
set(LLD_LINKER "${BREW_LLVM_PREFIX}/bin/ld.lld")
11+
set(LLD_LINKER "${BREW_LLD_PREFIX}/bin/ld.lld")
1212
else ()
1313
set(LLD_LINKER "ld.lld")
1414
endif ()

0 commit comments

Comments
 (0)