File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 52
52
wget https://apt.llvm.org/llvm.sh
53
53
sudo chmod +x ./llvm.sh
54
54
sudo ./llvm.sh 18
55
+ echo "/usr/lib/llvm-18/bin" >> $GITHUB_PATH
55
56
shell : bash
56
57
- name : Install compiler
57
58
id : install_cc
@@ -319,6 +320,7 @@ jobs:
319
320
PARALLEL: ${{ env.PARALLEL }}
320
321
# Append custom commands here
321
322
run : |
323
+ export PATH=/usr/lib/llvm-18/bin:$PATH
322
324
make artifact
323
325
make $PARALLEL
324
326
make check $PARALLEL
@@ -342,6 +344,7 @@ jobs:
342
344
brew install make dtc expect sdl2 sdl2_mixer bc e2fsprogs p7zip llvm@18 dcfldd
343
345
.ci/riscv-toolchain-install.sh
344
346
echo "${{ github.workspace }}/toolchain/bin" >> $GITHUB_PATH
347
+ echo "$(brew --prefix llvm@18)/bin" >> $GITHUB_PATH
345
348
- name : Install compiler
346
349
id : install_cc
347
350
uses : rlalik/setup-cpp-compiler@master
Original file line number Diff line number Diff line change @@ -115,6 +115,9 @@ ENABLE_EXT_F ?= 1
115
115
$(call set-feature, EXT_F)
116
116
ifeq ($(call has, EXT_F) , 1)
117
117
AR := ar
118
+ ifeq ("$(CC_IS_CLANG ) ", "1")
119
+ AR = llvm-ar
120
+ endif
118
121
ifeq ("$(CC_IS_EMCC ) ", "1")
119
122
AR = emar
120
123
endif
You can’t perform that action at this time.
0 commit comments