mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
ci: fix macos llvm 20
This commit is contained in:
@@ -93,14 +93,14 @@ jobs:
|
|||||||
- name: Download LLVM (MacOS Intel)
|
- name: Download LLVM (MacOS Intel)
|
||||||
if: matrix.os == 'macos-13'
|
if: matrix.os == 'macos-13'
|
||||||
run: |
|
run: |
|
||||||
brew install llvm@20 lua@5.4 lld
|
brew install llvm lua@5.4 lld
|
||||||
echo "/usr/local/opt/llvm@20/bin" >> $GITHUB_PATH
|
brew --prefix llvm@20 # Verifies it is LLVM 20
|
||||||
|
|
||||||
- name: Download LLVM (MacOS ARM)
|
- name: Download LLVM (MacOS ARM)
|
||||||
if: matrix.os == 'macos-14'
|
if: matrix.os == 'macos-14'
|
||||||
run: |
|
run: |
|
||||||
brew install llvm@20 wasmtime lua@5.4 lld
|
brew install llvm wasmtime lua@5.4 lld
|
||||||
echo "/opt/homebrew/opt/llvm@20/bin" >> $GITHUB_PATH
|
brew --prefix llvm@20 # Verifies it is LLVM 20
|
||||||
|
|
||||||
- name: Build Odin
|
- name: Build Odin
|
||||||
run: ./build_odin.sh release
|
run: ./build_odin.sh release
|
||||||
|
|||||||
@@ -93,8 +93,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Download LLVM and setup PATH
|
- name: Download LLVM and setup PATH
|
||||||
run: |
|
run: |
|
||||||
brew install llvm@20 dylibbundler lld
|
brew install llvm dylibbundler lld
|
||||||
echo "/usr/local/opt/llvm@20/bin" >> $GITHUB_PATH
|
brew --prefix llvm@20 # Verifies it is LLVM 20
|
||||||
|
|
||||||
- name: build odin
|
- name: build odin
|
||||||
# These -L makes the linker prioritize system libraries over LLVM libraries, this is mainly to
|
# 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.
|
# not link with libunwind bundled with LLVM but link with libunwind on the system.
|
||||||
@@ -130,8 +131,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Download LLVM and setup PATH
|
- name: Download LLVM and setup PATH
|
||||||
run: |
|
run: |
|
||||||
brew install llvm@20 dylibbundler lld
|
brew install llvm dylibbundler lld
|
||||||
echo "/opt/homebrew/opt/llvm@20/bin" >> $GITHUB_PATH
|
brew --prefix llvm@20 # Verifies it is LLVM 20
|
||||||
|
|
||||||
- name: build odin
|
- name: build odin
|
||||||
# These -L makes the linker prioritize system libraries over LLVM libraries, this is mainly to
|
# 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.
|
# not link with libunwind bundled with LLVM but link with libunwind on the system.
|
||||||
|
|||||||
Reference in New Issue
Block a user