diff --git a/arrow.sh b/arrow.sh index d1b1661750..49b22845a3 100644 --- a/arrow.sh +++ b/arrow.sh @@ -65,6 +65,10 @@ case $ARCHITECTURE in if [ -d "$(brew --prefix llvm)" ]; then CLANG_EXECUTABLE="$(brew --prefix llvm)/bin/clang" else + # fall back to llvm@18 + if [ -d "$(brew --prefix llvm)@18" ]; then + CLANG_EXECUTABLE="$(brew --prefix llvm)@18/bin/clang" + fi # fall back to llvm@17 if [ -d "$(brew --prefix llvm)@17" ]; then CLANG_EXECUTABLE="$(brew --prefix llvm)@17/bin/clang"