Skip to content

Commit

Permalink
arrow: use clang from llvm installation to avoid stack probing issue …
Browse files Browse the repository at this point in the history
…with llvm@18
  • Loading branch information
aalkin committed Aug 15, 2024
1 parent 60d32d5 commit 895054f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion arrow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,16 @@ rsync -a --exclude='**/.git' --delete --delete-excluded "$SOURCEDIR/" ./src_tmp/

case $ARCHITECTURE in
osx*)
CLANG_EXECUTABLE=/usr/bin/clang
# use default llvm from homebrew if available
if [ -d `brew --prefix llvm` ]; then
CLANG_EXECUTABLE=`brew --prefix llvm`/bin/clang
else
# fall back to llvm@17
if [ -d `brew --prefix llvm`@17 ]; then
CLANG_EXECUTABLE=`brew --prefix llvm`@17/bin/clang
fi

fi
;;
*)
CLANG_EXECUTABLE=${CLANG_ROOT}/bin-safe/clang
Expand Down

0 comments on commit 895054f

Please sign in to comment.