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 5252 wget https://apt.llvm.org/llvm.sh
5353 sudo chmod +x ./llvm.sh
5454 sudo ./llvm.sh 18
55+ echo "/usr/lib/llvm-18/bin" >> $GITHUB_PATH
5556 shell : bash
5657 - name : Install compiler
5758 id : install_cc
@@ -319,6 +320,7 @@ jobs:
319320 PARALLEL: ${{ env.PARALLEL }}
320321 # Append custom commands here
321322 run : |
323+ export PATH=/usr/lib/llvm-18/bin:$PATH
322324 make artifact
323325 make $PARALLEL
324326 make check $PARALLEL
@@ -342,6 +344,7 @@ jobs:
342344 brew install make dtc expect sdl2 sdl2_mixer bc e2fsprogs p7zip llvm@18 dcfldd
343345 .ci/riscv-toolchain-install.sh
344346 echo "${{ github.workspace }}/toolchain/bin" >> $GITHUB_PATH
347+ echo "$(brew --prefix llvm@18)/bin" >> $GITHUB_PATH
345348 - name : Install compiler
346349 id : install_cc
347350 uses : rlalik/setup-cpp-compiler@master
Original file line number Diff line number Diff line change @@ -115,6 +115,9 @@ ENABLE_EXT_F ?= 1
115115$(call set-feature, EXT_F)
116116ifeq ($(call has, EXT_F) , 1)
117117AR := ar
118+ ifeq ("$(CC_IS_CLANG ) ", "1")
119+ AR = llvm-ar
120+ endif
118121ifeq ("$(CC_IS_EMCC ) ", "1")
119122AR = emar
120123endif
You can’t perform that action at this time.
0 commit comments