Bump llvm to 13

This commit is contained in:
Julian Ospald 2023-12-04 21:39:43 +08:00
parent bfe56aed1f
commit 7d0ba7fc62
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43

View File

@ -189,13 +189,13 @@ jobs:
- if: matrix.ARCH == 'ARM64' && runner.os == 'macOS' - if: matrix.ARCH == 'ARM64' && runner.os == 'macOS'
name: Run build name: Run build
run: | run: |
bash .github/scripts/brew.sh git coreutils llvm@11 autoconf automake bash .github/scripts/brew.sh git coreutils llvm@13 autoconf automake
export PATH="$HOME/.brew/bin:$HOME/.brew/sbin:$HOME/.brew/opt/llvm@11/bin:$PATH" export PATH="$HOME/.brew/bin:$HOME/.brew/sbin:$HOME/.brew/opt/llvm@13/bin:$PATH"
export CC="$HOME/.brew/opt/llvm@11/bin/clang" export CC="$HOME/.brew/opt/llvm@13/bin/clang"
export CXX="$HOME/.brew/opt/llvm@11/bin/clang++" export CXX="$HOME/.brew/opt/llvm@13/bin/clang++"
export LD=ld export LD=ld
export AR="$HOME/.brew/opt/llvm@11/bin/llvm-ar" export AR="$HOME/.brew/opt/llvm@13/bin/llvm-ar"
export RANLIB="$HOME/.brew/opt/llvm@11/bin/llvm-ranlib" export RANLIB="$HOME/.brew/opt/llvm@13/bin/llvm-ranlib"
bash .github/scripts/build.sh bash .github/scripts/build.sh
env: env:
ARTIFACT: ${{ matrix.ARTIFACT }} ARTIFACT: ${{ matrix.ARTIFACT }}