Install lld on macOS.
This commit is contained in:
parent
0d541cf179
commit
4fcdb1cdd8
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: install llvm
|
- name: install llvm
|
||||||
run: brew install llvm x86_64-elf-binutils x86_64-elf-gcc
|
run: brew install llvm x86_64-elf-binutils x86_64-elf-gcc lld
|
||||||
- name: LLVM build
|
- name: LLVM build
|
||||||
run: make LLVM=on image.bin
|
run: make LLVM=on image.bin
|
||||||
windows:
|
windows:
|
||||||
|
|||||||
2
setup.sh
2
setup.sh
@ -3,7 +3,7 @@
|
|||||||
if [ `uname` = Darwin ]; then
|
if [ `uname` = Darwin ]; then
|
||||||
brew install \
|
brew install \
|
||||||
x86_64-elf-binutils x86_64-elf-gcc \
|
x86_64-elf-binutils x86_64-elf-gcc \
|
||||||
x86_64-elf-gdb qemu
|
x86_64-elf-gdb qemu lld
|
||||||
elif [ `uname` = Linux ]; then
|
elif [ `uname` = Linux ]; then
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install qemu-system-x86
|
sudo apt-get install qemu-system-x86
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user