Skip to content

Commit 4c3a0a7

Browse files
committed
WIP: Try LLVM 19 on macOS
1 parent 71a8069 commit 4c3a0a7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ jobs:
9191
# prepare environment for the following steps
9292
source $HOME/.cargo/env
9393
# print some useful info to help troubleshoot
94-
brew info llvm@17
94+
brew info llvm@19
9595
which python3
9696
/usr/bin/env python3 -c "import sys; print(sys.path)"
9797
9898
- name: cargo build --release
9999
run: |
100-
export LLVM_CONFIG_PATH=$(brew --prefix llvm@17)/bin/llvm-config
100+
export LLVM_CONFIG_PATH=$(brew --prefix llvm@19)/bin/llvm-config
101101
export RUSTFLAGS="-D warnings"
102102
export RUSTDOCFLAGS="-D warnings"
103103
# Don't build with `--all-features` (see analogous step for Linux).

scripts/provision_mac.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ done
1717
SCRIPT_DIR="$(dirname "$0")"
1818
export HOMEBREW_NO_AUTO_UPDATE=1
1919

20-
# NOTE: Pin LLVM to a known good version since new releases
21-
# tend not to be backwards compatible
2220
# `bash` needed b/c macOS ships with bash 3, which doesn't support arrays properly
23-
brew install -q python cmake ninja gpg llvm@17 bash
21+
brew install -q python cmake ninja gpg llvm@19 bash
2422

2523
# Python 3 packages
2624
python3 -m pip install --break-system-packages --user --upgrade pip

0 commit comments

Comments
 (0)