Skip to content

Commit 775cb27

Browse files
Change LLVM installation to version 19 for macOS
brew install llvm (unpinned, latest = 23.1.1) has no Homebrew bottle for Intel macOS or macOS 14, so it was silently falling back to building LLVM from source
1 parent dcfb0f2 commit 775cb27

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/test-and-publish.yaml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,12 @@ jobs:
256256
brew update || true # allow failure
257257
brew install cmake pkg-config wget unzip coreutils # `coreutils` installs the `realpath` command
258258
# Xcode's bundled clang is older than SpiderMonkey's own
259-
# minimum (>=19) -- same fix as setup.sh's macOS branch.
260-
brew install llvm
261-
echo "PATH=$(brew --prefix llvm)/bin:$PATH" >> $GITHUB_ENV
259+
# minimum (>=19) -- same fix as setup.sh's macOS branch. Pinned
260+
# to llvm@19: the unversioned `llvm` formula (currently 23.x)
261+
# has no bottle for Intel macOS or macOS 14, so it silently
262+
# falls back to a multi-hour from-source build here.
263+
brew install llvm@19
264+
echo "PATH=$(brew --prefix llvm@19)/bin:$PATH" >> $GITHUB_ENV
262265
fi
263266
echo "Installing python deps"
264267
poetry self add "poetry-dynamic-versioning[plugin]"

0 commit comments

Comments
 (0)