Skip to content

Commit b0e0cf4

Browse files
pepicrftclaude
andcommitted
fix(ci): Install LLVM on macOS for libclang dependency
librocksdb-sys and rquickjs require libclang for building. On macOS runners, LLVM is not installed by default, causing the build to fail with 'Library not loaded: libclang.dylib'. This adds a step to install LLVM via Homebrew and sets the LIBCLANG_PATH environment variable. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e962595 commit b0e0cf4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,13 @@ jobs:
170170
# Verify installation
171171
ls -la $HOME/.local/bin/protoc*
172172
173+
- name: Install LLVM (macOS)
174+
if: runner.os == 'macOS'
175+
run: |
176+
brew install llvm
177+
echo "LIBCLANG_PATH=$(brew --prefix llvm)/lib" >> $GITHUB_ENV
178+
echo "LLVM_CONFIG_PATH=$(brew --prefix llvm)/bin/llvm-config" >> $GITHUB_ENV
179+
173180
- name: Install cross-compilation tools (Linux)
174181
if: runner.os == 'Linux'
175182
run: |

0 commit comments

Comments
 (0)