@@ -148,9 +148,9 @@ jobs:
148148 sudo apt-get update
149149 sudo apt-get install -y liblzma-dev
150150
151- - name : Install liblzma ( macOS)
151+ - name : Install macOS dependencies
152152 if : ${{ runner.os == 'macOS' && steps.ccache-cache.outputs.cache-hit != 'true' }}
153- run : brew install xz
153+ run : brew install llvm@18 xz
154154
155155 - name : Install liblzma (Windows)
156156 if : ${{ matrix.os == 'windows-latest' && steps.ccache-cache.outputs.cache-hit != 'true' }}
@@ -159,7 +159,7 @@ jobs:
159159 - name : Set LLVM_ROOT (macOS)
160160 if : ${{ runner.os == 'macOS' && steps.ccache-cache.outputs.cache-hit != 'true' }}
161161 shell : bash
162- run : echo "LLVM_ROOT_PARAM=-DLLVM_ROOT=$(brew --prefix llvm)" >> "$GITHUB_ENV"
162+ run : echo "LLVM_ROOT_PARAM=-DLLVM_ROOT=$(brew --prefix llvm@18 )" >> "$GITHUB_ENV"
163163
164164 - name : Configure cmake
165165 if : steps.ccache-cache.outputs.cache-hit != 'true'
@@ -210,7 +210,7 @@ jobs:
210210 shell : bash
211211 run : |
212212 if [[ "$RUNNER_OS" == "macOS" ]]; then
213- brew install ccache
213+ brew install ccache llvm@18
214214 else
215215 sudo apt-get update && sudo apt-get install -y ccache
216216 fi
@@ -503,10 +503,10 @@ jobs:
503503 sudo apt-get update
504504 sudo apt-get install -y liblzma-dev
505505
506- - name : Install liblzma (MacOS)
506+ - name : Install macOS dependencies
507507 if : ${{ matrix.os == 'macos-latest' }}
508508 run : |
509- brew install xz
509+ brew install llvm@18 xz
510510
511511 - name : Install liblzma (Windows)
512512 if : ${{ matrix.os == 'windows-latest' }}
0 commit comments