Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed Jun 11, 2024
1 parent 7940012 commit 78e7d40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,12 @@ jobs:
- name: Install llvm
run: |
brew install llvm
export PATH="/usr/local/opt/llvm/bin:$PATH"
echo "Install llvm succeed!"
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
LLVM_AR_PATH=$(which llvm-ar)
echo "LLVM_AR_PATH: ${LLVM_AR_PATH}"
XCODE_DEV_PATH=$(xcode-select -p)
echo "XCODE_DEV_PATH: ${XCODE_DEV_PATH}"
sudo ln -s ${LLVM_AR_PATH} ${XCODE_DEV_PATH}/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-ar
- name: Build ${{ matrix.arch }}
Expand Down

0 comments on commit 78e7d40

Please sign in to comment.