浏览代码

Use LLVM-18 on FreeBSD

gingerBill 5 月之前
父节点
当前提交
f13fc27ae0
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 1 1
      .github/workflows/ci.yml
  2. 4 4
      .github/workflows/nightly.yml

+ 1 - 1
.github/workflows/ci.yml

@@ -52,7 +52,7 @@ jobs:
         usesh: true
         copyback: false
         prepare: |
-          pkg install -y gmake git bash python3 libxml2 llvm20
+          pkg install -y gmake git bash python3 libxml2 llvm18
         run: |
           # `set -e` is needed for test failures to register. https://github.com/vmactions/freebsd-vm/issues/72
           set -e -x

+ 4 - 4
.github/workflows/nightly.yml

@@ -93,8 +93,8 @@ jobs:
       - uses: actions/checkout@v4
       - name: Download LLVM and setup PATH
         run: |
-          brew install llvm@20 dylibbundler
-          echo "/usr/local/opt/llvm@20/bin" >> $GITHUB_PATH
+          brew install llvm@18 dylibbundler
+          echo "/usr/local/opt/llvm@18/bin" >> $GITHUB_PATH
       - name: build odin
         # These -L makes the linker prioritize system libraries over LLVM libraries, this is mainly to
         # not link with libunwind bundled with LLVM but link with libunwind on the system.
@@ -130,8 +130,8 @@ jobs:
       - uses: actions/checkout@v4
       - name: Download LLVM and setup PATH
         run: |
-          brew install llvm@20 dylibbundler
-          echo "/opt/homebrew/opt/llvm@20/bin" >> $GITHUB_PATH
+          brew install llvm@18 dylibbundler
+          echo "/opt/homebrew/opt/llvm@18/bin" >> $GITHUB_PATH
       - name: build odin
         # These -L makes the linker prioritize system libraries over LLVM libraries, this is mainly to
         # not link with libunwind bundled with LLVM but link with libunwind on the system.